libpciaccess-vl.spec 3.2 KB

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