libpciaccess-vl.spec 5.2 KB

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