libXvMC-vl.spec 6.4 KB

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