e5155a
#define gitdate 20140411
e5155a
#define gitrev  b9c068896914b4132a24839c9ef7f9fcd6282d88
e5155a
e5155a
Name:           libpciaccess
e5155a
Version:        0.14
e5155a
Release:        1%{?dist}
e5155a
Summary:        PCI access library
e5155a
e5155a
Group:          System Environment/Libraries
e5155a
License:        MIT
e5155a
URL:            https://www.x.org/
e5155a
e5155a
# git snapshot.  To recreate, run
e5155a
# % ./make-libpciaccess-snapshot.sh %{gitrev}
e5155a
#Source0:        libpciaccess-%{gitdate}.tar.bz2
e5155a
Source0:	https://www.x.org/archive/individual/lib/%{name}-%{version}.tar.bz2
e5155a
Source1:        make-libpciaccess-snapshot.sh
e5155a
e5155a
Patch2:		libpciaccess-rom-size.patch
e5155a
e5155a
BuildRequires:  autoconf automake libtool pkgconfig xorg-x11-util-macros
e5155a
Requires:       hwdata
e5155a
e5155a
%description
e5155a
libpciaccess is a library for portable PCI access routines across multiple
e5155a
operating systems.
e5155a
e5155a
%package devel
e5155a
Summary:        PCI access library development package
e5155a
Group:          Development/Libraries
e5155a
Requires:       %{name} = %{version}-%{release}
e5155a
Requires:       pkgconfig
e5155a
e5155a
%description devel
e5155a
Development package for libpciaccess.
e5155a
e5155a
%prep
e5155a
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
e5155a
%patch2 -p1 -b .rom-size
e5155a
e5155a
%build
e5155a
autoreconf -v --install
e5155a
%configure --disable-static
e5155a
%make_build
e5155a
e5155a
%install
e5155a
%make_install
e5155a
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
e5155a
e5155a
%ldconfig_scriptlets
e5155a
e5155a
%files
e5155a
%license COPYING
e5155a
%doc AUTHORS
e5155a
%{_libdir}/libpciaccess.so.0
e5155a
%{_libdir}/libpciaccess.so.0.11.*
e5155a
e5155a
%files devel
e5155a
%{_includedir}/pciaccess.h
e5155a
%{_libdir}/libpciaccess.so
e5155a
%{_libdir}/pkgconfig/pciaccess.pc
e5155a
e5155a
%changelog
e5155a
* Wed Apr 04 2018 Adam Jackson <ajax@redhat.com> - 0.14-1
e5155a
- libpciaccess 0.14
e5155a
e5155a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-8
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e5155a
e5155a
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.4-7
e5155a
- Switch to %%ldconfig_scriptlets
e5155a
e5155a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-6
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e5155a
e5155a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-5
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e5155a
e5155a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-4
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e5155a
e5155a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-3
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e5155a
e5155a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-2
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e5155a
e5155a
* Fri May 01 2015 Adam Jackson <ajax@redhat.com> 0.13.4-1
e5155a
- libpciaccess 0.13.4
e5155a
e5155a
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.3-0.3
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e5155a
e5155a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.3-0.2
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e5155a
e5155a
* Fri Apr 11 2014 Adam Jackson <ajax@redhat.com> 0.13.3-0.1
e5155a
- New git snapshot.
e5155a
e5155a
* Mon Dec 09 2013 Adam Jackson <ajax@redhat.com> 0.13.2-1
e5155a
- libpciaccess 0.13.2 (#987367)
e5155a
e5155a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-4
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e5155a
e5155a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-3
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e5155a
e5155a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-2
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e5155a
e5155a
* Tue Apr 10 2012 Adam Jackson <ajax@redhat.com> 0.13.1-1
e5155a
- libpciaccess 0.13.1
e5155a
e5155a
* Wed Mar 28 2012 Adam Jackson <ajax@redhat.com> 0.13-2
e5155a
- libpciaccess-macros.patch: Fix out* macros again
e5155a
e5155a
* Wed Mar 28 2012 Adam Jackson <ajax@redhat.com> 0.13-1
e5155a
- libpciaccess 0.13
e5155a
e5155a
* Wed Feb 29 2012 Dan Horák <dan[at]danny.cz> - 0.12.902-6
e5155a
- fix the out[bwl] compatibility macros
e5155a
e5155a
* Thu Feb 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.12.902-5
e5155a
- Add ARM arch to libpciaccess-lol-dev-port patch
e5155a
e5155a
* Wed Feb 08 2012 Adam Jackson <ajax@redhat.com> 0.12.902-4
e5155a
- libpciaccess-lol-dev-port.patch: Don't use /dev/port since the kernel insists
e5155a
  that it remain unusably broken.
e5155a
e5155a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.902-3
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e5155a
e5155a
* Mon Nov 28 2011 Daniel Drake <dsd@laptop.org> 0.12.902-2
e5155a
- Add upstream patch to fix ios deletion; fixes X crash on OLPC XO-1.5
e5155a
e5155a
* Wed Nov 09 2011 Adam Jackson <ajax@redhat.com> 0.12.902-1
e5155a
- libpciaccess 0.12.902
e5155a
e5155a
* Wed Nov 09 2011 Peter Hutterer <peter.hutterer@redhat.com> 0.12.901-1
e5155a
- Today's git snapshot
e5155a
e5155a
* Wed Feb 09 2011 Adam Jackson <ajax@redhat.com> 0.12.1-1
e5155a
- libpciaccess 0.12.1
e5155a
e5155a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-2
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e5155a
e5155a
* Wed Jul 21 2010 Dave Airlie <airlied@redhat.com> 0.12.0-1
e5155a
- libpciaccess 0.12
e5155a
e5155a
* Tue Mar 16 2010 Adam Jackson <ajax@redhat.com> 0.11.0-1
e5155a
- libpciaccess 0.11
e5155a
e5155a
* Wed Dec 09 2009 Adam Jackson <ajax@redhat.com> 0.10.9-2.20091209
e5155a
- New git snapshot
e5155a
- Drop the fd cache patch
e5155a
e5155a
* Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 0.10.9-1
e5155a
- rebase to latest upstream release - drop patches
e5155a
e5155a
* Thu Aug 06 2009 Dave Airlie <airlied@redhat.com> 0.10.6-7
e5155a
- disable rom reading fallbacks
e5155a
e5155a
* Wed Aug 05 2009 Adam Jackson <ajax@redhat.com> 0.10.6-6
e5155a
- D'oh.  Fix obvious sense inversion in the previous patch.
e5155a
e5155a
* Wed Aug 05 2009 Adam Jackson <ajax@redhat.com> 0.10.6-5
e5155a
- libpciaccess-0.10.6-rom-sanity.patch: If we hit the /dev/mem path for
e5155a
  reading a device's ROM, verify that it looks like it at least might belong
e5155a
  to the device in question by checking vendor and device ID match.  Fixes
e5155a
  vbetool post hanging forever (and thus blocking boot) on some dual-gpu
e5155a
  laptops.
e5155a
e5155a
* Mon Aug 03 2009 Dave Airlie <airlied@redhat.com> 0.10.6-4
e5155a
- Add support for default vga arb device selection
e5155a
- Update libpciaccess VGA arb code for newer kernel API
e5155a
e5155a
* Fri Jul 31 2009 Dave Airlie <airlied@redhat.com> 0.10.6-3
e5155a
- enable autoreconf to rebuild configure properly
e5155a
e5155a
* Fri Jul 31 2009 Dave Airlie <airlied@redhat.com> 0.10.6-2
e5155a
- libpciaccess-vga-arbiter.patch: add vga arbiter support to libpciaccess
e5155a
e5155a
* Mon Jul 27 2009 Dave Airlie <airlied@redhat.com> 0.10.6-1
e5155a
- rebase to latest release (will do release with VGA bits later)
e5155a
- libpciaccess-boot-vga.patch: add boot vga patch from upstream
e5155a
e5155a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-2
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e5155a
e5155a
* Tue Apr 21 2009 Adam Jackson <ajax@redhat.com> 0.10.5-1
e5155a
- libpciaccess 0.10.5
e5155a
e5155a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-6
e5155a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e5155a
e5155a
* Sun Feb 15 2009 Kristian Høgsberg <krh@redhat.com> - 0.10.3-5
e5155a
- Unbreak the rom-size patch.
e5155a
e5155a
* Sun Feb 15 2009 Kristian Høgsberg <krh@redhat.com> - 0.10.3-4
e5155a
- Don't read more than the advertised rom_size.
e5155a
e5155a
* Thu Aug 28 2008 Adam Jackson <ajax@redhat.com> 0.10.3-3
e5155a
- Rediff for --fuzz=0
e5155a
e5155a
* Wed Jul 02 2008 Adam Jackson <ajax@redhat.com> 0.10.3-2
e5155a
- Fix file access mode in config fd cache. (#452910)
e5155a
e5155a
* Tue Jul 01 2008 Adam Jackson <ajax@redhat.com> 0.10.3-1
e5155a
- libpciaccess 0.10.3
e5155a
e5155a
* Tue May 20 2008 Adam Jackson <ajax@redhat.com> 0.10-3
e5155a
- libpciaccess-no-pci-fix.patch: Fix init when /sys/bus/pci is empty or
e5155a
  nonexistent.
e5155a
e5155a
* Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2
e5155a
- fix major problem with libpciaccess and write combining.
e5155a
e5155a
* Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1
e5155a
- libpciaccess 0.10
e5155a
e5155a
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031
e5155a
- Autorebuild for GCC 4.3
e5155a
e5155a
* Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031
e5155a
- libpciaccess-fd-cache.patch: Cache sysfs PCI config space file
e5155a
  descriptors for great boot speed justice.
e5155a
e5155a
* Wed Oct 31 2007 Kristian Høgsberg <krh@redhat.com> 0.9.1-2.20071031
e5155a
- New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
e5155a
- Pick up new .so file.
e5155a
e5155a
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
e5155a
- libpciaccess 0.9.1
e5155a
e5155a
* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
e5155a
- New snapshot.
e5155a
e5155a
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
e5155a
- Rebuild for PPC toolchain bug
e5155a
e5155a
* Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
e5155a
- New snapshot.  Adds VGA ROM support.
e5155a
e5155a
* Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
e5155a
- Initial revision.