ffmpeg2theora-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. %define pkg_version 0.27
  2. %define pkg_release 1%{?_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/downloads/%{name}-%{version}.tar.bz2
  9. Patch0: ffmpeg2theora-0.27-ldflags.patch
  10. License: GPL
  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.6.1
  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.
  26. %description -l ja
  27. ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル
  28. でも theora 形式に変換できます。現状、設定情報はハードコードされて
  29. います。
  30. %prep
  31. %setup -q
  32. %patch0 -p1 -b .ldflags
  33. %build
  34. scons APPEND_CCFLAGS="$RPM_OPT_FLAGS"
  35. %install
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. scons install destdir=$RPM_BUILD_ROOT prefix=%{_prefix}
  38. %__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man1
  39. %__mv $RPM_BUILD_ROOT%{_prefix}/man/man1/ffmpeg2theora.1 $RPM_BUILD_ROOT%{_mandir}/man1
  40. %__rm -rf $RPM_BUILD_ROOT%{_prefix}/man
  41. %clean
  42. %__rm -rf ${RPM_BUILD_ROOT}
  43. %files
  44. %defattr(-,root,root)
  45. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  46. %{_bindir}/ffmpeg2theora
  47. %{_mandir}/man1/ffmpeg2theora.1.gz
  48. %changelog
  49. * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1
  50. - new upstream release
  51. - fixed the location of %%Source0
  52. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
  53. - change release to sync with self-build-ffmpeg2theora
  54. * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1
  55. - new upstream release
  56. - with recent ffmpeg
  57. * Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1
  58. - new upstream release
  59. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2
  60. - change release to sync with self-build-ffmpeg2theora
  61. * Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1
  62. - new upstream release
  63. - dropped ffmpeg2theora-0.20-new_ffmpeg.patch
  64. - added BuildRequires: scons
  65. * Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2
  66. - spec in utf8
  67. * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1
  68. - initial build for Vine Linux