ffmpeg2theora-vl.spec 2.4 KB

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