libpciaccess-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libpciaccess
  3. Summary: PCI access library
  4. Summary(ja): PCI アクセスライブラリ
  5. Version: 0.13.4
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: MIT
  9. URL: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git
  10. Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
  11. Source1: make-libpciaccess-snapshot.sh
  12. Patch1: libpciaccess-kludge-wc-mmap.patch
  13. Patch2: libpciaccess-rom-size.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: autoconf automake libtool pkgconfig
  16. BuildRequires: xorg-x11-util-macros
  17. Requires: hwdata
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. libpciaccess is a library for portable PCI access routines across multiple
  22. operating systems.
  23. %package devel
  24. Summary: PCI access library development package
  25. Summary(ja): PCI access library 開発パッケージ
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. Development package for libpciaccess.
  31. # compat32
  32. %package -n compat32-%{name}
  33. Summary: PCI access library
  34. Summary(ja): PCI アクセスライブラリ
  35. Group: System Environment/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. %description -n compat32-%{name}
  38. libpciaccess is a library for portable PCI access routines across multiple
  39. operating systems.
  40. %package -n compat32-%{name}-devel
  41. Summary: PCI access library development package
  42. Summary(ja): PCI access library 開発パッケージ
  43. Group: Development/Libraries
  44. Requires: %{name}-devel = %{version}-%{release}
  45. Requires: pkgconfig
  46. %description -n compat32-%{name}-devel
  47. Development package for libpciaccess.
  48. %prep
  49. %setup -q -n %{name}-%{version}
  50. %patch1 -p1 -b .wc
  51. %patch2 -p1 -b .rom-size
  52. %build
  53. ##autoreconf -v --install
  54. autoreconf -fi
  55. %configure --disable-static
  56. make %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT
  60. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root,-)
  67. %doc COPYING AUTHORS ChangeLog
  68. %{_libdir}/libpciaccess.so.*
  69. %files devel
  70. %defattr(-,root,root,-)
  71. %{_includedir}/pciaccess.h
  72. %{_libdir}/libpciaccess.so
  73. %{_libdir}/pkgconfig/pciaccess.pc
  74. # compat32
  75. %if %{build_compat32}
  76. %files -n compat32-%{name}
  77. %defattr(-,root,root,-)
  78. %{_libdir}/libpciaccess.so.*
  79. %files -n compat32-%{name}-devel
  80. %defattr(-,root,root,-)
  81. %{_libdir}/libpciaccess.so
  82. %endif
  83. %changelog
  84. * Sun May 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.4-1
  85. - new upstream release
  86. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.3-1
  87. - new upstream release
  88. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-2
  89. - rebuild with VineSeed environment
  90. * Mon Aug 12 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1
  91. - new upstream release
  92. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.1-1
  93. - new upstream release
  94. * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-1
  95. - new upstream release
  96. * Sat Jul 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-2
  97. - create compat32 sub packages
  98. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  99. - new upstream release
  100. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-2
  101. - rebuild with rpm-4.8.1 for pkg-config file
  102. * Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.0-1
  103. - new upstream release
  104. - Drop the fd cache patch
  105. - added Patch2 from Fedora
  106. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.9-1
  107. - new upstream release
  108. * Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
  109. - new upstream release
  110. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.3-1
  111. - new upstream release
  112. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10-1
  113. - initial build for Vine Linux
  114. * Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2
  115. - fix major problem with libpciaccess and write combining.
  116. * Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1
  117. - libpciaccess 0.10
  118. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031
  119. - Autorebuild for GCC 4.3
  120. * Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031
  121. - libpciaccess-fd-cache.patch: Cache sysfs PCI config space file
  122. descriptors for great boot speed justice.
  123. * Wed Oct 31 2007 Kristian H淡gsberg <krh@redhat.com> 0.9.1-2.20071031
  124. - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
  125. - Pick up new .so file.
  126. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
  127. - libpciaccess 0.9.1
  128. * Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
  129. - New snapshot.
  130. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
  131. - Rebuild for PPC toolchain bug
  132. * Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
  133. - New snapshot. Adds VGA ROM support.
  134. * Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
  135. - Initial revision.