libXvMC-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. Summary: X.Org X11 libXvMC runtime library
  2. Summary(ja): X.Org X11 libXvMC ランタイムライブラリ
  3. Name: libXvMC
  4. Version: 1.0.11
  5. Release: 1%{?_dist_release}
  6. License: MIT/X11
  7. Group: System Environment/Libraries
  8. URL: http://www.x.org
  9. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: pkgconfig
  12. BuildRequires: xorg-x11-proto-devel
  13. BuildRequires: xorg-x11-util-macros
  14. BuildRequires: libX11-devel
  15. BuildRequires: libXext-devel
  16. BuildRequires: libXv-devel
  17. Obsoletes: XFree86-libs, XOrg-libs
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. X.Org X11 libXvMC runtime library
  22. %package devel
  23. Summary: X.Org X11 libXvMC development package
  24. Summary(ja): X.Org X11 libXvMC 開発パッケージ
  25. Group: Development/Libraries
  26. Requires(pre): xorg-x11-filesystem
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: libXv-devel, xorg-x11-proto-devel
  29. Obsoletes: XFree86-devel, XOrg-devel
  30. %description devel
  31. X.Org X11 libXvMC development package
  32. %prep
  33. %setup -q
  34. # Disable static library creation by default.
  35. %define with_static 0
  36. %build
  37. %configure \
  38. %if ! %{with_static}
  39. --disable-static
  40. %endif
  41. make
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install DESTDIR=$RPM_BUILD_ROOT
  45. # Touch XvMCConfig for rpm to package the ghost file. (#192254)
  46. {
  47. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11
  48. touch $RPM_BUILD_ROOT%{_sysconfdir}/X11/XvMCConfig
  49. }
  50. # We intentionally don't ship *.la files
  51. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  52. # remove xml and txt file
  53. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root,-)
  60. %license COPYING
  61. %doc AUTHORS README ChangeLog
  62. %{_libdir}/libXvMC.so.1
  63. %{_libdir}/libXvMC.so.1.0.0
  64. %{_libdir}/libXvMCW.so.1
  65. %{_libdir}/libXvMCW.so.1.0.0
  66. %ghost %config(missingok,noreplace) %verify (not md5 size mtime) %{_sysconfdir}/X11/XvMCConfig
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %dir %{_includedir}/X11
  70. %dir %{_includedir}/X11/extensions
  71. %{_includedir}/X11/extensions/XvMClib.h
  72. %if %{with_static}
  73. %{_libdir}/libXvMC.a
  74. %{_libdir}/libXvMCW.a
  75. %endif
  76. %{_libdir}/libXvMC.so
  77. %{_libdir}/libXvMCW.so
  78. %{_libdir}/pkgconfig/xvmc.pc
  79. %changelog
  80. * Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.11-1
  81. - new upstream release.
  82. * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  83. - new upstream release
  84. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
  85. - rebuild with VineSeed environment
  86. * Mon Aug 12 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  87. - new upstream release
  88. - remove Patch0 (libXvMC-1.0.7-git20130524.patch)
  89. * Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
  90. - add Patch0 (libXvMC-1.0.7-git20130524.patch)
  91. (including security fix for CVE-2013-1990,1999)
  92. - add BuildRequires: autoconf, xorg-x11-util-macros
  93. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  94. - new upstream release
  95. - add BuildRequires: xorg-x11-util-macros
  96. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  97. - new upstream release
  98. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-2
  99. - rebuild with rpm-4.8.1 for pkg-config file
  100. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  101. - new upstream release
  102. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2
  103. - spec in utf-8
  104. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  105. - new versioning policy
  106. * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  107. - initial build for Vine Linux
  108. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
  109. - Rebuild for build id
  110. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
  111. - Don't install INSTALL
  112. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
  113. - Update to 1.0.4
  114. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1
  115. - Update to 1.0.3
  116. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
  117. - rebuild
  118. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  119. - Added "BuildRequires: pkgconfig" for (#193506)
  120. - Replace "makeinstall" with "make install DESTDIR=..."
  121. - Touch XvMCConfig during install phase, and add to file manifest as a ghost
  122. file, so that it is owned by the package if the user creates it. (#192254)
  123. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  124. - Update to 1.0.2. Drop #180902 patch, already fixed upstream.
  125. * Tue Feb 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
  126. - Added libXvMC-1.0.1-libXvMC-XConfigDir-fix-bug180902.patch to fix (#180902)
  127. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-2.2
  128. - bump again for double-long bug on ppc(64)
  129. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-2.1
  130. - rebuilt for new gcc4.1 snapshot and glibc changes
  131. * Tue Jan 31 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  132. - Added "Requires: libXv-devel, xorg-x11-proto-devel" to fix (#176862)
  133. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  134. - Updated libXvMC to version 1.0.1 from X11R7.0
  135. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  136. - Updated libXvMC to version 1.0.0 from X11R7 RC4
  137. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  138. - Updated libXvMC to version 0.99.2 from X11R7 RC3
  139. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  140. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  141. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  142. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  143. - rebuilt
  144. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  145. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  146. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  147. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  148. - Updated libXvMC to version 0.99.1 from X11R7 RC1
  149. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  150. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  151. between developers.
  152. - Use Fedora Extras style BuildRoot tag.
  153. - Disable static library creation by default.
  154. - Add missing defattr to devel subpackage
  155. - Add missing documentation files to doc macro
  156. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  157. - Renamed package to prepend "xorg-x11" to the name for consistency with
  158. the rest of the X11R7 packages.
  159. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  160. subpackage to ensure the devel package matches the installed shared libs.
  161. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  162. allow applications to use implementation agnostic dependencies.
  163. - Added post/postun scripts which call ldconfig.
  164. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  165. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  166. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  167. - Initial build.