Changes of Revision 21
[-] | Changed | ffmpeg.spec |
x 1
2 3 %define name ffmpeg 4 %define version 0.4.9 5 -%define release 9.svn20080303 6 +%define release 10.svn20080219 7 %define major 0 8 %define lib libffmpeg 9 %define libname %{lib}%{major} 10
11 Summary(de): Hyperschneller MPEG1/MPEG4/H263/RV Und AC3/MPEG Audio-Encoder 12 URL: http://ffmpeg.sourceforge.net 13 14 -Source0: ffmpeg-0.4.9-svn20080303.tar.bz2 15 +Source0: ffmpeg-0.4.9-svn20080219.tar.bz2 16 17 Patch0: ffmpeg_configure.diff 18 Patch1: ffmpeg-img_convert-SWSCALE.diff 19
20 %package -n %{libname} 21 Group: System/Libraries 22 Summary: Shared library part of ffmpeg 23 -Summary(de): Bibliotheken zu ffmpeg 24 Requires: lame 25 Requires: libogg 26 Requires: libvorbis 27
28 29 %package -n %{lib}-devel 30 Group: System/Libraries 31 -Summary: Header files and static library for the ffmpeg library 32 -Summary(de): Header Dateien und statische Bibliotheken für die ffmpeg Bibliothek 33 +Summary: Header files and static library for the ffmpeg codec library 34 Requires: %{libname} = %{version}-%{release} 35 Requires: lame 36 Requires: libogg-devel 37
38 mandir=%{buildroot}%{_mandir} \ 39 includedir=%{buildroot}%{_includedir} \ 40 install 41 -%{__mkdir_p} %{buildroot}%{_includedir}/%{name} 42 +%{__install} -m 644 libavcodec/opt.h %{buildroot}%{_includedir}/%{name}/opt.h 43 %{__install} -d %{buildroot}%{_libdir}/libavcodec 44 %{__rm} -rf doc/.svn 45 %{__rm} -f doc/Makefile 46 pushd %{buildroot}%{_libdir}/libavcodec && %{__ln_s} -f ../libavcodec.a && popd 47 -pushd %{buildroot}%{_includedir}/%{name} && %{__ln_s} -f ../libavcodec/*.h . && popd 48 -pushd %{buildroot}%{_includedir}/%{name} && %{__ln_s} -f ../libavdevice/*.h . && popd 49 -pushd %{buildroot}%{_includedir}/%{name} && %{__ln_s} -f ../libavformat/*.h . && popd 50 -pushd %{buildroot}%{_includedir}/%{name} && %{__ln_s} -f ../libavutil/*.h . && popd 51 -pushd %{buildroot}%{_includedir}/%{name} && %{__ln_s} -f ../libpostproc/*.h . && popd 52 -pushd %{buildroot}%{_includedir}/%{name} && %{__ln_s} -f ../libswscale/*.h . && popd 53 -pushd %{buildroot}%{_includedir} && %{__ln_s} -f libpostproc postproc && popd 54 55 %clean 56 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} 57
58 59 %files -n %{lib}-devel 60 %defattr(-,root,root) 61 -%{_includedir}/ 62 +%dir %{_includedir}/postproc 63 +%{_includedir}/%{name} 64 +%{_includedir}/postproc/postprocess.h 65 %{_libdir}/*.so 66 %{_libdir}/*.a 67 %{_libdir}/libavcodec/* 68 |
||
Added | ffmpeg-0.4.9-svn20080219.tar.bz2 ^ |