libpciaccess-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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.17
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: MIT
  11. URL: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git
  12. Source0: https://www.x.org/archive/individual/lib/%{name}-%{version}.tar.xz
  13. Source1: make-libpciaccess-snapshot.sh
  14. Patch2: libpciaccess-0.14-rom-size.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: autoconf automake libtool pkgconfig
  17. BuildRequires: xorg-x11-util-macros
  18. Requires: hwdata
  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: programming
  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,legacy
  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: programming,legacy
  43. Requires: %{name}-devel = %{version}-%{release}
  44. Requires: pkgconfig
  45. %description -n compat32-%{name}-devel
  46. Development package for libpciaccess.
  47. %debug_package
  48. %prep
  49. %setup -q -n %{name}-%{version}
  50. %patch2 -p1 -b .rom-size
  51. %build
  52. ##autoreconf -v --install
  53. autoreconf -fi
  54. %configure --disable-static
  55. make %{?_smp_mflags}
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. make install DESTDIR=$RPM_BUILD_ROOT
  59. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %files
  63. %defattr(-,root,root,-)
  64. %license COPYING
  65. %doc 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 Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.17-1
  83. - new upstream release.
  84. * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.16-2
  85. - rebuilt with current environment.
  86. - dropped ldconfig scriptlets.
  87. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.16-1
  88. - new upstream release.
  89. * Thu Feb 15 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-1
  90. - new upstream release
  91. - update patch2
  92. - drop patch1 (is included in new release)
  93. * Sun May 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.4-1
  94. - new upstream release
  95. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.3-1
  96. - new upstream release
  97. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-2
  98. - rebuild with VineSeed environment
  99. * Mon Aug 12 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1
  100. - new upstream release
  101. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.1-1
  102. - new upstream release
  103. * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-1
  104. - new upstream release
  105. * Sat Jul 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-2
  106. - create compat32 sub packages
  107. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  108. - new upstream release
  109. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-2
  110. - rebuild with rpm-4.8.1 for pkg-config file
  111. * Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.0-1
  112. - new upstream release
  113. - Drop the fd cache patch
  114. - added Patch2 from Fedora
  115. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.9-1
  116. - new upstream release
  117. * Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
  118. - new upstream release
  119. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.3-1
  120. - new upstream release
  121. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10-1
  122. - initial build for Vine Linux
  123. * Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2
  124. - fix major problem with libpciaccess and write combining.
  125. * Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1
  126. - libpciaccess 0.10
  127. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031
  128. - Autorebuild for GCC 4.3
  129. * Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031
  130. - libpciaccess-fd-cache.patch: Cache sysfs PCI config space file
  131. descriptors for great boot speed justice.
  132. * Wed Oct 31 2007 Kristian H淡gsberg <krh@redhat.com> 0.9.1-2.20071031
  133. - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
  134. - Pick up new .so file.
  135. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
  136. - libpciaccess 0.9.1
  137. * Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
  138. - New snapshot.
  139. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
  140. - Rebuild for PPC toolchain bug
  141. * Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
  142. - New snapshot. Adds VGA ROM support.
  143. * Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
  144. - Initial revision.