source: projects/specs/trunk/lib/libp/libpciaccess/libpciaccess-vl.spec @ 12185

Revision 12185, 5.3 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

Line 
1%define build_compat32  %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libpciaccess
4Summary:        PCI access library
5Summary(ja):    PCI アクセスライブラリ
6Version:        0.16
7Release:        1%{?_dist_release}
8
9Group:          System Environment/Libraries
10License:        MIT
11URL:            http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git
12
13Source0:        https://www.x.org/archive//individual/lib/%{name}-%{version}.tar.bz2
14Source1:        make-libpciaccess-snapshot.sh
15
16Patch2:         libpciaccess-0.14-rom-size.patch
17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires:  autoconf automake libtool pkgconfig
20BuildRequires:  xorg-x11-util-macros
21Requires:       hwdata
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26
27%description
28libpciaccess is a library for portable PCI access routines across multiple
29operating systems.
30
31%package devel
32Summary:        PCI access library development package
33Summary(ja):    PCI access library 開発パッケージ
34Group:          Development/Libraries
35Requires:       %{name} = %{version}-%{release}
36Requires:       pkgconfig
37
38%description devel
39Development package for libpciaccess.
40
41
42# compat32
43%package -n compat32-%{name}
44Summary:        PCI access library
45Summary(ja):    PCI アクセスライブラリ
46Group:          System Environment/Libraries
47Requires:       %{name} = %{version}-%{release}
48
49%description -n compat32-%{name}
50libpciaccess is a library for portable PCI access routines across multiple
51operating systems.
52
53%package -n compat32-%{name}-devel
54Summary:        PCI access library development package
55Summary(ja):    PCI access library 開発パッケージ
56Group:          Development/Libraries
57Requires:       %{name}-devel = %{version}-%{release}
58Requires:       pkgconfig
59
60%description -n compat32-%{name}-devel
61Development package for libpciaccess.
62
63
64%prep
65%setup -q -n %{name}-%{version}
66%patch2 -p1 -b .rom-size
67
68%build
69##autoreconf -v --install
70autoreconf -fi
71%configure --disable-static
72make %{?_smp_mflags}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76make install DESTDIR=$RPM_BUILD_ROOT
77rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(-,root,root,-)
87%license COPYING
88%doc AUTHORS ChangeLog
89%{_libdir}/libpciaccess.so.*
90
91%files devel
92%defattr(-,root,root,-)
93%{_includedir}/pciaccess.h
94%{_libdir}/libpciaccess.so
95%{_libdir}/pkgconfig/pciaccess.pc
96
97# compat32
98%if %{build_compat32}
99%files -n compat32-%{name}
100%defattr(-,root,root,-)
101%{_libdir}/libpciaccess.so.*
102
103%files -n compat32-%{name}-devel
104%defattr(-,root,root,-)
105%{_libdir}/libpciaccess.so
106%endif
107
108%changelog
109* Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.16-1
110- new upstream release.
111
112* Thu Feb 15 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-1
113- new upstream release
114- update patch2
115- drop patch1 (is included in new release)
116
117* Sun May 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.4-1
118- new upstream release
119
120* Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.3-1
121- new upstream release
122
123* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-2
124- rebuild with VineSeed environment
125
126* Mon Aug 12 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1
127- new upstream release
128
129* Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.1-1
130- new upstream release
131
132* Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-1
133- new upstream release
134
135* Sat Jul 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-2
136- create compat32 sub packages
137
138* Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
139- new upstream release
140
141* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-2
142- rebuild with rpm-4.8.1 for pkg-config file
143
144* Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.0-1
145- new upstream release
146- Drop the fd cache patch
147- added Patch2 from Fedora
148
149* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.9-1
150- new upstream release
151
152* Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
153- new upstream release
154
155* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.3-1
156- new upstream release
157
158* Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10-1
159- initial build for Vine Linux
160
161* Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2
162- fix major problem with libpciaccess and write combining.
163
164* Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1
165- libpciaccess 0.10
166
167* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031
168- Autorebuild for GCC 4.3
169
170* Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031
171- libpciaccess-fd-cache.patch: Cache sysfs PCI config space file
172  descriptors for great boot speed justice.
173
174* Wed Oct 31 2007 Kristian H淡gsberg <krh@redhat.com> 0.9.1-2.20071031
175- New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
176- Pick up new .so file.
177
178* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
179- libpciaccess 0.9.1
180
181* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
182- New snapshot.
183
184* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
185- Rebuild for PPC toolchain bug
186
187* Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
188- New snapshot.  Adds VGA ROM support.
189
190* Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
191- Initial revision.
Note: See TracBrowser for help on using the repository browser.