[6411] | 1 | %global posttag svn18423 |
---|
[5297] | 2 | Name: ffmpeg2theora |
---|
| 3 | Version: 0.28 |
---|
[6411] | 4 | Release: 2%{?posttag:.%{posttag}}%{?_dist_release} |
---|
[615] | 5 | Summary: Convert any file that ffmpeg can decode to theora |
---|
| 6 | Summary(ja): ffmpeg がデコード可能なファイルを theora に変換するツール |
---|
[3143] | 7 | Source0: http://www.v2v.cc/~j/ffmpeg2theora/downloads/%{name}-%{version}.tar.bz2 |
---|
[6411] | 8 | Source10: ffmpeg2theora-snapshot.sh |
---|
| 9 | Patch0: ffmpeg2theora-0.28+%{posttag}.patch |
---|
[5297] | 10 | License: GPLv2+ |
---|
[615] | 11 | Group: Applications/Multimedia |
---|
| 12 | URL: http://www.v2v.cc/~j/ffmpeg2theora/ |
---|
| 13 | |
---|
| 14 | BuildRequires: scons |
---|
[3143] | 15 | BuildRequires: libogg-devel >= 1.1 |
---|
| 16 | BuildRequires: libtheora-devel >= 1.1.0 |
---|
| 17 | BuildRequires: libvorbis-devel |
---|
[615] | 18 | ### *-devel pacages provided by other self-build-* should only be listed |
---|
| 19 | ### in self-build-%{name}.spec as PreReq. |
---|
| 20 | # |
---|
[6411] | 21 | # BuildRequires: ffmpeg-devel >= 0.10 |
---|
[615] | 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
[5297] | 26 | With ffmpeg2theora you can convert any file that ffmpeg can |
---|
[615] | 27 | decode to theora. right now the settings are hardcoded into |
---|
[5297] | 28 | the binary. the idea is to provide ffmpeg2theora as a binary |
---|
| 29 | along sites like v2v.cc to enable as many people as possible |
---|
| 30 | to encode video clips with the same settings. |
---|
[615] | 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル |
---|
| 34 | でも theora 形式に変換できます。現状、設定情報はハードコードされて |
---|
| 35 | います。 |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
[6411] | 41 | %patch0 -p1 -b .orig |
---|
[615] | 42 | |
---|
| 43 | %build |
---|
| 44 | scons APPEND_CCFLAGS="$RPM_OPT_FLAGS" |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 49 | scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix} |
---|
[3143] | 50 | %__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
| 51 | %__mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
| 52 | %__rm -rf $RPM_BUILD_ROOT%{_prefix}/man |
---|
[615] | 53 | |
---|
| 54 | |
---|
| 55 | %clean |
---|
[3143] | 56 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
[615] | 57 | |
---|
| 58 | |
---|
| 59 | %files |
---|
| 60 | %defattr(-,root,root) |
---|
| 61 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
| 62 | %{_bindir}/ffmpeg2theora |
---|
| 63 | %{_mandir}/man1/ffmpeg2theora.1.gz |
---|
| 64 | |
---|
| 65 | %changelog |
---|
[6411] | 66 | * Sat Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-2.svn18423 |
---|
| 67 | - update to the latest upstream commit |
---|
| 68 | - for ffmpeg 0.10 compatibility |
---|
| 69 | |
---|
[5297] | 70 | * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-1 |
---|
| 71 | - new upstream release |
---|
| 72 | - License: GPLv2+ |
---|
| 73 | |
---|
[3143] | 74 | * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1 |
---|
| 75 | - new upstream release |
---|
| 76 | - fixed the location of %%Source0 |
---|
| 77 | |
---|
[615] | 78 | * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2 |
---|
| 79 | - change release to sync with self-build-ffmpeg2theora |
---|
| 80 | |
---|
| 81 | * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1 |
---|
| 82 | - new upstream release |
---|
| 83 | - with recent ffmpeg |
---|
| 84 | |
---|
| 85 | * Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
| 88 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2 |
---|
| 89 | - change release to sync with self-build-ffmpeg2theora |
---|
| 90 | |
---|
| 91 | * Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1 |
---|
| 92 | - new upstream release |
---|
| 93 | - dropped ffmpeg2theora-0.20-new_ffmpeg.patch |
---|
| 94 | - added BuildRequires: scons |
---|
| 95 | |
---|
| 96 | * Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2 |
---|
| 97 | - spec in utf8 |
---|
| 98 | |
---|
| 99 | * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1 |
---|
| 100 | - initial build for Vine Linux |
---|