libpciaccess-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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.16
  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: https://www.x.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. %license COPYING
  66. %doc AUTHORS ChangeLog
  67. %{_libdir}/libpciaccess.so.*
  68. %files devel
  69. %defattr(-,root,root,-)
  70. %{_includedir}/pciaccess.h
  71. %{_libdir}/libpciaccess.so
  72. %{_libdir}/pkgconfig/pciaccess.pc
  73. # compat32
  74. %if %{build_compat32}
  75. %files -n compat32-%{name}
  76. %defattr(-,root,root,-)
  77. %{_libdir}/libpciaccess.so.*
  78. %files -n compat32-%{name}-devel
  79. %defattr(-,root,root,-)
  80. %{_libdir}/libpciaccess.so
  81. %endif
  82. %changelog
  83. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.16-1
  84. - new upstream release.
  85. * Thu Feb 15 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-1
  86. - new upstream release
  87. - update patch2
  88. - drop patch1 (is included in new release)
  89. * Sun May 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.4-1
  90. - new upstream release
  91. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.3-1
  92. - new upstream release
  93. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-2
  94. - rebuild with VineSeed environment
  95. * Mon Aug 12 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1
  96. - new upstream release
  97. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.1-1
  98. - new upstream release
  99. * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-1
  100. - new upstream release
  101. * Sat Jul 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-2
  102. - create compat32 sub packages
  103. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  104. - new upstream release
  105. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-2
  106. - rebuild with rpm-4.8.1 for pkg-config file
  107. * Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.0-1
  108. - new upstream release
  109. - Drop the fd cache patch
  110. - added Patch2 from Fedora
  111. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.9-1
  112. - new upstream release
  113. * Mon Oct 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
  114. - new upstream release
  115. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.3-1
  116. - new upstream release
  117. * Mon May 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10-1
  118. - initial build for Vine Linux
  119. * Mon Apr 21 2008 Dave Airlie <airlied@redhat.com> 0.10-2
  120. - fix major problem with libpciaccess and write combining.
  121. * Thu Mar 06 2008 Adam Jackson <ajax@redhat.com> 0.10-1
  122. - libpciaccess 0.10
  123. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4.20071031
  124. - Autorebuild for GCC 4.3
  125. * Wed Jan 23 2008 Adam Jackson <ajax@redhat.com> 0.9.1-3.20071031
  126. - libpciaccess-fd-cache.patch: Cache sysfs PCI config space file
  127. descriptors for great boot speed justice.
  128. * Wed Oct 31 2007 Kristian H淡gsberg <krh@redhat.com> 0.9.1-2.20071031
  129. - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
  130. - Pick up new .so file.
  131. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
  132. - libpciaccess 0.9.1
  133. * Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.8-0.4.20070827git
  134. - New snapshot.
  135. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.3.20070712git
  136. - Rebuild for PPC toolchain bug
  137. * Thu Jul 12 2007 Adam Jackson <ajax@redhat.com> 0.8-0.2.20070712git
  138. - New snapshot. Adds VGA ROM support.
  139. * Thu May 24 2007 Adam Jackson <ajax@redhat.com> 0.8-0.1.20070524git
  140. - Initial revision.