1 | Name: libpciaccess |
---|
2 | Summary: PCI access library |
---|
3 | Summary(ja): PCI アクセスライブラリ |
---|
4 | Version: 0.12.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: MIT |
---|
9 | URL: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git |
---|
10 | |
---|
11 | Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 |
---|
12 | Source1: make-libpciaccess-snapshot.sh |
---|
13 | |
---|
14 | Patch1: libpciaccess-kludge-wc-mmap.patch |
---|
15 | Patch2: libpciaccess-rom-size.patch |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
18 | BuildRequires: autoconf automake libtool pkgconfig |
---|
19 | BuildRequires: xorg-x11-util-macros |
---|
20 | Requires: hwdata |
---|
21 | |
---|
22 | %description |
---|
23 | libpciaccess is a library for portable PCI access routines across multiple |
---|
24 | operating systems. |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: PCI access library development package |
---|
28 | Summary(ja): PCI access library 開発パッケージ |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: pkgconfig |
---|
32 | |
---|
33 | %description devel |
---|
34 | Development package for libpciaccess. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q -n %{name}-%{version} |
---|
38 | %patch1 -p1 -b .wc |
---|
39 | %patch2 -p1 -b .rom-size |
---|
40 | |
---|
41 | %build |
---|
42 | autoreconf -v --install |
---|
43 | %configure --disable-static |
---|
44 | make %{?_smp_mflags} |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
49 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | %post -p /sbin/ldconfig |
---|
55 | %postun -p /sbin/ldconfig |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-,root,root,-) |
---|
59 | %doc COPYING AUTHORS ChangeLog |
---|
60 | %{_libdir}/libpciaccess.so.* |
---|
61 | |
---|
62 | %files devel |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %{_includedir}/pciaccess.h |
---|
65 | %{_libdir}/libpciaccess.so |
---|
66 | %{_libdir}/pkgconfig/pciaccess.pc |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.0-1 |
---|
70 | - new upstream release |
---|
71 | - Drop the fd cache patch |
---|
72 | - added Patch2 from Fedora |
---|
73 | |
---|
74 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.9-1 |
---|
75 | - new upstream release |
---|
76 | |
---|
77 | * Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1 |
---|
78 | - new upstream release |
---|
79 | |
---|
80 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.3-1 |
---|
81 | - new upstream release |
---|
82 | |
---|
83 | * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10-1 |
---|
84 | - initial build for Vine Linux |
---|
85 | |
---|
86 | * Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2 |
---|
87 | - fix major problem with libpciaccess and write combining. |
---|
88 | |
---|
89 | * Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1 |
---|
90 | - libpciaccess 0.10 |
---|
91 | |
---|
92 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031 |
---|
93 | - Autorebuild for GCC 4.3 |
---|
94 | |
---|
95 | * Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031 |
---|
96 | - libpciaccess-fd-cache.patch: Cache sysfs PCI config space file |
---|
97 | descriptors for great boot speed justice. |
---|
98 | |
---|
99 | * Wed Oct 31 2007 Kristian H淡gsberg <krh@redhat.com> 0.9.1-2.20071031 |
---|
100 | - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010. |
---|
101 | - Pick up new .so file. |
---|
102 | |
---|
103 | * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1 |
---|
104 | - libpciaccess 0.9.1 |
---|
105 | |
---|
106 | * Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git |
---|
107 | - New snapshot. |
---|
108 | |
---|
109 | * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git |
---|
110 | - Rebuild for PPC toolchain bug |
---|
111 | |
---|
112 | * Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git |
---|
113 | - New snapshot. Adds VGA ROM support. |
---|
114 | |
---|
115 | * Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git |
---|
116 | - Initial revision. |
---|