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
Name: ffmpeg
Version: svn_10886
......@@ -31,20 +34,26 @@ make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc Changelog COPYING.GPL COPYING.LGPL CREDITS INSTALL MAINTAINERS README
/usr/bin/ffmpeg
#/usr/lib/libavcodec.so
#/usr/lib/libavcodec.so.51
#/usr/lib/libavcodec.so.51.11.0
#/usr/lib/libavformat.so
#/usr/lib/libavformat.so.50
#/usr/lib/libavformat.so.50.5.0
#/usr/lib/libavutil.so
#/usr/lib/libavutil.so.49
#/usr/lib/libavutil.so.49.0.0
#/usr/lib/libpostproc.so
#/usr/lib/libpostproc.so.51
#/usr/lib/libpostproc.so.51.11.0
#/usr/man/man1/ffmpeg.1.gz
%{_bindir}/ffmpeg
if %ffmpeg_shared; then
%{_libdir}/libavcodec.so
%{_libdir}/libavcodec.so.51
%{_libdir}/libavcodec.so.51.11.0
%{_libdir}/libavformat.so
%{_libdir}/libavformat.so.50
%{_libdir}/libavformat.so.50.5.0
%{_libdir}/libavutil.so
%{_libdir}/libavutil.so.49
%{_libdir}/libavutil.so.49.0.0
%{_libdir}/libpostproc.so
%{_libdir}/libpostproc.so.51
%{_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
%postun -p /sbin/ldconfig
......@@ -56,43 +65,48 @@ Group: Development/C
%files devel
%defattr(-,root,root)
/usr/include/ffmpeg/adler32.h
/usr/include/ffmpeg/avcodec.h
/usr/include/ffmpeg/avformat.h
/usr/include/ffmpeg/avdevice.h
/usr/include/ffmpeg/avio.h
/usr/include/ffmpeg/avutil.h
/usr/include/ffmpeg/common.h
/usr/include/ffmpeg/integer.h
/usr/include/ffmpeg/intfloat_readwrite.h
/usr/include/ffmpeg/log.h
/usr/include/ffmpeg/mathematics.h
/usr/include/ffmpeg/md5.h
/usr/include/ffmpeg/rational.h
/usr/include/ffmpeg/rtp.h
/usr/include/ffmpeg/rtsp.h
/usr/include/ffmpeg/rtspcodes.h
/usr/include/ffmpeg/swscale.h
/usr/include/ffmpeg/avstring.h
/usr/include/ffmpeg/base64.h
/usr/include/ffmpeg/fifo.h
/usr/include/ffmpeg/lzo.h
/usr/include/ffmpeg/mem.h
/usr/include/ffmpeg/opt.h
/usr/include/ffmpeg/random.h
/usr/include/ffmpeg/rgb2rgb.h
/usr/include/postproc/postprocess.h
/usr/lib/libavcodec.a
/usr/lib/libavformat.a
/usr/lib/libavutil.a
/usr/lib/libavdevice.a
/usr/lib/libpostproc.a
/usr/lib/pkgconfig/libavcodec.pc
/usr/lib/pkgconfig/libavformat.pc
/usr/lib/pkgconfig/libavutil.pc
/usr/lib/pkgconfig/libavdevice.pc
/usr/lib/pkgconfig/libpostproc.pc
/usr/lib/pkgconfig/libswscale.pc
%{_includedir}/ffmpeg/adler32.h
%{_includedir}/ffmpeg/avcodec.h
%{_includedir}/ffmpeg/avformat.h
%{_includedir}/ffmpeg/avdevice.h
%{_includedir}/ffmpeg/avio.h
%{_includedir}/ffmpeg/avutil.h
%{_includedir}/ffmpeg/common.h
%{_includedir}/ffmpeg/integer.h
%{_includedir}/ffmpeg/intfloat_readwrite.h
%{_includedir}/ffmpeg/log.h
%{_includedir}/ffmpeg/mathematics.h
%{_includedir}/ffmpeg/md5.h
%{_includedir}/ffmpeg/rational.h
%{_includedir}/ffmpeg/rtp.h
%{_includedir}/ffmpeg/rtsp.h
%{_includedir}/ffmpeg/rtspcodes.h
%{_includedir}/ffmpeg/swscale.h
%{_includedir}/ffmpeg/avstring.h
%{_includedir}/ffmpeg/base64.h
%{_includedir}/ffmpeg/fifo.h
%{_includedir}/ffmpeg/lzo.h
%{_includedir}/ffmpeg/mem.h
%{_includedir}/ffmpeg/opt.h
%{_includedir}/ffmpeg/random.h
%{_includedir}/ffmpeg/rgb2rgb.h
%{_includedir}/postproc/postprocess.h
%{_libdir}/libavcodec.a
%{_libdir}/libavformat.a
%{_libdir}/libavutil.a
%{_libdir}/libavdevice.a
%{_libdir}/libpostproc.a
%{_libdir}/pkgconfig/libavcodec.pc
%{_libdir}/pkgconfig/libavformat.pc
%{_libdir}/pkgconfig/libavutil.pc
%{_libdir}/pkgconfig/libavdevice.pc
%{_libdir}/pkgconfig/libpostproc.pc
%{_libdir}/pkgconfig/libswscale.pc
if %ffmpeg_swscaler; then
%{_includedir}/ffmpeg/swscale.h
%{_libdir}/libswscale.a
fi
%description devel
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