source: projects/specs/trunk/nonfree/self-build-ffmpeg2theora/ffmpeg2theora-vl.spec @ 6411

Revision 6411, 3.0 KB checked in by munepi, 12 years ago (diff)

update to the latest upstream commit

Line 
1%global posttag svn18423
2Name:           ffmpeg2theora
3Version:        0.28
4Release:        2%{?posttag:.%{posttag}}%{?_dist_release}
5Summary:        Convert any file that ffmpeg can decode to theora
6Summary(ja):    ffmpeg がデコード可能なファイルを theora に変換するツール
7Source0:        http://www.v2v.cc/~j/ffmpeg2theora/downloads/%{name}-%{version}.tar.bz2
8Source10:       ffmpeg2theora-snapshot.sh
9Patch0:         ffmpeg2theora-0.28+%{posttag}.patch
10License:        GPLv2+
11Group:          Applications/Multimedia
12URL:            http://www.v2v.cc/~j/ffmpeg2theora/
13
14BuildRequires:  scons
15BuildRequires:  libogg-devel >= 1.1
16BuildRequires:  libtheora-devel >= 1.1.0
17BuildRequires:  libvorbis-devel
18### *-devel pacages provided by other self-build-* should only be listed
19### in self-build-%{name}.spec as PreReq.
20#
21# BuildRequires:        ffmpeg-devel >= 0.10
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24
25%description
26With ffmpeg2theora you can convert any file that ffmpeg can
27decode to theora. right now the settings are hardcoded into
28the binary. the idea is to provide ffmpeg2theora as a binary
29along sites like v2v.cc to enable as many people as possible
30to encode video clips with the same settings.
31
32%description -l ja
33ffmpeg2theora を使えば ffmpeg がデコードできるどんな種類のファイル
34でも theora 形式に変換できます。現状、設定情報はハードコードされて
35います。
36
37
38%prep
39%setup -q
40
41%patch0 -p1 -b .orig
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 Jun 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-2.svn18423
67- update to the latest upstream commit
68  - for ffmpeg 0.10 compatibility
69
70* Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.28-1
71- new upstream release
72- License: GPLv2+
73
74* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.27-1
75- new upstream release
76- fixed the location of %%Source0
77
78* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-2
79- change release to sync with self-build-ffmpeg2theora
80
81* Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.25-1
82- new upstream release
83  - with recent ffmpeg
84
85* Sat Jun 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.24-1
86- new upstream release
87
88* Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-2
89- change release to sync with self-build-ffmpeg2theora
90
91* Wed Feb 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.23-1
92- new upstream release
93- dropped ffmpeg2theora-0.20-new_ffmpeg.patch
94- added BuildRequires: scons
95
96* Sat May 17 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.20-2
97- spec in utf8
98
99* Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.20-1
100- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.