3 # _without_imlib - we can safely play without it :-)
5 Summary: Realtime audio/video encoder and streaming server
6 Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
12 Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}.tar.gz
13 # Source0-md5: bd9ab3e27f6c92fa06286b8f40277994
14 Patch0: %{name}-opt.patch
15 Patch1: %{name}-imlib2.patch
16 Patch2: %{name}-libtool.patch
17 URL: http://ffmpeg.sourceforge.net/
18 BuildRequires: SDL-devel
19 BuildRequires: freetype-devel
20 %{!?_without_imlib:BuildRequires: imlib2-devel}
21 BuildRequires: libtool >= 2:1.4d-3
22 %ifarch i586 i686 athlon
25 BuildRequires: zlib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _noautoreqdep libGL.so.1 libGLU.so.1
31 ffmpeg is a hyper fast realtime audio/video encoder and streaming
32 server. It can grab from a standard Video4Linux video source and
33 convert it into several file formats based on DCT/motion compensation
34 encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
37 This package contains also ffmpeg shared libraries (libavcodec and
41 ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
42 oraz serwerem strumieni multimedialnych. ffmpeg potrafi zrzucaæ dane
43 ze standardowego urz±dzenia Video4Linux i przekonwertowaæ je w kilka
44 formatów plików bazuj±cych na kodowaniu DCT/kompensacji ruchu. D¼wiêk
45 jest kompresowany do strumienia MPEG audio layer 2 lub u¿ywaj±c
46 strumienia kompatybilnego z AC3.
48 Ten pakiet zawiera tak¿e biblioteki wspó³dzielone ffmpeg (libavcodec i
52 Summary: FFplay - SDL-based media player
53 Summary(pl): FFplay - odtwarzacz mediów oparty na SDL
54 Group: Applications/Multimedia
55 Requires: %{name} = %{version}
58 FFplay is a very simple and portable media player using the FFmpeg
59 libraries and the SDL library. It is mostly used as a test bench for
60 the various APIs of FFmpeg.
62 %description ffplay -l pl
63 FFplay to bardzo prosty i przeno¶ny odtwarzacz mediów u¿ywaj±cy
64 bibliotek FFmpeg oraz biblioteki SDL. Jest u¿ywany g³ównie do
65 testowania ró¿nych API FFmpeg.
68 Summary: imlib2 based hook
69 Summary(pl): Modu³ przej¶ciowy oparty o imlib2
71 Requires: %{name} = %{version}
73 %description vhook-imlib2
74 This module implements a text overlay for a video image. Currently it
75 supports a fixed overlay or reading the text from a file. The string
76 is passed through strftime so that it is easy to imprint the date and
79 %description vhook-imlib2 -l pl
80 Ten modu³ implementuje tekstow± nak³adkê dla obrazu. Aktualnie
81 obs³uguje sta³± nak³adkê lub wczytywanie tekstu z pliku. £añcuch jest
82 przepuszczany przez strftime, wiêc ³atwo umie¶ciæ datê i czas na
86 Summary: ffmpeg header files
87 Summary(pl): Pliki nag³ówkowe ffmpeg
88 Group: Development/Libraries
89 Requires: %{name} = %{version}
94 %description devel -l pl
95 Pliki nag³ówkowe ffmpeg.
98 Summary: ffmpeg static libraries
99 Summary(pl): Statyczne biblioteki ffmpeg
100 Group: Development/Libraries
101 Requires: %{name}-devel = %{version}
104 ffmpeg static libraries (libavcodec and libavformat).
106 %description static -l pl
107 Statyczne biblioteki ffmpeg (libavcodec i libavformat).
116 # note: it's not autoconf configure
118 --prefix=%{_prefix} \
119 --mandir=%{_mandir} \
123 %ifnarch i586 i686 athlon
127 # note: -fomit-frame-pointer is always needed on x86 due to lack of registers
131 OPT="%{rpmcflags} -fomit-frame-pointer -I/usr/X11R6/include" \
132 LDOPT="%{rpmldflags} -L/usr/X11R6/lib"
137 rm -rf $RPM_BUILD_ROOT
138 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
141 DESTDIR=$RPM_BUILD_ROOT
143 mv -f $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/ffserver
144 install doc/*.conf $RPM_BUILD_ROOT%{_sysconfdir}
147 rm -rf $RPM_BUILD_ROOT
149 %post -p /sbin/ldconfig
150 %postun -p /sbin/ldconfig
153 %defattr(644,root,root,755)
154 %doc Changelog README doc/*.html
155 %attr(755,root,root) %{_bindir}/ffmpeg
156 %attr(755,root,root) %{_sbindir}/ffserver
157 %attr(755,root,root) %{_libdir}/libavcodec-*.so
158 %attr(755,root,root) %{_libdir}/libavformat-*.so
159 %dir %{_libdir}/vhook
160 %attr(755,root,root) %{_libdir}/vhook/drawtext.so
161 %attr(755,root,root) %{_libdir}/vhook/fish.so
162 %attr(755,root,root) %{_libdir}/vhook/null.so
163 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ffserver.conf
164 %{_mandir}/man1/ffmpeg.1*
165 %{_mandir}/man1/ffserver.1*
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_bindir}/ffplay
170 %{_mandir}/man1/ffplay.1*
172 %if %{!?_without_imlib:1}0
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/vhook/imlib2.so
179 %defattr(644,root,root,755)
180 %attr(755,root,root) %{_libdir}/libavcodec.so
181 %attr(755,root,root) %{_libdir}/libavformat.so
183 %{_includedir}/ffmpeg
186 %defattr(644,root,root,755)