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