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