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

Revision 615, 2.4 KB checked in by munepi, 14 years ago (diff)

added many self-build-* specs

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