libpciaccess-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: libpciaccess
  2. Summary: PCI access library
  3. Summary(ja): PCI アクセスライブラリ
  4. Version: 0.12.1
  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. autoreconf -fi
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc COPYING AUTHORS ChangeLog
  48. %{_libdir}/libpciaccess.so.*
  49. %files devel
  50. %defattr(-,root,root,-)
  51. %{_includedir}/pciaccess.h
  52. %{_libdir}/libpciaccess.so
  53. %{_libdir}/pkgconfig/pciaccess.pc
  54. %changelog
  55. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  56. - new upstream release
  57. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-2
  58. - rebuild with rpm-4.8.1 for pkg-config file
  59. * Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.0-1
  60. - new upstream release
  61. - Drop the fd cache patch
  62. - added Patch2 from Fedora
  63. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.9-1
  64. - new upstream release
  65. * Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
  66. - new upstream release
  67. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.3-1
  68. - new upstream release
  69. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10-1
  70. - initial build for Vine Linux
  71. * Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2
  72. - fix major problem with libpciaccess and write combining.
  73. * Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1
  74. - libpciaccess 0.10
  75. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031
  76. - Autorebuild for GCC 4.3
  77. * Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031
  78. - libpciaccess-fd-cache.patch: Cache sysfs PCI config space file
  79. descriptors for great boot speed justice.
  80. * Wed Oct 31 2007 Kristian H淡gsberg <krh@redhat.com> 0.9.1-2.20071031
  81. - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
  82. - Pick up new .so file.
  83. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
  84. - libpciaccess 0.9.1
  85. * Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
  86. - New snapshot.
  87. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
  88. - Rebuild for PPC toolchain bug
  89. * Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
  90. - New snapshot. Adds VGA ROM support.
  91. * Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
  92. - Initial revision.