mplayer-codecs-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. %define name mplayer-codecs
  2. %define version 20071007
  3. %define release 6%{?_dist_release}
  4. Summary: Binary codecs used with MPlayer
  5. Summary(ja): MPlayer で使用するバイナリ Codec
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. %ifarch %{ix86}
  10. Source0: ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/essential-%{version}.tar.bz2
  11. %endif
  12. %ifarch ppc
  13. Source0: ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/essential-ppc-%{version}.tar.bz2
  14. %endif
  15. %ifarch x86_64
  16. Source0: ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-%{version}.tar.bz2
  17. %endif
  18. License: GPL
  19. Group: Applications/Multimedia
  20. URL: http://www.mplayerhq.hu/
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. %description
  23. Binary codec packages add support for codecs that are not yet implemented
  24. natively, like newer RealVideo variants and a lot of uncommon formats.
  25. Note that they are not necessary to play most common formats like DVDs,
  26. MPEG-1/2/4, etc.
  27. %description -l ja
  28. バイナリ Codec パッケージは、最新の RealVideo やその他の特殊なフォーマット
  29. のような mplayer 単体ではまだ対応していないフォーマットを再生できるように
  30. します。
  31. ただし DVD や MPEG-1/2/4 のように一般的なフォーマットを再生する場合には、
  32. このパッケージは必要ありません。
  33. %prep
  34. %ifarch %{ix86}
  35. %setup -q -n essential-%{version}
  36. %endif
  37. %ifarch ppc
  38. %setup -q -n essential-ppc-%{version}
  39. %endif
  40. %ifarch x86_64
  41. %setup -q -n essential-amd64-%{version}
  42. %endif
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__install} -d -m 755 ${RPM_BUILD_ROOT}%{_libdir}/codecs
  46. %{__install} -m 644 * ${RPM_BUILD_ROOT}%{_libdir}/codecs
  47. %clean
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %files
  50. %defattr(-,root,root)
  51. %{_libdir}/codecs
  52. %changelog
  53. * Sun Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 20071007-6
  54. - change release to sync with self-build-mplayer-codecs
  55. * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20071007-5
  56. - added Requires: libstdc++3
  57. * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20071007-4
  58. - change release to sync with self-build-mplayer-codecs
  59. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20071007-3
  60. - change release to sync with self-build-mplayer-codecs
  61. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20071007-2
  62. - spec in utf8
  63. - fixed %%release for new versioning policy in mplayer-codecs.spec
  64. - dropped ttfontdir variable in mplayer-codecs.spec
  65. * Fri Jan 18 2008 Kazutaka HARADA <Kazutaka HARADA> 20071007-0vl1
  66. - initial build for Vine Linux