ffmpeg2theora-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #% global posttag svn18423
  2. Name: ffmpeg2theora
  3. Version: 0.29
  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. * Sun Sep 29 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.29-2
  52. - rebuilt with ffmpeg-1.2.3
  53. * Mon Feb 4 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.29-1
  54. - new upstream release
  55. * Sat Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-2.svn18423
  56. - update to the latest upstream commit
  57. - for ffmpeg 0.10 compatibility
  58. * Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-1
  59. - new upstream release
  60. - License: GPLv2+
  61. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1
  62. - new upstream release
  63. - fixed the location of %%Source0
  64. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
  65. - change release to sync with self-build-ffmpeg2theora
  66. * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1
  67. - new upstream release
  68. - with recent ffmpeg
  69. * Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1
  70. - new upstream release
  71. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2
  72. - change release to sync with self-build-ffmpeg2theora
  73. * Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1
  74. - new upstream release
  75. - dropped ffmpeg2theora-0.20-new_ffmpeg.patch
  76. - added BuildRequires: scons
  77. * Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2
  78. - spec in utf8
  79. * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1
  80. - initial build for Vine Linux