blob: 9fbd4a4346a99bdd6b7480d7211ee8c4776b9777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
|