ffmpeg2theora-vl.spec 3.0 KB

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