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