ffmpeg2theora-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: ffmpeg2theora
  2. Version: 0.28
  3. Release: 1%{?_dist_release}
  4. Summary: Convert any file that ffmpeg can decode to theora
  5. Summary(ja): ffmpeg がデコード可能なファイルを theora に変換するツール
  6. Source0: http://www.v2v.cc/~j/ffmpeg2theora/downloads/%{name}-%{version}.tar.bz2
  7. License: GPLv2+
  8. Group: Applications/Multimedia
  9. URL: http://www.v2v.cc/~j/ffmpeg2theora/
  10. BuildRequires: scons
  11. BuildRequires: libogg-devel >= 1.1
  12. BuildRequires: libtheora-devel >= 1.1.0
  13. BuildRequires: 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 >= 0.6.1
  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. the idea is to provide ffmpeg2theora as a binary
  23. along sites like v2v.cc to enable as many people as possible
  24. to encode video clips with the same settings.
  25. %description -l ja
  26. ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル
  27. でも theora 形式に変換できます。現状、設定情報はハードコードされて
  28. います。
  29. %prep
  30. %setup -q
  31. %build
  32. scons APPEND_CCFLAGS="$RPM_OPT_FLAGS"
  33. %install
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix}
  36. %__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man1
  37. %__mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1
  38. %__rm -rf $RPM_BUILD_ROOT%{_prefix}/man
  39. %clean
  40. %__rm -rf ${RPM_BUILD_ROOT}
  41. %files
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  44. %{_bindir}/ffmpeg2theora
  45. %{_mandir}/man1/ffmpeg2theora.1.gz
  46. %changelog
  47. * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-1
  48. - new upstream release
  49. - License: GPLv2+
  50. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1
  51. - new upstream release
  52. - fixed the location of %%Source0
  53. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
  54. - change release to sync with self-build-ffmpeg2theora
  55. * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1
  56. - new upstream release
  57. - with recent ffmpeg
  58. * Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1
  59. - new upstream release
  60. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2
  61. - change release to sync with self-build-ffmpeg2theora
  62. * Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1
  63. - new upstream release
  64. - dropped ffmpeg2theora-0.20-new_ffmpeg.patch
  65. - added BuildRequires: scons
  66. * Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2
  67. - spec in utf8
  68. * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1
  69. - initial build for Vine Linux