]> git.pld-linux.org Git - packages/ffmpeg.git/blame - ffmpeg.spec
- BR: bzip2-devel
[packages/ffmpeg.git] / ffmpeg.spec
CommitLineData
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:
38cefaee 6%bcond_with nonfree # non free options of package (currently: faac)
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
12Summary: FFmpeg - a very fast video and audio converter
13Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo
9fc4ad22 14Name: ffmpeg
cbdd2688 15Version: 0.8
eee9c8e8 16Release: 1
9cf4d8a4 17# LGPL or GPL, chosen at configure time (GPL version is more featured)
38cefaee
JB
18# (postprocessing, some filters, x264, xavs, xvid, x11grab)
19# using v3 allows Apache-licensed libs (opencore-amr, libvo-*enc)
0b43f655 20License: GPL v3+ with LGPL v3+ parts
fde29260 21Group: Applications/Multimedia
1ef27ea1 22Source0: http://ffmpeg.org/releases/%{name}-%{version}.tar.bz2
cbdd2688 23# Source0-md5: 7e9b8c8a6952de0c477027e48249f3ed
fde29260
ER
24Source1: ffserver.init
25Source2: ffserver.sysconfig
38cf6de3 26Source3: ffserver.conf
0b43f655 27Patch0: %{name}-bug-803.patch
3a7b84be 28Patch1: %{name}-gsm.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
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
95e2cf29 146Requires: libraw1394-devel
38cefaee
JB
147Requires: librtmp-devel
148Requires: libtheora-devel >= 1.0-0.beta3
149%{?with_va:Requires: libva-devel >= 1.0.3}
33a1c0f3 150Requires: libvorbis-devel
38cefaee
JB
151%{?with_vpx:Requires: libvpx-devel >= 0.9.6}
152Requires: libx264-devel >= 0.1.3-1.20110625_2245
153Requires: opencore-amr-devel
154Requires: openjpeg-devel >= 1.3-2
155Requires: schroedinger-devel
156Requires: speex-devel >= 1:1.2-rc1
157Requires: vo-aacenc-devel
158Requires: vo-amrwbenc-devel
159Requires: xavs-devel
160Requires: xorg-lib-libXext-devel
161Requires: xorg-lib-libXfixes-devel
46f2a56b 162Requires: xvid-devel >= 1:1.1.0
33a1c0f3 163Requires: zlib-devel
8152d6a2 164Obsoletes: libpostproc-devel
af49d6ab
JB
165
166%description devel
167ffmpeg header files.
168
cdb7b42e
JR
169%description devel -l pl.UTF-8
170Pliki nagłówkowe ffmpeg.
af49d6ab
JB
171
172%package static
173Summary: ffmpeg static libraries
adcc0f76 174Summary(pl.UTF-8): Statyczne biblioteki ffmpeg
af49d6ab
JB
175Group: Development/Libraries
176Requires: %{name}-devel = %{version}-%{release}
177
178%description static
179ffmpeg static libraries (libavcodec and libavformat).
180
cdb7b42e 181%description static -l pl.UTF-8
af49d6ab
JB
182Statyczne biblioteki ffmpeg (libavcodec i libavformat).
183
2a60eebe
JB
184%package ffplay
185Summary: FFplay - SDL-based media player
adcc0f76 186Summary(pl.UTF-8): FFplay - odtwarzacz mediów oparty na SDL
2a60eebe 187Group: Applications/Multimedia
54ec280e 188Requires: %{name}-libs = %{version}-%{release}
2a60eebe
JB
189
190%description ffplay
191FFplay is a very simple and portable media player using the FFmpeg
192libraries and the SDL library. It is mostly used as a test bench for
193the various APIs of FFmpeg.
194
cdb7b42e
JR
195%description ffplay -l pl.UTF-8
196FFplay to bardzo prosty i przenośny odtwarzacz mediów używający
197bibliotek FFmpeg oraz biblioteki SDL. Jest używany głównie do
198testowania różnych API FFmpeg.
2a60eebe 199
fde29260
ER
200%package ffserver
201Summary: FFserver video server
adcc0f76 202Summary(pl.UTF-8): FFserver - serwer strumieni obrazu
fde29260 203Group: Daemons
593d3a64 204Requires(post,preun): /sbin/chkconfig
67103923 205Requires: %{name}-libs = %{version}-%{release}
2305d791 206Requires: rc-scripts >= 0.4.0.10
fde29260
ER
207
208%description ffserver
209FFserver is a streaming server for both audio and video. It supports
210several live feeds, streaming from files and time shifting on live
211feeds (you can seek to positions in the past on each live feed,
212provided you specify a big enough feed storage in ffserver.conf).
213
cdb7b42e
JR
214%description ffserver -l pl.UTF-8
215FFserver to serwer strumieni dla dźwięku i obrazu. Obsługuje kilka
216źródeł na żywo, przekazywanie strumieni z plików i przesuwanie w
217czasie dla źródeł na żywo (można przeskakiwać na położenia w
218przeszłości dla każdego źródła na żywo, pod warunkiem odpowiednio
219dużej przestrzeni na dane skonfigurowanej w ffserver.conf).
4e0bd1da 220
9fc4ad22 221%prep
aed8e8c9 222%setup -q
f1669449 223%patch0 -p1
3a7b84be 224%patch1 -p0
9fc4ad22 225
9d4f8977
ER
226# package the grep result for mplayer, the result formatted as ./mplayer/configure
227cat <<EOF > ffmpeg-avconfig
2b2445b7
ER
228#! /bin/sh
229_libavdecoders_all="`sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`"
230_libavencoders_all="`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`"
231_libavparsers_all="`sed -n 's/^[^#]*PARSER.*(.*, *\(.*\)).*/\1_parser/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`"
232_libavbsfs_all="`sed -n 's/^[^#]*BSF.*(.*, *\(.*\)).*/\1_bsf/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`"
233_libavdemuxers_all="`sed -n 's/^[^#]*DEMUX.*(.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`"
234_libavmuxers_all="`sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`"
235_libavprotocols_all="`sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`"
236EOF
9d4f8977 237cat <<'EOF' >> ffmpeg-avconfig
2b2445b7
ER
238
239case "$1" in
240--decoders)
241 echo $_libavdecoders_all
242 ;;
243--encoders)
244 echo $_libavencoders_all
245 ;;
246--parsers)
247 echo $_libavparsers_all
248 ;;
249--bsfs)
250 echo $_libavbsfs_all
251 ;;
252--demuxers)
253 echo $_libavdemuxers_all
254 ;;
255--muxers)
256 echo $_libavmuxers_all
257 ;;
258--protocols)
259 echo $_libavprotocols_all
260 ;;
261*)
262 cat <<USAGE
263Usage: $0 [OPTION]
264Options:
265 --decoders
266 --encoders
267 --parsers
268 --bsfs
269 --demuxers
270 --muxers
271 --protocols
272USAGE
273 exit 1;;
274esac
275
276exit 0
277EOF
278
9fc4ad22 279%build
05e1eb2f
JB
280# notes:
281# - it's not autoconf configure
d0a0ec26 282# - --disable-debug, --disable-optimizations, tune=generic causes not to override our optflags
2080d1d3 283./configure \
b4680d0b 284 --arch=%{_target_base_arch} \
539b540f 285 --prefix=%{_prefix} \
9cf4d8a4 286 --libdir=%{_libdir} \
d81dfa95 287 --shlibdir=%{_libdir} \
2a60eebe 288 --mandir=%{_mandir} \
126fb805 289 --cc="%{__cc}" \
314ef0df 290 --extra-cflags="-D_GNU_SOURCE=1 %{rpmcppflags} %{rpmcflags}" \
1162803a 291 --extra-ldflags="%{rpmcflags} %{rpmldflags}" \
126fb805
JB
292 --disable-debug \
293 --disable-optimizations \
6382c99d 294 --disable-stripping \
314ef0df 295 --enable-avfilter \
126fb805 296 --enable-gpl \
0b43f655 297 --enable-version3 \
5dc039cb 298 --enable-frei0r \
32243b76 299 --enable-libdc1394 \
cbdd2688 300 --enable-libcelt \
32243b76 301 --enable-libdirac \
f3692243 302 --enable-libgsm \
15c15700 303 --enable-libmp3lame \
cbdd2688
JB
304 --enable-libopencore-amrnb \
305 --enable-libopencore-amrwb \
306 --enable-libopenjpeg \
307 --enable-librtmp \
126fb805 308 --enable-libschroedinger \
da99dcf2 309 --enable-libspeex \
126fb805 310 --enable-libtheora \
5dc039cb
JB
311 --enable-libvo-aacenc \
312 --enable-libvo-amrwbenc \
126fb805 313 --enable-libvorbis \
64f8f109 314 %{?with_vpx:--enable-libvpx} \
126fb805 315 --enable-libx264 \
5dc039cb 316 --enable-libxavs \
126fb805 317 --enable-libxvid \
6382c99d 318 --enable-postproc \
d7493de8 319 --enable-pthreads \
9cf4d8a4 320 --enable-shared \
6382c99d 321 --enable-swscale \
0b43f655 322 --enable-vdpau \
75231f25 323 --enable-x11grab \
7a286645 324%ifnarch %{ix86} %{x8664}
e1fe03f7 325 --disable-mmx \
326%endif
327%ifarch i386 i486
05e1eb2f 328 --disable-mmx \
b524cd99 329%endif
0b43f655 330%if %{with nonfree}
48610c64 331 --enable-nonfree \
0b43f655 332 --enable-libfaac \
76243dbd 333%endif
75231f25 334 --enable-runtime-cpudetect
2305d791 335
cbdd2688
JB
336# --enable-libopencv would cause dependency loop
337
da99dcf2 338# force oldscaler build
b8c60172 339%{__sed} -i -e 's|#define.*CONFIG_OLDSCALER.*0|#define CONFIG_OLDSCALER 1|g' config.h
da99dcf2 340
1ef27ea1
JB
341%{__make} \
342 V=1
9fc4ad22 343
b8c60172
ER
344# CC_O to add -c to commandline. makefile should be patched
345%{__make} tools/qt-faststart V=1 CC_O='-c -o $@'
346
9fc4ad22
AM
347%install
348rm -rf $RPM_BUILD_ROOT
38cf6de3 349install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},/etc/{sysconfig,rc.d/init.d}} \
38baa0f1 350 $RPM_BUILD_ROOT%{_includedir}/ffmpeg \
38cf6de3 351 $RPM_BUILD_ROOT/var/{cache,log}/ffserver
9fc4ad22 352
539b540f 353%{__make} install \
1ef27ea1
JB
354 DESTDIR=$RPM_BUILD_ROOT \
355 V=1
539b540f 356
544421b2
ER
357cp -a config.h $RPM_BUILD_ROOT%{_includedir}/ffmpeg
358cp -a libavutil/intreadwrite.h $RPM_BUILD_ROOT%{_includedir}/libavutil
359cp -a libavutil/bswap.h $RPM_BUILD_ROOT%{_includedir}/libavutil
360cp -a libavutil/common.h $RPM_BUILD_ROOT%{_includedir}/libavutil
361cp -a libavutil/mem.h $RPM_BUILD_ROOT%{_includedir}/libavutil
362for a in libavutil/*/bswap.h; do
363 install -D $a $RPM_BUILD_ROOT%{_includedir}/$a
364done
9d4f8977
ER
365cp -a libavformat/riff.h $RPM_BUILD_ROOT%{_includedir}/libavformat
366cp -a libavformat/avio.h $RPM_BUILD_ROOT%{_includedir}/libavformat
544421b2 367
b8c60172
ER
368install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ffserver
369cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ffserver
370cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ffserver.conf
539b540f 371mv -f $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/ffserver
b8c60172 372install -p tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
9fc4ad22 373
2b2445b7
ER
374# install as ffmpeg-avconfig to avoid with possible programs looking for
375# ffmpeg-config and expecting --libs output from it which is not implemented
376# simple to do (by querying pkgconfig), but why?
b8c60172 377install -p ffmpeg-avconfig $RPM_BUILD_ROOT%{_bindir}/ffmpeg-avconfig
2b2445b7 378
9fc4ad22
AM
379%clean
380rm -rf $RPM_BUILD_ROOT
381
1ef27ea1
JB
382%post libs -p /sbin/ldconfig
383%postun libs -p /sbin/ldconfig
539b540f 384
38cf6de3
ER
385%pre ffserver
386%groupadd -g 167 ffserver
387%useradd -g ffserver -u 167 ffserver
388
593d3a64
ER
389%post ffserver
390/sbin/chkconfig --add ffserver
391%service ffserver restart
392
38cf6de3 393%preun ffserver
593d3a64
ER
394if [ "$1" = 0 ]; then
395 %service ffserver stop
396 /sbin/chkconfig --del ffserver
397fi
398
38cf6de3
ER
399%postun ffserver
400if [ "$1" = 0 ]; then
401 %userremove ffserver
402 %groupremove ffserver
403fi
404
9fc4ad22
AM
405%files
406%defattr(644,root,root,755)
cbdd2688 407%doc CREDITS LICENSE MAINTAINERS README doc/{APIchanges,RELEASE_NOTES,TODO} %{?with_doc:doc/*.html}
2a60eebe 408%attr(755,root,root) %{_bindir}/ffmpeg
3a7b84be 409%attr(755,root,root) %{_bindir}/ffprobe
b7313442 410%attr(755,root,root) %{_bindir}/qt-faststart
da99dcf2
AM
411%dir %{_datadir}/ffmpeg
412%{_datadir}/ffmpeg/*.ffpreset
64f8f109
ER
413%{?with_doc:%{_mandir}/man1/ffmpeg.1*}
414%{?with_doc:%{_mandir}/man1/ffprobe.1*}
54ec280e
PG
415
416%files libs
417%defattr(644,root,root,755)
f50f7d7c 418%attr(755,root,root) %{_libdir}/libavcodec.so.*.*.*
cbdd2688 419%attr(755,root,root) %ghost %{_libdir}/libavcodec.so.53
d0a0ec26 420%attr(755,root,root) %{_libdir}/libavdevice.so.*.*.*
cbdd2688 421%attr(755,root,root) %ghost %{_libdir}/libavdevice.so.53
314ef0df 422%attr(755,root,root) %{_libdir}/libavfilter.so.*.*.*
cbdd2688 423%attr(755,root,root) %ghost %{_libdir}/libavfilter.so.2
f50f7d7c 424%attr(755,root,root) %{_libdir}/libavformat.so.*.*.*
cbdd2688 425%attr(755,root,root) %ghost %{_libdir}/libavformat.so.53
f50f7d7c 426%attr(755,root,root) %{_libdir}/libavutil.so.*.*.*
cbdd2688 427%attr(755,root,root) %ghost %{_libdir}/libavutil.so.51
d7493de8 428%attr(755,root,root) %{_libdir}/libpostproc.so.*.*.*
314ef0df 429%attr(755,root,root) %ghost %{_libdir}/libpostproc.so.51
ee032235 430%attr(755,root,root) %{_libdir}/libswscale.so.*.*.*
cbdd2688 431%attr(755,root,root) %ghost %{_libdir}/libswscale.so.2
314ef0df 432
539b540f
JB
433%files devel
434%defattr(644,root,root,755)
54ec280e 435%doc doc/optimization.txt
1ef27ea1 436%attr(755,root,root) %{_bindir}/ffmpeg-avconfig
539b540f 437%attr(755,root,root) %{_libdir}/libavcodec.so
d0a0ec26 438%attr(755,root,root) %{_libdir}/libavdevice.so
314ef0df 439%attr(755,root,root) %{_libdir}/libavfilter.so
539b540f 440%attr(755,root,root) %{_libdir}/libavformat.so
d7493de8 441%attr(755,root,root) %{_libdir}/libavutil.so
d2af4612 442%attr(755,root,root) %{_libdir}/libpostproc.so
ee032235 443%attr(755,root,root) %{_libdir}/libswscale.so
539b540f 444%{_includedir}/ffmpeg
6382c99d
AM
445%{_includedir}/libavcodec
446%{_includedir}/libavdevice
314ef0df 447%{_includedir}/libavfilter
6382c99d
AM
448%{_includedir}/libavformat
449%{_includedir}/libavutil
450%{_includedir}/libpostproc
451%{_includedir}/libswscale
1ef27ea1
JB
452%{_pkgconfigdir}/libavcodec.pc
453%{_pkgconfigdir}/libavdevice.pc
454%{_pkgconfigdir}/libavfilter.pc
455%{_pkgconfigdir}/libavformat.pc
456%{_pkgconfigdir}/libavutil.pc
457%{_pkgconfigdir}/libpostproc.pc
458%{_pkgconfigdir}/libswscale.pc
539b540f 459
9cf4d8a4
JB
460%files static
461%defattr(644,root,root,755)
1ef27ea1
JB
462%{_libdir}/libavcodec.a
463%{_libdir}/libavdevice.a
464%{_libdir}/libavfilter.a
465%{_libdir}/libavformat.a
466%{_libdir}/libavutil.a
467%{_libdir}/libpostproc.a
468%{_libdir}/libswscale.a
af49d6ab
JB
469
470%files ffplay
471%defattr(644,root,root,755)
472%attr(755,root,root) %{_bindir}/ffplay
64f8f109 473%{?with_doc:%{_mandir}/man1/ffplay.1*}
af49d6ab 474
fde29260
ER
475%files ffserver
476%defattr(644,root,root,755)
477%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ffserver.conf
478%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ffserver
479%attr(755,root,root) %{_sbindir}/ffserver
480%attr(754,root,root) /etc/rc.d/init.d/ffserver
64f8f109 481%{?with_doc:%{_mandir}/man1/ffserver.1*}
38cf6de3
ER
482%dir %attr(770,root,ffserver) /var/cache/ffserver
483%dir %attr(770,root,ffserver) /var/log/ffserver
This page took 0.275113 seconds and 4 git commands to generate.