1 Summary: Realtime audio/video encoder and streaming server
2 Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
8 Source0: ftp://ftp.sourceforge.net/pub/sourceforge/ffmpeg/%{name}-%{version}.tar.gz
9 Patch0: %{name}-opt.patch
10 Patch1: %{name}-imlib2.patch
11 Patch2: %{name}-libtool.patch
12 URL: http://ffmpeg.sourceforge.net/
13 BuildRequires: imlib2-devel
14 BuildRequires: libtool >= 1:1.4.2-9
15 %ifarch i586 i686 athlon
18 BuildRequires: zlib-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 ffmpeg is a hyper fast realtime audio/video encoder and streaming
23 server. It can grab from a standard Video4Linux video source and
24 convert it into several file formats based on DCT/motion compensation
25 encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
28 This package contains also ffmpeg shared libraries (libavcodec and
32 ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
33 oraz serwerem strumieni multimedialnych. ffmpeg potrafi zrzucaæ dane
34 ze standardowego urz±dzenia Video4Linux i przekonwertowaæ je w kilka
35 formatów plików bazuj±cych na kodowaniu DCT/kompensacji ruchu. D¼wiêk
36 jest kompresowany do strumienia MPEG audio layer 2 lub u¿ywaj±c
37 strumienia kompatybilnego z AC3.
39 Ten pakiet zawiera tak¿e biblioteki wspó³dzielone ffmpeg (libavcodec i
43 Summary: imlib2 based hook
44 Summary(pl): Modu³ przej¶ciowy oparty o imlib2
46 Requires: %{name} = %{version}
48 %description vhook-imlib2
49 This module implements a text overlay for a video image. Currently it
50 supports a fixed overlay or reading the text from a file. The string
51 is passed through strftime so that it is easy to imprint the date and
54 %description vhook-imlib2 -l pl
55 Ten modu³ implementuje tekstow± nak³adkê dla obrazu. Aktualnie
56 obs³uguje sta³± nak³adkê lub wczytywanie tekstu z pliku. £añcuch jest
57 przepuszczany przez strftime, wiêc ³atwo umie¶ciæ datê i czas na
61 Summary: ffmpeg header files
62 Summary(pl): Pliki nag³ówkowe ffmpeg
63 Group: Development/Libraries
64 Requires: %{name} = %{version}
69 %description devel -l pl
70 Pliki nag³ówkowe ffmpeg.
73 Summary: ffmpeg static libraries
74 Summary(pl): Statyczne biblioteki ffmpeg
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}
79 ffmpeg static libraries (libavcodec and libavformat).
81 %description static -l pl
82 Statyczne biblioteki ffmpeg (libavcodec i libavformat).
91 # note: it's not autoconf configure
96 %ifnarch i586 i686 athlon
100 # note: -fomit-frame-pointer is always needed on x86 due to lack of registers
103 OPT="%{rpmcflags} -fomit-frame-pointer -I/usr/X11R6/include" \
104 LDOPT="%{rpmldflags} -L/usr/X11R6/lib"
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir}}
113 DESTDIR=$RPM_BUILD_ROOT
115 mv -f $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/ffserver
116 install doc/*.conf $RPM_BUILD_ROOT%{_sysconfdir}
119 rm -rf $RPM_BUILD_ROOT
121 %post -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
125 %defattr(644,root,root,755)
126 %doc Changelog README doc/*.html
127 %attr(755,root,root) %{_bindir}/*
128 %attr(755,root,root) %{_sbindir}/*
129 %attr(755,root,root) %{_libdir}/libavcodec-*.so
130 %attr(755,root,root) %{_libdir}/libavformat-*.so
131 %dir %{_libdir}/vhook
132 %attr(755,root,root) %{_libdir}/vhook/null.so
133 %attr(755,root,root) %{_libdir}/vhook/fish.so
134 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/vhook/imlib2.so
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_libdir}/libavcodec.so
143 %attr(755,root,root) %{_libdir}/libavformat.so
145 %{_includedir}/ffmpeg
148 %defattr(644,root,root,755)