[615] | 1 | %define pkg_version 0.25 |
---|
| 2 | %define pkg_release 2%{?_dist_release} |
---|
| 3 | |
---|
| 4 | Summary: Convert any file that ffmpeg can decode to theora |
---|
| 5 | Summary(ja): ffmpeg がデコード可能なファイルを theora に変換するツール |
---|
| 6 | Name: ffmpeg2theora |
---|
| 7 | Version: %{pkg_version} |
---|
| 8 | Release: %{pkg_release} |
---|
| 9 | Source0: http://www.v2v.cc/~j/ffmpeg2theora/%{name}-%{version}.tar.bz2 |
---|
| 10 | License: GPL |
---|
| 11 | Group: Applications/Multimedia |
---|
| 12 | URL: http://www.v2v.cc/~j/ffmpeg2theora/ |
---|
| 13 | |
---|
| 14 | BuildRequires: scons |
---|
| 15 | BuildRequires: libogg-devel, libtheora-devel, libvorbis-devel |
---|
| 16 | ### *-devel pacages provided by other self-build-* should only be listed |
---|
| 17 | ### in self-build-%{name}.spec as PreReq. |
---|
| 18 | # |
---|
| 19 | # BuildRequires: ffmpeg-devel |
---|
| 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | with ffmpeg2theora you can convert any file that ffmpeg can |
---|
| 25 | decode to theora. right now the settings are hardcoded into |
---|
| 26 | the binary. |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル |
---|
| 30 | でも theora 形式に変換できます。現状、設定情報はハードコードされて |
---|
| 31 | います。 |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | scons APPEND_CCFLAGS="$RPM_OPT_FLAGS" |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 45 | scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix} |
---|
| 46 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
| 47 | mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
| 48 | rm -rf $RPM_BUILD_ROOT%{_prefix}/man |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %files |
---|
| 56 | %defattr(-,root,root) |
---|
| 57 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
| 58 | %{_bindir}/ffmpeg2theora |
---|
| 59 | %{_mandir}/man1/ffmpeg2theora.1.gz |
---|
| 60 | |
---|
| 61 | %changelog |
---|
| 62 | * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2 |
---|
| 63 | - change release to sync with self-build-ffmpeg2theora |
---|
| 64 | |
---|
| 65 | * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1 |
---|
| 66 | - new upstream release |
---|
| 67 | - with recent ffmpeg |
---|
| 68 | |
---|
| 69 | * Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
| 72 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2 |
---|
| 73 | - change release to sync with self-build-ffmpeg2theora |
---|
| 74 | |
---|
| 75 | * Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1 |
---|
| 76 | - new upstream release |
---|
| 77 | - dropped ffmpeg2theora-0.20-new_ffmpeg.patch |
---|
| 78 | - added BuildRequires: scons |
---|
| 79 | |
---|
| 80 | * Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2 |
---|
| 81 | - spec in utf8 |
---|
| 82 | |
---|
| 83 | * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1 |
---|
| 84 | - initial build for Vine Linux |
---|