7 Summary: PCI access library
8 Url: http://cgit.freedesktop.org/xorg/lib/libpciaccess/
9 Group: Base/Device Management
10 Source: %{name}-%{version}.tar.bz2
11 Source1001: libpciaccess.manifest
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: pkgconfig
17 BuildRequires: pkgconfig(zlib)
18 BuildRequires: pkgconfig(xorg-macros) >= 1.8
21 libpciaccess is a library for portable PCI access routines across multiple
25 Summary: PCI access library development package
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
31 libpciaccess is a library for portable PCI access routines across multiple
34 This package contains development files needed to develop with the
44 export CFLAGS="$CFLAGS -w"
45 export CFLAGS="-O2 -g2 -pipe -w -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fmessage-length=0 -Wl,--as-needed -Wl,-z,relro"
46 %configure --disable-static \
47 --with-pciids-path=%{_datadir}/misc --with-zlib
56 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
61 %manifest %{name}.manifest
62 %defattr(-,root,root,-)
63 %{_libdir}/libpciaccess.so.*
67 %manifest %{name}.manifest
68 %defattr(-,root,root,-)
69 %{_includedir}/pciaccess.h
70 %{_libdir}/libpciaccess.so
71 %{_libdir}/pkgconfig/pciaccess.pc