123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- %define name ffmpeg-mh
- %define version 0.33
- %define svndate 051130
- %define release 12%{?_dist_release}
- %define ffmpeg_mh ffmpeg_%{svndate}
- %define _with_x264_mh 1
- %define x264_mh x264_051028
- Summary: 3GP Converter (Keitai Douga Henkan-kun) for UNIX
- Summary(ja): Windows 用携帯動画変換君(3GP Converter)の UNIX 版
- Name: %{name}
- Version: %{version}
- Release: %{release}
- Source: http://www.nurs.or.jp/~calcium/3gpp/sources/ffmpeg-%{svndate}-%{version}.tar.gz
- %if %{_with_x264_mh}
- Source1: x264_051028.tar.gz
- %endif
- Patch: http://can.homeunix.org/sw/psp/ffmpeg_psp/ffmpeg-mh-unix.patch
- Patch2: ffmpeg-mh-0.33-disable-texi2html.patch
- License: GPL
- Group: Applications/Multimedia
- URL: http://www.nurs.or.jp/~calcium/3gpp/
- BuildRequires: zlib-devel, SDL-devel, imlib2-devel
- BuildRequires: libogg-devel, libvorbis-devel, libtheora-devel
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- %description
- FFMpeg is a complete and free Internet live audio and video
- broadcasting solution for Linux/Unix. It also includes a digital
- VCR. It can encode in real time in many formats including MPEG1 audio
- and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
- ffmpeg-mh is a 3GP Converter for UNIX. It is a FFmpeg Mobile Hack version
- under unix, is enoughly customized for many mobiles from original sources
- of ffmpeg.
- %description -l ja
- FFMpeg は Linux/Unix に対する完全にフリーなインターネットライブ
- オーティオ・ビデオブロードキャスティングソリューションです.
- またデジタル VCR を含んでいます.MPEG1 オーディオ・ビデオ,
- MPEG4, h263, ac3, asf, avi, real, mjpeg, flash を含む
- 多様なフォーマットをリアルタイムにエンコードすることができます.
- ffmpeg-mh は Windows 用携帯動画変換君(3GP Converter)の UNIX 版です.
- FFmpeg のモバイル端末向けに改良されたバージョンで,オリジナルのソースから
- モバイル向けにたくさん調整されています.
- %prep
- %setup -q -n %{ffmpeg_mh}
- %patch -p1
- %if %{_with_x264_mh}
- tar zxvf %{SOURCE1}
- %endif
- %build
- %if %{_with_x264_mh}
- cd %{x264_mh}
- ./configure \
-
-
-
-
- %__make
- %__make install
- cd ..
- %endif
- ./configure \
-
-
-
-
-
- %{?_with_x264_mh:
- %{?_with_x264_mh:
- %{?_with_x264_mh:
-
-
-
-
-
-
-
-
- %{?_with_amr:
-
-
-
-
-
-
-
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf $RPM_BUILD_ROOT
- install -d -m755 %{buildroot}/%{_bindir}
- install -m 755 ffmpeg %{buildroot}/%{_bindir}/%{name}
- %clean
- %{__rm} -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %{_bindir}/ffmpeg-mh
- %changelog
- * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.33-12
- - change release to sync with self-build-ffmpeg-mh
- * Thu Feb 18 2010 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-11
- - rebuild
- * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-10
- - change release to sync with self-build-ffmpeg-mh
- * Wed May 13 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-9
- - applied ffmpeg-mh-0.33-disable-texi2html.patch
- - dropped BuildRequires: texi2html
- * Sun Feb 8 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-8
- - changed to PreReq: self-build-faad2 >= 2.0 from faad2-devel
- * Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-7
- - change release to sync with self-build-ffmpeg-mh
- * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-6
- - added x264_051028 for Mobile Hack version
- - dropped BuildRequires: self-build-x264
- * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-5
- - spec in utf8
- - droppd BuildRequires: xvidcore-devel, faac-devel, lame-devel
- BuildRequires: x264-devel, libdca-devel, a52dec-devel
- (*-devel pacages provided by other self-build-*) in ffmpeg-mh.spec
- * Thu Apr 10 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-1vl4
- - build with new versioning policy
- * Thu Mar 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-0vl2
- - [self-build-ffmpeg-mh.spec]
- For all pre-required package that is provied by self-build,
- changed to its self-build package
- * Tue Mar 11 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.33-0vl1
- - initial build for Vine Linux 4.2
- with ffmpeg-051130-0.33
|