source: projects/specs/branches/6/nonfree/self-build-ffmpeg2theora/ffmpeg2theora-vl.spec @ 3143

Revision 3143, 2.6 KB checked in by munepi, 13 years ago (diff)

updated self-build-gstreamer-plugins-ffmpeg self-build-kino self-build-gstreamer-plugins-bad self-build-gstreamer-plugins-ugly self-build-ffmpeg2theora

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