]>
Commit | Line | Data |
---|---|---|
94447fde | 1 | # TODO |
cbdd2688 | 2 | # - is bug803 patch still needed? the code changed somehow |
328d1431 | 3 | # - libnut enabled no (http://www.nut-container.org/) |
cbdd2688 JB |
4 | # - frei0r (frei0r.h)? |
5 | # - libvo_aacenc, libvo_amrwbenc? | |
6 | # - libxavs? | |
197f4211 | 7 | # |
2b3b2117 | 8 | # Conditional build: |
0b43f655 | 9 | %bcond_with nonfree # non free options of package |
294c9b1e | 10 | %bcond_without autoreqdep # don't care about package name deps generated by rpm |
1ef27ea1 JB |
11 | %bcond_without va # VAAPI (Video Acceleration API) |
12 | %bcond_without vpx # VP8, a high-quality video codec | |
13 | %bcond_without doc # don't build docs | |
314ef0df | 14 | |
cbdd2688 JB |
15 | Summary: FFmpeg - a very fast video and audio converter |
16 | Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo | |
9fc4ad22 | 17 | Name: ffmpeg |
cbdd2688 | 18 | Version: 0.8 |
eee9c8e8 | 19 | Release: 1 |
9cf4d8a4 | 20 | # LGPL or GPL, chosen at configure time (GPL version is more featured) |
cbdd2688 | 21 | # (postprocessing, ac3, xvid, x264) |
0b43f655 | 22 | License: GPL v3+ with LGPL v3+ parts |
fde29260 | 23 | Group: Applications/Multimedia |
1ef27ea1 | 24 | Source0: http://ffmpeg.org/releases/%{name}-%{version}.tar.bz2 |
cbdd2688 | 25 | # Source0-md5: 7e9b8c8a6952de0c477027e48249f3ed |
fde29260 ER |
26 | Source1: ffserver.init |
27 | Source2: ffserver.sysconfig | |
38cf6de3 | 28 | Source3: ffserver.conf |
0b43f655 | 29 | Patch0: %{name}-bug-803.patch |
3a7b84be | 30 | Patch1: %{name}-gsm.patch |
85f7cea1 | 31 | URL: http://www.ffmpeg.org/ |
2a60eebe | 32 | BuildRequires: SDL-devel |
cbdd2688 JB |
33 | BuildRequires: alsa-lib-devel |
34 | BuildRequires: celt-devel | |
7ca51e4c | 35 | BuildRequires: dirac-devel >= 1.0.0 |
e380e18a | 36 | BuildRequires: faac-devel |
2a60eebe | 37 | BuildRequires: freetype-devel |
4bee03f0 JB |
38 | %ifarch ppc |
39 | # require version with altivec support fixed | |
40 | BuildRequires: gcc >= 5:3.3.2-3 | |
41 | %endif | |
cbdd2688 JB |
42 | BuildRequires: jack-audio-connection-kit-devel |
43 | BuildRequires: lame-libs-devel >= 3.98.3 | |
6382c99d | 44 | BuildRequires: libdc1394-devel |
f1669449 | 45 | BuildRequires: libgsm-devel |
94447fde | 46 | BuildRequires: libraw1394-devel |
cbdd2688 | 47 | BuildRequires: librtmp-devel |
9042663c | 48 | BuildRequires: libtheora-devel >= 1.0-0.beta3 |
4814ac84 | 49 | BuildRequires: libtool >= 2:1.4d-3 |
64f8f109 | 50 | %{?with_va:BuildRequires: libva-devel >= 1.0.3} |
0b43f655 | 51 | BuildRequires: libvdpau-devel |
e380e18a | 52 | BuildRequires: libvorbis-devel |
065be88e | 53 | %{?with_vpx:BuildRequires: libvpx-devel >= 0.9.6} |
d1ecc96e | 54 | # X264_BUILD >= 83 |
cbdd2688 | 55 | BuildRequires: libx264-devel >= 0.1.3-1.20110625_2245 |
0b43f655 AM |
56 | BuildRequires: opencore-amr-devel |
57 | BuildRequires: openjpeg-devel >= 1.3-2 | |
17a2d1a8 | 58 | BuildRequires: speex-devel >= 1:1.2-rc1 |
e1fe03f7 | 59 | %ifarch %{ix86} |
60 | %ifnarch i386 i486 | |
76243dbd JB |
61 | BuildRequires: nasm |
62 | %endif | |
e1fe03f7 | 63 | %endif |
136f0f45 | 64 | BuildRequires: perl-Encode |
1463656a | 65 | BuildRequires: perl-tools-pod |
ef3c0513 | 66 | BuildRequires: pkgconfig |
db8052c8 | 67 | BuildRequires: rpmbuild(macros) >= 1.470 |
126fb805 | 68 | BuildRequires: schroedinger-devel |
64f8f109 ER |
69 | %{?with_doc:BuildRequires: tetex} |
70 | %{?with_doc:BuildRequires: texi2html} | |
71 | %{?with_doc:BuildRequires: texinfo} | |
cbdd2688 JB |
72 | BuildRequires: xorg-lib-libXext-devel |
73 | BuildRequires: xorg-lib-libXfixes-devel | |
46f2a56b | 74 | BuildRequires: xvid-devel >= 1:1.1.0 |
33a1c0f3 | 75 | BuildRequires: zlib-devel |
57ebb8ad | 76 | %{?with_autoreqdep:BuildConflicts: libpostproc} |
54ec280e | 77 | Requires: %{name}-libs = %{version}-%{release} |
839e806f | 78 | Requires: xvid >= 1:1.1.0 |
af49d6ab | 79 | Obsoletes: libpostproc |
539b540f | 80 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9fc4ad22 | 81 | |
2a60eebe JB |
82 | %define _noautoreqdep libGL.so.1 libGLU.so.1 |
83 | ||
c01d7857 PS |
84 | %define specflags -fno-strict-aliasing |
85 | ||
86 | # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one) | |
87 | %define specflags_ia32 -fomit-frame-pointer | |
88 | # -mmmx is needed to enable <mmintrin.h> code. | |
89 | %define specflags_i586 -mmmx | |
90 | %define specflags_i686 -mmmx | |
1162803a | 91 | %define specflags_ppc -fPIC |
c01d7857 | 92 | |
9fc4ad22 | 93 | %description |
85f7cea1 ER |
94 | FFmpeg is a complete solution to record, convert and stream audio and |
95 | video. It is a command line tool to convert one video file format to | |
96 | another. It also supports grabbing and encoding in real time from a TV | |
97 | card. | |
9fc4ad22 | 98 | |
cdb7b42e | 99 | %description -l pl.UTF-8 |
cbdd2688 JB |
100 | FFmpeg to kompletne rozwiązanie nagrywania, konwersji i transmisji |
101 | strumieni dźwięku i obrazu. Jest to działające z linii poleceń | |
102 | narzędzie do konwersji obrazu z jednego formatu do innego. Obsługuje | |
103 | także przechwytywanie i kodowanie w czasie rzeczywistym z karty | |
104 | telewizyjnej. | |
9fc4ad22 | 105 | |
54ec280e PG |
106 | %package libs |
107 | Summary: ffmpeg libraries | |
adcc0f76 | 108 | Summary(pl.UTF-8): Biblioteki ffmpeg |
54ec280e PG |
109 | Group: Libraries |
110 | ||
111 | %description libs | |
cbdd2688 JB |
112 | This package contains the ffmpeg shared libraries: |
113 | - the codec library (libavcodec). It supports most existing encoding | |
114 | formats (MPEG, DivX, MPEG4, AC3, DV...), | |
115 | - demuxer library (libavformat). It supports most existing file | |
116 | formats (AVI, MPEG, OGG, Matroska, ASF...), | |
117 | - video postprocessing library (libpostproc). | |
54ec280e | 118 | |
cdb7b42e | 119 | %description libs -l pl.UTF-8 |
cbdd2688 JB |
120 | Ten pakiet zawiera biblioteki współdzielone ffmpeg: |
121 | - bibliotekę kodeków (libavcodec); obsługuje większość istniejących | |
122 | formatów kodowania (MPEG, DivX, MPEG4, AC3, DV...), | |
123 | - bibliotekę demuksera (libavformat); obsługuje większość istniejących | |
124 | formatów plików (AVI, MPEG, OGG, Matroska, ASF...), | |
125 | - bibliotekę postprocessingu (libpostproc). | |
54ec280e | 126 | |
af49d6ab JB |
127 | %package devel |
128 | Summary: ffmpeg header files | |
adcc0f76 | 129 | Summary(pl.UTF-8): Pliki nagłówkowe ffmpeg |
af49d6ab | 130 | Group: Development/Libraries |
54ec280e | 131 | Requires: %{name}-libs = %{version}-%{release} |
33a1c0f3 | 132 | # for libavcodec: |
926ffa9a | 133 | Requires: dirac-devel |
33a1c0f3 JB |
134 | Requires: faac-devel |
135 | Requires: lame-libs-devel | |
bf479bc6 | 136 | Requires: libgsm-devel |
95e2cf29 | 137 | Requires: libraw1394-devel |
3e95d354 | 138 | Requires: libtheora-devel >= 1.0-0.alpha7 |
33a1c0f3 | 139 | Requires: libvorbis-devel |
7bf6921d | 140 | Requires: libx264-devel >= 0.1.2-1.20060828_2245.1 |
46f2a56b | 141 | Requires: xvid-devel >= 1:1.1.0 |
33a1c0f3 | 142 | Requires: zlib-devel |
8152d6a2 | 143 | Obsoletes: libpostproc-devel |
af49d6ab JB |
144 | |
145 | %description devel | |
146 | ffmpeg header files. | |
147 | ||
cdb7b42e JR |
148 | %description devel -l pl.UTF-8 |
149 | Pliki nagłówkowe ffmpeg. | |
af49d6ab JB |
150 | |
151 | %package static | |
152 | Summary: ffmpeg static libraries | |
adcc0f76 | 153 | Summary(pl.UTF-8): Statyczne biblioteki ffmpeg |
af49d6ab JB |
154 | Group: Development/Libraries |
155 | Requires: %{name}-devel = %{version}-%{release} | |
156 | ||
157 | %description static | |
158 | ffmpeg static libraries (libavcodec and libavformat). | |
159 | ||
cdb7b42e | 160 | %description static -l pl.UTF-8 |
af49d6ab JB |
161 | Statyczne biblioteki ffmpeg (libavcodec i libavformat). |
162 | ||
2a60eebe JB |
163 | %package ffplay |
164 | Summary: FFplay - SDL-based media player | |
adcc0f76 | 165 | Summary(pl.UTF-8): FFplay - odtwarzacz mediów oparty na SDL |
2a60eebe | 166 | Group: Applications/Multimedia |
54ec280e | 167 | Requires: %{name}-libs = %{version}-%{release} |
2a60eebe JB |
168 | |
169 | %description ffplay | |
170 | FFplay is a very simple and portable media player using the FFmpeg | |
171 | libraries and the SDL library. It is mostly used as a test bench for | |
172 | the various APIs of FFmpeg. | |
173 | ||
cdb7b42e JR |
174 | %description ffplay -l pl.UTF-8 |
175 | FFplay to bardzo prosty i przenośny odtwarzacz mediów używający | |
176 | bibliotek FFmpeg oraz biblioteki SDL. Jest używany głównie do | |
177 | testowania różnych API FFmpeg. | |
2a60eebe | 178 | |
fde29260 ER |
179 | %package ffserver |
180 | Summary: FFserver video server | |
adcc0f76 | 181 | Summary(pl.UTF-8): FFserver - serwer strumieni obrazu |
fde29260 | 182 | Group: Daemons |
593d3a64 | 183 | Requires(post,preun): /sbin/chkconfig |
67103923 | 184 | Requires: %{name}-libs = %{version}-%{release} |
2305d791 | 185 | Requires: rc-scripts >= 0.4.0.10 |
fde29260 ER |
186 | |
187 | %description ffserver | |
188 | FFserver is a streaming server for both audio and video. It supports | |
189 | several live feeds, streaming from files and time shifting on live | |
190 | feeds (you can seek to positions in the past on each live feed, | |
191 | provided you specify a big enough feed storage in ffserver.conf). | |
192 | ||
cdb7b42e JR |
193 | %description ffserver -l pl.UTF-8 |
194 | FFserver to serwer strumieni dla dźwięku i obrazu. Obsługuje kilka | |
195 | źródeł na żywo, przekazywanie strumieni z plików i przesuwanie w | |
196 | czasie dla źródeł na żywo (można przeskakiwać na położenia w | |
197 | przeszłości dla każdego źródła na żywo, pod warunkiem odpowiednio | |
198 | dużej przestrzeni na dane skonfigurowanej w ffserver.conf). | |
4e0bd1da | 199 | |
9fc4ad22 | 200 | %prep |
aed8e8c9 | 201 | %setup -q |
f1669449 | 202 | %patch0 -p1 |
3a7b84be | 203 | %patch1 -p0 |
9fc4ad22 | 204 | |
9d4f8977 ER |
205 | # package the grep result for mplayer, the result formatted as ./mplayer/configure |
206 | cat <<EOF > ffmpeg-avconfig | |
2b2445b7 ER |
207 | #! /bin/sh |
208 | _libavdecoders_all="`sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`" | |
209 | _libavencoders_all="`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`" | |
210 | _libavparsers_all="`sed -n 's/^[^#]*PARSER.*(.*, *\(.*\)).*/\1_parser/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`" | |
211 | _libavbsfs_all="`sed -n 's/^[^#]*BSF.*(.*, *\(.*\)).*/\1_bsf/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`" | |
212 | _libavdemuxers_all="`sed -n 's/^[^#]*DEMUX.*(.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`" | |
213 | _libavmuxers_all="`sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`" | |
214 | _libavprotocols_all="`sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`" | |
215 | EOF | |
9d4f8977 | 216 | cat <<'EOF' >> ffmpeg-avconfig |
2b2445b7 ER |
217 | |
218 | case "$1" in | |
219 | --decoders) | |
220 | echo $_libavdecoders_all | |
221 | ;; | |
222 | --encoders) | |
223 | echo $_libavencoders_all | |
224 | ;; | |
225 | --parsers) | |
226 | echo $_libavparsers_all | |
227 | ;; | |
228 | --bsfs) | |
229 | echo $_libavbsfs_all | |
230 | ;; | |
231 | --demuxers) | |
232 | echo $_libavdemuxers_all | |
233 | ;; | |
234 | --muxers) | |
235 | echo $_libavmuxers_all | |
236 | ;; | |
237 | --protocols) | |
238 | echo $_libavprotocols_all | |
239 | ;; | |
240 | *) | |
241 | cat <<USAGE | |
242 | Usage: $0 [OPTION] | |
243 | Options: | |
244 | --decoders | |
245 | --encoders | |
246 | --parsers | |
247 | --bsfs | |
248 | --demuxers | |
249 | --muxers | |
250 | --protocols | |
251 | USAGE | |
252 | exit 1;; | |
253 | esac | |
254 | ||
255 | exit 0 | |
256 | EOF | |
257 | ||
9fc4ad22 | 258 | %build |
05e1eb2f JB |
259 | # notes: |
260 | # - it's not autoconf configure | |
d0a0ec26 | 261 | # - --disable-debug, --disable-optimizations, tune=generic causes not to override our optflags |
2080d1d3 | 262 | ./configure \ |
b4680d0b | 263 | --arch=%{_target_base_arch} \ |
539b540f | 264 | --prefix=%{_prefix} \ |
9cf4d8a4 | 265 | --libdir=%{_libdir} \ |
d81dfa95 | 266 | --shlibdir=%{_libdir} \ |
2a60eebe | 267 | --mandir=%{_mandir} \ |
126fb805 | 268 | --cc="%{__cc}" \ |
314ef0df | 269 | --extra-cflags="-D_GNU_SOURCE=1 %{rpmcppflags} %{rpmcflags}" \ |
1162803a | 270 | --extra-ldflags="%{rpmcflags} %{rpmldflags}" \ |
126fb805 JB |
271 | --disable-debug \ |
272 | --disable-optimizations \ | |
6382c99d | 273 | --disable-stripping \ |
314ef0df | 274 | --enable-avfilter \ |
126fb805 | 275 | --enable-gpl \ |
0b43f655 | 276 | --enable-version3 \ |
32243b76 | 277 | --enable-libdc1394 \ |
cbdd2688 | 278 | --enable-libcelt \ |
32243b76 | 279 | --enable-libdirac \ |
f3692243 | 280 | --enable-libgsm \ |
15c15700 | 281 | --enable-libmp3lame \ |
cbdd2688 JB |
282 | --enable-libopencore-amrnb \ |
283 | --enable-libopencore-amrwb \ | |
284 | --enable-libopenjpeg \ | |
285 | --enable-librtmp \ | |
126fb805 | 286 | --enable-libschroedinger \ |
da99dcf2 | 287 | --enable-libspeex \ |
126fb805 JB |
288 | --enable-libtheora \ |
289 | --enable-libvorbis \ | |
64f8f109 | 290 | %{?with_vpx:--enable-libvpx} \ |
126fb805 JB |
291 | --enable-libx264 \ |
292 | --enable-libxvid \ | |
6382c99d | 293 | --enable-postproc \ |
d7493de8 | 294 | --enable-pthreads \ |
9cf4d8a4 | 295 | --enable-shared \ |
6382c99d | 296 | --enable-swscale \ |
0b43f655 | 297 | --enable-vdpau \ |
75231f25 | 298 | --enable-x11grab \ |
7a286645 | 299 | %ifnarch %{ix86} %{x8664} |
e1fe03f7 | 300 | --disable-mmx \ |
301 | %endif | |
302 | %ifarch i386 i486 | |
05e1eb2f | 303 | --disable-mmx \ |
b524cd99 | 304 | %endif |
0b43f655 | 305 | %if %{with nonfree} |
48610c64 | 306 | --enable-nonfree \ |
0b43f655 | 307 | --enable-libfaac \ |
76243dbd | 308 | %endif |
75231f25 | 309 | --enable-runtime-cpudetect |
2305d791 | 310 | |
cbdd2688 JB |
311 | # --enable-libopencv would cause dependency loop |
312 | ||
da99dcf2 | 313 | # force oldscaler build |
b8c60172 | 314 | %{__sed} -i -e 's|#define.*CONFIG_OLDSCALER.*0|#define CONFIG_OLDSCALER 1|g' config.h |
da99dcf2 | 315 | |
1ef27ea1 JB |
316 | %{__make} \ |
317 | V=1 | |
9fc4ad22 | 318 | |
b8c60172 ER |
319 | # CC_O to add -c to commandline. makefile should be patched |
320 | %{__make} tools/qt-faststart V=1 CC_O='-c -o $@' | |
321 | ||
9fc4ad22 AM |
322 | %install |
323 | rm -rf $RPM_BUILD_ROOT | |
38cf6de3 | 324 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},/etc/{sysconfig,rc.d/init.d}} \ |
38baa0f1 | 325 | $RPM_BUILD_ROOT%{_includedir}/ffmpeg \ |
38cf6de3 | 326 | $RPM_BUILD_ROOT/var/{cache,log}/ffserver |
9fc4ad22 | 327 | |
539b540f | 328 | %{__make} install \ |
1ef27ea1 JB |
329 | DESTDIR=$RPM_BUILD_ROOT \ |
330 | V=1 | |
539b540f | 331 | |
544421b2 ER |
332 | cp -a config.h $RPM_BUILD_ROOT%{_includedir}/ffmpeg |
333 | cp -a libavutil/intreadwrite.h $RPM_BUILD_ROOT%{_includedir}/libavutil | |
334 | cp -a libavutil/bswap.h $RPM_BUILD_ROOT%{_includedir}/libavutil | |
335 | cp -a libavutil/common.h $RPM_BUILD_ROOT%{_includedir}/libavutil | |
336 | cp -a libavutil/mem.h $RPM_BUILD_ROOT%{_includedir}/libavutil | |
337 | for a in libavutil/*/bswap.h; do | |
338 | install -D $a $RPM_BUILD_ROOT%{_includedir}/$a | |
339 | done | |
9d4f8977 ER |
340 | cp -a libavformat/riff.h $RPM_BUILD_ROOT%{_includedir}/libavformat |
341 | cp -a libavformat/avio.h $RPM_BUILD_ROOT%{_includedir}/libavformat | |
544421b2 | 342 | |
b8c60172 ER |
343 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ffserver |
344 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ffserver | |
345 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ffserver.conf | |
539b540f | 346 | mv -f $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/ffserver |
b8c60172 | 347 | install -p tools/qt-faststart $RPM_BUILD_ROOT%{_bindir} |
9fc4ad22 | 348 | |
2b2445b7 ER |
349 | # install as ffmpeg-avconfig to avoid with possible programs looking for |
350 | # ffmpeg-config and expecting --libs output from it which is not implemented | |
351 | # simple to do (by querying pkgconfig), but why? | |
b8c60172 | 352 | install -p ffmpeg-avconfig $RPM_BUILD_ROOT%{_bindir}/ffmpeg-avconfig |
2b2445b7 | 353 | |
9fc4ad22 AM |
354 | %clean |
355 | rm -rf $RPM_BUILD_ROOT | |
356 | ||
1ef27ea1 JB |
357 | %post libs -p /sbin/ldconfig |
358 | %postun libs -p /sbin/ldconfig | |
539b540f | 359 | |
38cf6de3 ER |
360 | %pre ffserver |
361 | %groupadd -g 167 ffserver | |
362 | %useradd -g ffserver -u 167 ffserver | |
363 | ||
593d3a64 ER |
364 | %post ffserver |
365 | /sbin/chkconfig --add ffserver | |
366 | %service ffserver restart | |
367 | ||
38cf6de3 | 368 | %preun ffserver |
593d3a64 ER |
369 | if [ "$1" = 0 ]; then |
370 | %service ffserver stop | |
371 | /sbin/chkconfig --del ffserver | |
372 | fi | |
373 | ||
38cf6de3 ER |
374 | %postun ffserver |
375 | if [ "$1" = 0 ]; then | |
376 | %userremove ffserver | |
377 | %groupremove ffserver | |
378 | fi | |
379 | ||
9fc4ad22 AM |
380 | %files |
381 | %defattr(644,root,root,755) | |
cbdd2688 | 382 | %doc CREDITS LICENSE MAINTAINERS README doc/{APIchanges,RELEASE_NOTES,TODO} %{?with_doc:doc/*.html} |
2a60eebe | 383 | %attr(755,root,root) %{_bindir}/ffmpeg |
3a7b84be | 384 | %attr(755,root,root) %{_bindir}/ffprobe |
b7313442 | 385 | %attr(755,root,root) %{_bindir}/qt-faststart |
da99dcf2 AM |
386 | %dir %{_datadir}/ffmpeg |
387 | %{_datadir}/ffmpeg/*.ffpreset | |
64f8f109 ER |
388 | %{?with_doc:%{_mandir}/man1/ffmpeg.1*} |
389 | %{?with_doc:%{_mandir}/man1/ffprobe.1*} | |
54ec280e PG |
390 | |
391 | %files libs | |
392 | %defattr(644,root,root,755) | |
f50f7d7c | 393 | %attr(755,root,root) %{_libdir}/libavcodec.so.*.*.* |
cbdd2688 | 394 | %attr(755,root,root) %ghost %{_libdir}/libavcodec.so.53 |
d0a0ec26 | 395 | %attr(755,root,root) %{_libdir}/libavdevice.so.*.*.* |
cbdd2688 | 396 | %attr(755,root,root) %ghost %{_libdir}/libavdevice.so.53 |
314ef0df | 397 | %attr(755,root,root) %{_libdir}/libavfilter.so.*.*.* |
cbdd2688 | 398 | %attr(755,root,root) %ghost %{_libdir}/libavfilter.so.2 |
f50f7d7c | 399 | %attr(755,root,root) %{_libdir}/libavformat.so.*.*.* |
cbdd2688 | 400 | %attr(755,root,root) %ghost %{_libdir}/libavformat.so.53 |
f50f7d7c | 401 | %attr(755,root,root) %{_libdir}/libavutil.so.*.*.* |
cbdd2688 | 402 | %attr(755,root,root) %ghost %{_libdir}/libavutil.so.51 |
d7493de8 | 403 | %attr(755,root,root) %{_libdir}/libpostproc.so.*.*.* |
314ef0df | 404 | %attr(755,root,root) %ghost %{_libdir}/libpostproc.so.51 |
ee032235 | 405 | %attr(755,root,root) %{_libdir}/libswscale.so.*.*.* |
cbdd2688 | 406 | %attr(755,root,root) %ghost %{_libdir}/libswscale.so.2 |
314ef0df | 407 | |
539b540f JB |
408 | %files devel |
409 | %defattr(644,root,root,755) | |
54ec280e | 410 | %doc doc/optimization.txt |
1ef27ea1 | 411 | %attr(755,root,root) %{_bindir}/ffmpeg-avconfig |
539b540f | 412 | %attr(755,root,root) %{_libdir}/libavcodec.so |
d0a0ec26 | 413 | %attr(755,root,root) %{_libdir}/libavdevice.so |
314ef0df | 414 | %attr(755,root,root) %{_libdir}/libavfilter.so |
539b540f | 415 | %attr(755,root,root) %{_libdir}/libavformat.so |
d7493de8 | 416 | %attr(755,root,root) %{_libdir}/libavutil.so |
d2af4612 | 417 | %attr(755,root,root) %{_libdir}/libpostproc.so |
ee032235 | 418 | %attr(755,root,root) %{_libdir}/libswscale.so |
539b540f | 419 | %{_includedir}/ffmpeg |
6382c99d AM |
420 | %{_includedir}/libavcodec |
421 | %{_includedir}/libavdevice | |
314ef0df | 422 | %{_includedir}/libavfilter |
6382c99d AM |
423 | %{_includedir}/libavformat |
424 | %{_includedir}/libavutil | |
425 | %{_includedir}/libpostproc | |
426 | %{_includedir}/libswscale | |
1ef27ea1 JB |
427 | %{_pkgconfigdir}/libavcodec.pc |
428 | %{_pkgconfigdir}/libavdevice.pc | |
429 | %{_pkgconfigdir}/libavfilter.pc | |
430 | %{_pkgconfigdir}/libavformat.pc | |
431 | %{_pkgconfigdir}/libavutil.pc | |
432 | %{_pkgconfigdir}/libpostproc.pc | |
433 | %{_pkgconfigdir}/libswscale.pc | |
539b540f | 434 | |
9cf4d8a4 JB |
435 | %files static |
436 | %defattr(644,root,root,755) | |
1ef27ea1 JB |
437 | %{_libdir}/libavcodec.a |
438 | %{_libdir}/libavdevice.a | |
439 | %{_libdir}/libavfilter.a | |
440 | %{_libdir}/libavformat.a | |
441 | %{_libdir}/libavutil.a | |
442 | %{_libdir}/libpostproc.a | |
443 | %{_libdir}/libswscale.a | |
af49d6ab JB |
444 | |
445 | %files ffplay | |
446 | %defattr(644,root,root,755) | |
447 | %attr(755,root,root) %{_bindir}/ffplay | |
64f8f109 | 448 | %{?with_doc:%{_mandir}/man1/ffplay.1*} |
af49d6ab | 449 | |
fde29260 ER |
450 | %files ffserver |
451 | %defattr(644,root,root,755) | |
452 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ffserver.conf | |
453 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ffserver | |
454 | %attr(755,root,root) %{_sbindir}/ffserver | |
455 | %attr(754,root,root) /etc/rc.d/init.d/ffserver | |
64f8f109 | 456 | %{?with_doc:%{_mandir}/man1/ffserver.1*} |
38cf6de3 ER |
457 | %dir %attr(770,root,ffserver) /var/cache/ffserver |
458 | %dir %attr(770,root,ffserver) /var/log/ffserver |