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