libpciaccess-vl.spec 3.1 KB

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