Commit 4dda27ed authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Update ffmpeg.spec

parent d69dfb7a
%define ffmpeg-shared 0
%define ffmpeg_swscaler 0
Summary: FFmpeg encoder and decoder libraries Summary: FFmpeg encoder and decoder libraries
Name: ffmpeg Name: ffmpeg
Version: svn_10886 Version: svn_10886
...@@ -31,20 +34,26 @@ make DESTDIR=$RPM_BUILD_ROOT install ...@@ -31,20 +34,26 @@ make DESTDIR=$RPM_BUILD_ROOT install
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc Changelog COPYING.GPL COPYING.LGPL CREDITS INSTALL MAINTAINERS README %doc Changelog COPYING.GPL COPYING.LGPL CREDITS INSTALL MAINTAINERS README
/usr/bin/ffmpeg %{_bindir}/ffmpeg
#/usr/lib/libavcodec.so if %ffmpeg_shared; then
#/usr/lib/libavcodec.so.51 %{_libdir}/libavcodec.so
#/usr/lib/libavcodec.so.51.11.0 %{_libdir}/libavcodec.so.51
#/usr/lib/libavformat.so %{_libdir}/libavcodec.so.51.11.0
#/usr/lib/libavformat.so.50 %{_libdir}/libavformat.so
#/usr/lib/libavformat.so.50.5.0 %{_libdir}/libavformat.so.50
#/usr/lib/libavutil.so %{_libdir}/libavformat.so.50.5.0
#/usr/lib/libavutil.so.49 %{_libdir}/libavutil.so
#/usr/lib/libavutil.so.49.0.0 %{_libdir}/libavutil.so.49
#/usr/lib/libpostproc.so %{_libdir}/libavutil.so.49.0.0
#/usr/lib/libpostproc.so.51 %{_libdir}/libpostproc.so
#/usr/lib/libpostproc.so.51.11.0 %{_libdir}/libpostproc.so.51
#/usr/man/man1/ffmpeg.1.gz %{_libdir}/libpostproc.so.51.11.0
if %ffmpeg_swscaler; then
%{_libdir}/libswscale.so
%{_libdir}/libswscale.so.*
fi
%{_mandir}/man1/ffmpeg.1.gz
fi
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
...@@ -56,43 +65,48 @@ Group: Development/C ...@@ -56,43 +65,48 @@ Group: Development/C
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
/usr/include/ffmpeg/adler32.h %{_includedir}/ffmpeg/adler32.h
/usr/include/ffmpeg/avcodec.h %{_includedir}/ffmpeg/avcodec.h
/usr/include/ffmpeg/avformat.h %{_includedir}/ffmpeg/avformat.h
/usr/include/ffmpeg/avdevice.h %{_includedir}/ffmpeg/avdevice.h
/usr/include/ffmpeg/avio.h %{_includedir}/ffmpeg/avio.h
/usr/include/ffmpeg/avutil.h %{_includedir}/ffmpeg/avutil.h
/usr/include/ffmpeg/common.h %{_includedir}/ffmpeg/common.h
/usr/include/ffmpeg/integer.h %{_includedir}/ffmpeg/integer.h
/usr/include/ffmpeg/intfloat_readwrite.h %{_includedir}/ffmpeg/intfloat_readwrite.h
/usr/include/ffmpeg/log.h %{_includedir}/ffmpeg/log.h
/usr/include/ffmpeg/mathematics.h %{_includedir}/ffmpeg/mathematics.h
/usr/include/ffmpeg/md5.h %{_includedir}/ffmpeg/md5.h
/usr/include/ffmpeg/rational.h %{_includedir}/ffmpeg/rational.h
/usr/include/ffmpeg/rtp.h %{_includedir}/ffmpeg/rtp.h
/usr/include/ffmpeg/rtsp.h %{_includedir}/ffmpeg/rtsp.h
/usr/include/ffmpeg/rtspcodes.h %{_includedir}/ffmpeg/rtspcodes.h
/usr/include/ffmpeg/swscale.h %{_includedir}/ffmpeg/swscale.h
/usr/include/ffmpeg/avstring.h %{_includedir}/ffmpeg/avstring.h
/usr/include/ffmpeg/base64.h %{_includedir}/ffmpeg/base64.h
/usr/include/ffmpeg/fifo.h %{_includedir}/ffmpeg/fifo.h
/usr/include/ffmpeg/lzo.h %{_includedir}/ffmpeg/lzo.h
/usr/include/ffmpeg/mem.h %{_includedir}/ffmpeg/mem.h
/usr/include/ffmpeg/opt.h %{_includedir}/ffmpeg/opt.h
/usr/include/ffmpeg/random.h %{_includedir}/ffmpeg/random.h
/usr/include/ffmpeg/rgb2rgb.h %{_includedir}/ffmpeg/rgb2rgb.h
/usr/include/postproc/postprocess.h %{_includedir}/postproc/postprocess.h
/usr/lib/libavcodec.a %{_libdir}/libavcodec.a
/usr/lib/libavformat.a %{_libdir}/libavformat.a
/usr/lib/libavutil.a %{_libdir}/libavutil.a
/usr/lib/libavdevice.a %{_libdir}/libavdevice.a
/usr/lib/libpostproc.a %{_libdir}/libpostproc.a
/usr/lib/pkgconfig/libavcodec.pc %{_libdir}/pkgconfig/libavcodec.pc
/usr/lib/pkgconfig/libavformat.pc %{_libdir}/pkgconfig/libavformat.pc
/usr/lib/pkgconfig/libavutil.pc %{_libdir}/pkgconfig/libavutil.pc
/usr/lib/pkgconfig/libavdevice.pc %{_libdir}/pkgconfig/libavdevice.pc
/usr/lib/pkgconfig/libpostproc.pc %{_libdir}/pkgconfig/libpostproc.pc
/usr/lib/pkgconfig/libswscale.pc %{_libdir}/pkgconfig/libswscale.pc
if %ffmpeg_swscaler; then
%{_includedir}/ffmpeg/swscale.h
%{_libdir}/libswscale.a
fi
%description devel %description devel
FFmpeg encoder and decoder libraries. FFmpeg encoder and decoder libraries.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment