%define gitdate 20071031 %define gitrev e392082abb5696c8837224da86cc0af4f21d7010 Name: libpciaccess Version: 0.10.3 Release: 6%{?dist} Summary: PCI access library Group: System Environment/Libraries License: MIT URL: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git # git snapshot. To recreate, run # % ./make-libpciaccess-snapshot.sh %{gitrev} #Source0: libpciaccess-20071031.tar.bz2 Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 Source1: make-libpciaccess-snapshot.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: libpciaccess-fd-cache.patch Patch1: libpciaccess-kludge-wc-mmap.patch Patch2: libpciaccess-rom-size.patch BuildRequires: autoconf automake libtool pkgconfig Requires: hwdata %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}-%{release} Requires: pkgconfig %description devel Development package for libpciaccess. %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .cache %patch1 -p1 -b .wc %patch2 -p1 -b .rom-size %build #autoreconf -v --install %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING AUTHORS ChangeLog %{_libdir}/libpciaccess.so.0 %{_libdir}/libpciaccess.so.0.10.* %files devel %defattr(-,root,root,-) %{_includedir}/pciaccess.h %{_libdir}/libpciaccess.so %{_libdir}/pkgconfig/pciaccess.pc %changelog * Wed Feb 25 2009 Fedora Release Engineering - 0.10.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 15 2009 Kristian Høgsberg - 0.10.3-5 - Unbreak the rom-size patch. * Sun Feb 15 2009 Kristian Høgsberg - 0.10.3-4 - Don't read more than the advertised rom_size. * Thu Aug 28 2008 Adam Jackson 0.10.3-3 - Rediff for --fuzz=0 * Wed Jul 02 2008 Adam Jackson 0.10.3-2 - Fix file access mode in config fd cache. (#452910) * Tue Jul 01 2008 Adam Jackson 0.10.3-1 - libpciaccess 0.10.3 * Tue May 20 2008 Adam Jackson 0.10-3 - libpciaccess-no-pci-fix.patch: Fix init when /sys/bus/pci is empty or nonexistent. * Mon Apr 21 2008 Dave Airlie 0.10-2 - fix major problem with libpciaccess and write combining. * Thu Mar 06 2008 Adam Jackson 0.10-1 - libpciaccess 0.10 * Mon Feb 18 2008 Fedora Release Engineering - 0.9.1-4.20071031 - Autorebuild for GCC 4.3 * Wed Jan 23 2008 Adam Jackson 0.9.1-3.20071031 - libpciaccess-fd-cache.patch: Cache sysfs PCI config space file descriptors for great boot speed justice. * Wed Oct 31 2007 Kristian Høgsberg 0.9.1-2.20071031 - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010. - Pick up new .so file. * Mon Sep 24 2007 Adam Jackson 0.9.1-1 - libpciaccess 0.9.1 * Mon Aug 27 2007 Adam Jackson 0.8-0.4.20070827git - New snapshot. * Fri Aug 24 2007 Adam Jackson 0.8-0.3.20070712git - Rebuild for PPC toolchain bug * Thu Jul 12 2007 Adam Jackson 0.8-0.2.20070712git - New snapshot. Adds VGA ROM support. * Thu May 24 2007 Adam Jackson 0.8-0.1.20070524git - Initial revision.