%define pkg_version 0.25 %define pkg_release 2%{?_dist_release} Summary: Convert any file that ffmpeg can decode to theora Summary(ja): ffmpeg がデコード可能なファイルを theora に変換するツール Name: ffmpeg2theora Version: %{pkg_version} Release: %{pkg_release} Source0: http://www.v2v.cc/~j/ffmpeg2theora/%{name}-%{version}.tar.bz2 License: GPL Group: Applications/Multimedia URL: http://www.v2v.cc/~j/ffmpeg2theora/ BuildRequires: scons BuildRequires: libogg-devel, libtheora-devel, libvorbis-devel ### *-devel pacages provided by other self-build-* should only be listed ### in self-build-%{name}.spec as PreReq. # # BuildRequires: ffmpeg-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description with ffmpeg2theora you can convert any file that ffmpeg can decode to theora. right now the settings are hardcoded into the binary. %description -l ja ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル でも theora 形式に変換できます。現状、設定情報はハードコードされて います。 %prep %setup -q %build scons APPEND_CCFLAGS="$RPM_OPT_FLAGS" %install %{__rm} -rf ${RPM_BUILD_ROOT} scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1 rm -rf $RPM_BUILD_ROOT%{_prefix}/man %clean %{__rm} -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/ffmpeg2theora %{_mandir}/man1/ffmpeg2theora.1.gz %changelog * Sat Mar 20 2010 Munehiro Yamamoto 0.25-2 - change release to sync with self-build-ffmpeg2theora * Thu Feb 18 2010 Munehiro Yamamoto 0.25-1 - new upstream release - with recent ffmpeg * Sat Jun 20 2009 Munehiro Yamamoto 0.24-1 - new upstream release * Tue May 26 2009 Munehiro Yamamoto 0.23-2 - change release to sync with self-build-ffmpeg2theora * Wed Feb 04 2009 Munehiro Yamamoto 0.23-1 - new upstream release - dropped ffmpeg2theora-0.20-new_ffmpeg.patch - added BuildRequires: scons * Sat May 17 2008 Munehiro Yamamoto 0.20-2 - spec in utf8 * Sat May 17 2008 Kazutaka HARADA 0.20-1 - initial build for Vine Linux