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