diff options
Diffstat (limited to 'packaging/libpciaccess.spec')
-rw-r--r-- | packaging/libpciaccess.spec | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec new file mode 100644 index 0000000..9fbd4a4 --- /dev/null +++ b/packaging/libpciaccess.spec @@ -0,0 +1,62 @@ +# +# Please submit bugfixes or comments via http://bugs.tizen.org/ +# + +Name: libpciaccess +Version: 0.13.1 +Release: 1 +License: MIT +Summary: PCI access library +Url: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git +Group: System Environment/Libraries +Source: %{name}-%{version}.tar.bz2 + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(xorg-macros) +BuildRequires: pkgconfig(zlib) + +%description +libpciaccess is a library for portable PCI access routines across multiple +operating systems. + +%package devel +Summary: PCI access library development package +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: pkgconfig + +%description devel +Development package for libpciaccess. + +%prep +%setup -q + +%build +%reconfigure --disable-static \ + --with-pciids-path=%{_datadir}/misc --with-zlib \ + LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" +make %{?_smp_mflags} + +%install +%make_install + +%remove_docs + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING AUTHORS +%{_libdir}/libpciaccess.so.0 +%{_libdir}/libpciaccess.so.0.11.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/pciaccess.h +%{_libdir}/libpciaccess.so +%{_libdir}/pkgconfig/pciaccess.pc |