libXvMC-vl.spec 6.1 KB

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