]> git.pld-linux.org Git - packages/ffmpeg.git/blob - ffmpeg.spec
drop yasm BR (nasm is preferred)
[packages/ffmpeg.git] / ffmpeg.spec
1 # TODO:
2 # - libopenvino
3 # - libtensorflow [-ltensorflow tensorflow/c/c_api.h]
4 # - AMF >= 1.4.9.0 (available at https://github.com/GPUOpen-LibrariesAndSDKs/AMF, where is original source?)
5 #
6 # How to deal with ffmpeg/opencv/chromaprint checken-egg problem:
7 #       1. make-request -r --with bootstrap ffmpeg.spec
8 #       2  bump release of opencv.spec and chromaprint.spec
9 #       3. make-request -r opencv.spec chromaprint.spec
10 #       4. bump release of ffmpeg.spec
11 #       5. make-request -r ffmpeg.spec
12 #
13 # Conditional build:
14 %bcond_with     bootstrap       # disable features to able to build without installed ffmpeg
15 %bcond_with     nonfree         # unblock non free options of package (currently: cuda_nvcc, decklib, fdk_aac, npp, openssl, libressl/libtls)
16 %bcond_without  amr             # AMR-NB/WB de/encoding via libopencore-amrnb/wb
17 %bcond_without  aom             # AV1 viden de/encoding via libaom
18 %bcond_without  aribb24         # ARIB text and caption decoding via libaribb24
19 %bcond_without  avs             # AVS encoding via xavs
20 %bcond_without  avs2            # AVS2 de/encoding via libdavs2/libxavs2
21 %bcond_without  bs2b            # BS2B audio filter support
22 %bcond_without  caca            # textual display using libcaca
23 %bcond_without  codec2          # codec2 support using libcodec2
24 %bcond_without  chromaprint     # audio fingerprinting with chromaprint
25 %bcond_with     cudasdk         # NVIDIA CUDA code using nvcc from CUDA SDK [BR: cuda.h, non-free]
26 %bcond_with     dav1d           # AV1 decoding via libdav1d
27 %bcond_without  dc1394          # IIDC-1394 grabbing using libdc1394
28 %bcond_with     decklink        # Blackmagic DeckLink I/O support (requires nonfree)
29 %bcond_with     fdk_aac         # AAC de/encoding via libfdk_aac (requires nonfree)
30 %bcond_without  ffnvcodec       # NVIDIA codecs support using ffnvcodec headers (covered: cuda cuvid nvdec nvenc)
31 %bcond_without  flite           # flite voice synthesis support
32 %bcond_without  frei0r          # frei0r video filtering
33 %bcond_without  fribidi         # fribidi support
34 %bcond_without  glslang         # GLSL->SPIRV compilation via libglslang
35 %bcond_without  gme             # Game Music Emu support
36 %bcond_without  gsm             # GSM de/encoding via libgsm
37 %bcond_without  iec61883        # ec61883 via libiec61883
38 %bcond_without  ilbc            # iLBC de/encoding via WebRTC libilbc
39 %bcond_without  kvazaar         # Kvazaar HEVC encoder support
40 %bcond_without  ladspa          # LADSPA audio filtering
41 %bcond_with     lensfun         # lensfun lens correction
42 %bcond_with     libdrm          # Linux Direct Rendering Manager code
43 %bcond_with     libklvanc       # Kernel Labs VANC processing (in decklink driver)
44 %bcond_without  libmysofa       # sofalizer filter
45 %bcond_without  librist         # RIST support via librist
46 %bcond_with     librsvg         # SVG rasterization via librsvg
47 %bcond_with     libxml2         # XML parsing using libxml2
48 %bcond_without  lv2             # LV2 audio filtering
49 %bcond_with     mfx             # MFX hardware acceleration support
50 %bcond_without  modplug         # ModPlug via libmodplug
51 %bcond_with     npp             # NVIDIA Performance Primitives-based code (requires nonfree) [BR: libnppc+libnppi, npp.h]
52 %bcond_without  omx             # OpenMAX IL support
53 %bcond_without  openal          # OpenAL 1.1 capture support
54 %bcond_without  opencl          # OpenCL 1.2 code
55 %bcond_without  opencv          # OpenCV video filtering
56 %bcond_without  opengl          # OpenGL rendering support
57 %bcond_with     openh264        # OpenH264 H.264 encoder
58 %bcond_without  openmpt         # OpenMPT module decoder
59 %bcond_with     pocketsphinx    # asr filter using PocketSphinx
60 %bcond_without  pulseaudio      # PulseAudio input support
61 %bcond_without  rabbitmq        # RabbitMQ support
62 %bcond_with     rav1e           # AV1 encoding using rav1e
63 %bcond_with     rkmpp           # Rockchip Media Process Platform code [implies libdrm]
64 %bcond_without  rubberband      # rubberband filter
65 %bcond_without  shine           # shine fixed-point MP3 encoder
66 %bcond_with     smb             # SMB support via libsmbclient
67 %bcond_without  snappy          # Snappy compression support (needed for hap encoding)
68 %bcond_without  soxr            # SoX Resampler support
69 %bcond_without  srt             # Haivision SRT protocol support
70 %bcond_without  ssh             # SFTP protocol support via libssh
71 %bcond_with     svtav1          # AV1 encoding via SVT-AV1
72 %bcond_with     tesseract       # OCR filter based on Tesseract
73 %bcond_without  theora          # Theora encoding via libtheora
74 %bcond_with     uavs3d          # AVS3 decoding via libuavs3d (TODO: enable when 1.1.41 released)
75 %bcond_with     v4l2_request    # V4L2 request API for stateless hw decoding
76 %bcond_without  va              # VAAPI (Video Acceleration API)
77 %bcond_without  vapoursynth     # VapourSynth demuxer
78 %bcond_without  vidstab         # vid.stab video stabilization support
79 %bcond_without  vmaf            # VMAF filter support
80 %bcond_without  voamrwbenc      # MR-WB encoding via libvo-amrwbenc
81 %bcond_without  vpx             # VP8, a high-quality video codec
82 %bcond_without  vulkan          # Vulkan code
83 %bcond_without  webp            # WebP encoding support
84 %bcond_without  x264            # H.264 x264 encoder
85 %bcond_without  x265            # H.265/HEVC x265 encoder
86 %bcond_without  xvid            # vid encoding via xvidcore
87 %bcond_without  zimg            # zscale filter based on z.lib
88 %bcond_without  zmq             # 0MQ message passing
89 %bcond_without  zvbi            # teletext via libzvbi
90 %bcond_without  doc             # don't build docs
91 %bcond_with     tests           # "make check" (some tests fail as of 2.5)
92
93 %if %{with bootstrap}
94 %undefine       with_opencv
95 %undefine       with_chromaprint
96 %endif
97 %if %{with rkmpp} || %{with v4l2_request}
98 %define         with_libdrm     1
99 %endif
100
101 %ifnarch %{ix86} %{x8664}
102 %undefine       with_ffnvcodec
103 %endif
104 %ifnarch %{ix86} %{x8664} aarch64
105 %undefine       with_rav1e
106 %endif
107 %ifnarch %{ix86} %{x8664} %{arm}
108 %undefine       with_x265
109 %endif
110 %ifarch i386 i486
111 %undefine       with_x265
112 %endif
113 %ifarch i686 pentium4 athlon %{x8664} x32
114 %define         with_crystalhd  1
115 %endif
116 Summary:        FFmpeg - a very fast video and audio converter
117 Summary(pl.UTF-8):      FFmpeg - szybki konwerter audio/wideo
118 Name:           ffmpeg
119 Version:        4.4.1
120 Release:        1
121 # LGPL or GPL, chosen at configure time (GPL version is more featured)
122 # GPL: frei0r libcdio libdavs2 rubberband vidstab x264 x265 xavs xavs2 xvid
123 # v3 (allows *GPLv3 or Apache-licensed libs): gmp lensfun opencore-amr vmaf vo-*enc rkmpp
124 # GPLv3: smbclient
125 License:        GPL v3+ with LGPL v3+ parts
126 Group:          Applications/Multimedia
127 Source0:        https://ffmpeg.org/releases/%{name}-%{version}.tar.xz
128 # Source0-md5:  41a1ca8693acc56088e8eaf3899b91ea
129 Patch0:         %{name}-omx-libnames.patch
130 Patch1:         %{name}-atadenoise.patch
131 Patch2:         opencv4.patch
132 Patch3:         v4l2-request-hwdec.patch
133 Patch4:         %{name}-glslang.patch
134 URL:            http://www.ffmpeg.org/
135 %{?with_decklink:BuildRequires: Blackmagic_DeckLink_SDK >= 10.10}
136 %{?with_openal:BuildRequires:   OpenAL-devel >= 1.1}
137 %{?with_opencl:BuildRequires:   OpenCL-devel >= 1.2}
138 %{?with_opengl:BuildRequires:   OpenGL-GLX-devel}
139 # libomxil-bellagio-devel or limoi-core-devel (just headers, library is dlopened at runtime)
140 %{?with_omx:BuildRequires:      OpenMAX-IL-devel}
141 BuildRequires:  SDL2-devel >= 2.0.1
142 BuildRequires:  SDL2-devel < 2.1.0
143 %{?with_vulkan:BuildRequires:   Vulkan-Loader-devel >= 1.1.97}
144 BuildRequires:  alsa-lib-devel
145 %{?with_aom:BuildRequires:      aom-devel >= 1.0.0}
146 %{?with_aribb24:BuildRequires:  aribb24-devel}
147 BuildRequires:  bzip2-devel
148 BuildRequires:  celt-devel >= 0.11.0
149 %{?with_codec2:BuildRequires:   codec2-devel}
150 %{?with_dav1d:BuildRequires:    dav1d-devel >= 0.5.0}
151 %{?with_avs2:BuildRequires:     davs2-devel >= 1.6}
152 %{?with_fdk_aac:BuildRequires:  fdk-aac-devel}
153 %{?with_flite:BuildRequires:    flite-devel >= 1.4}
154 BuildRequires:  fontconfig-devel
155 BuildRequires:  freetype-devel
156 %{?with_frei0r:BuildRequires:   frei0r-devel}
157 %{?with_fribidi:BuildRequires:  fribidi-devel}
158 %{?with_gme:BuildRequires:      game-music-emu-devel}
159 %ifarch ppc
160 # require version with altivec support fixed
161 BuildRequires:  gcc >= 5:3.3.2-3
162 %endif
163 %{?with_glslang:BuildRequires:  glslang-devel >= 11}
164 BuildRequires:  gmp-devel
165 BuildRequires:  gnutls-devel
166 BuildRequires:  jack-audio-connection-kit-devel
167 %{?with_kvazaar:BuildRequires:  kvazaar-devel >= 0.8.1}
168 %{?with_ladspa:BuildRequires:   ladspa-devel}
169 BuildRequires:  lame-libs-devel >= 3.98.3
170 %{?with_lensfun:BuildRequires:  lensfun-devel >= 0.3.95}
171 BuildRequires:  libass-devel
172 %ifarch %{armv6}
173 BuildRequires:  libatomic-devel
174 %endif
175 %{?with_iec61883:BuildRequires: libavc1394-devel}
176 %{?with_bs2b:BuildRequires:     libbs2b-devel}
177 BuildRequires:  libbluray-devel
178 %{?with_caca:BuildRequires:     libcaca-devel}
179 BuildRequires:  libcdio-paranoia-devel >= 0.90-2
180 %{?with_chromaprint:BuildRequires:      libchromaprint-devel}
181 %{?with_crystalhd:BuildRequires:        libcrystalhd-devel}
182 %{?with_dc1394:BuildRequires:   libdc1394-devel >= 2}
183 %{?with_libdrm:BuildRequires:   libdrm-devel}
184 %{?with_gsm:BuildRequires:      libgsm-devel}
185 %{?with_iec61883:BuildRequires: libiec61883-devel}
186 %{?with_libklvanc:BuildRequires:        libklvanc-devel}
187 %{?with_modplug:BuildRequires:  libmodplug-devel}
188 %{?with_libmysofa:BuildRequires:        libmysofa-devel >= 0.7}
189 %{?with_openmpt:BuildRequires: libopenmpt-devel >= 0.4.5}
190 %if %{with dc1394} || %{with iec61883}
191 BuildRequires:  libraw1394-devel >= 2
192 %endif
193 %{?with_librist:BuildRequires:  librist-devel >= 0.2}
194 %{?with_librsvg:BuildRequires:  librsvg-devel >= 2}
195 BuildRequires:  librtmp-devel
196 %{?with_ssh:BuildRequires:      libssh-devel}
197 %{?with_smb:BuildRequires:      libsmbclient-devel}
198 %{?with_theora:BuildRequires:   libtheora-devel >= 1.0-0.beta3}
199 BuildRequires:  libtool >= 2:1.4d-3
200 BuildRequires:  libv4l-devel
201 %if %{with va}
202 BuildRequires:  libva-devel >= 1.0.3
203 BuildRequires:  libva-drm-devel >= 1.0.3
204 BuildRequires:  libva-x11-devel >= 1.0.3
205 %endif
206 BuildRequires:  libvdpau-devel >= 1.3
207 BuildRequires:  libvorbis-devel
208 %{?with_vpx:BuildRequires:      libvpx-devel >= 1.4.0}
209 %{?with_webp:BuildRequires:     libwebp-devel >= 0.4.0}
210 # X264_BUILD >= 118
211 %{?with_x264:BuildRequires:     libx264-devel >= 0.1.3-1.20111212_2245}
212 # X265_BUILD >= 70
213 %{?with_x265:BuildRequires:     libx265-devel >= 1.9}
214 # libxcb xcb-shm xcb-xfixes xcb-shape
215 BuildRequires:  libxcb-devel >= 1.4
216 %{?with_libxml2:BuildRequires:  libxml2-devel >= 2}
217 %{?with_lv2:BuildRequires:      lilv-devel}
218 %{?with_v4l2_request:BuildRequires:     linux-libc-headers >= 7:5.11.0}
219 %{?with_lv2:BuildRequires:      lv2-devel}
220 %{?with_mfx:BuildRequires:      mfx_dispatch-devel >= 1.19}
221 %ifarch %{ix86}
222 %ifnarch i386 i486
223 BuildRequires:  nasm
224 %endif
225 %endif
226 %{?with_ffnvcodec:BuildRequires:        nv-codec-headers >= 9.1.23.1}
227 # amrnb,amrwb
228 %{?with_amr:BuildRequires:      opencore-amr-devel}
229 %{?with_opencv:BuildRequires:   opencv-devel >= 2}
230 %{?with_openh264:BuildRequires: openh264-devel >= 1.3}
231 BuildRequires:  openjpeg2-devel >= 2.1
232 BuildRequires:  opus-devel
233 BuildRequires:  perl-Encode
234 BuildRequires:  perl-tools-pod
235 %{?with_pocketsphinx:BuildRequires:     pocketsphinx-devel > 0.8}
236 BuildRequires:  pkgconfig
237 %{?with_pulseaudio:BuildRequires:       pulseaudio-devel}
238 %{?with_rabbitmq:BuildRequires: rabbitmq-c-devel >= 0.7.1}
239 %{?with_rav1e:BuildRequires:    rav1e-devel >= 0.4.0}
240 %{?with_rkmpp:BuildRequires:    rockchip-mpp-devel >= 1.3.7}
241 BuildRequires:  rpmbuild(macros) >= 2.007
242 %{?with_rubberband:BuildRequires:       rubberband-devel >= 1.8.1}
243 %{?with_shine:BuildRequires:    shine-devel >= 3.0.0}
244 %{?with_snappy:BuildRequires:   snappy-devel}
245 %{?with_soxr:BuildRequires:     soxr-devel}
246 BuildRequires:  speex-devel >= 1:1.2-rc1
247 %{?with_glslang:BuildRequires:  spirv-tools-devel}
248 %{?with_srt:BuildRequires:      srt-devel >= 1.3}
249 %{?with_svtav1:BuildRequires:   svt-av1-devel >= 0.8.4}
250 BuildRequires:  tar >= 1:1.22
251 %{?with_tesseract:BuildRequires:        tesseract-devel}
252 %{?with_doc:BuildRequires:      tetex}
253 %{?with_doc:BuildRequires:      texi2html}
254 %{?with_doc:BuildRequires:      texinfo}
255 BuildRequires:  twolame-devel >= 0.3.10
256 %{?with_uavs3d:BuildRequires:   uavs3d-devel >= 1.1.41}
257 %{?with_v4l2_request:BuildRequires:     udev-devel}
258 %{?with_vapoursynth:BuildRequires:      vapoursynth-devel >= 42}
259 %{?with_vidstab:BuildRequires:  vid.stab-devel >= 0.98}
260 %{?with_vmaf:BuildRequires:     vmaf-devel >= 1.5.2}
261 %{?with_voamrwbenc:BuildRequires:       vo-amrwbenc-devel}
262 %{?with_ilbc:BuildRequires:     webrtc-libilbc-devel}
263 %{?with_avs:BuildRequires:      xavs-devel}
264 %{?with_avs2:BuildRequires:     xavs2-devel >= 1.3}
265 BuildRequires:  xorg-lib-libX11-devel
266 BuildRequires:  xorg-lib-libXext-devel
267 BuildRequires:  xorg-lib-libXv-devel
268 %{?with_xvid:BuildRequires:     xvid-devel >= 1:1.1.0}
269 BuildRequires:  xz
270 BuildRequires:  xz-devel
271 %{?with_zmq:BuildRequires:      zeromq-devel >= 4.2.1}
272 %{?with_zimg:BuildRequires:     zimg-devel >= 2.7.0}
273 BuildRequires:  zlib-devel
274 %{?with_zvbi:BuildRequires:     zvbi-devel >= 0.2.28}
275 %{?with_autoreqdep:BuildConflicts:      libpostproc}
276 # overflows maximum hash table size
277 BuildConflicts: pdksh < 5.2.14-57
278 Requires:       %{name}-libs = %{version}-%{release}
279 Suggests:       fontconfig
280 Suggests:       fonts-TTF-Roboto
281 Obsoletes:      libpostproc
282 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
283
284 %define         specflags       -fno-strict-aliasing
285
286 # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one)
287 %define         specflags_ia32  -fomit-frame-pointer
288 # -mmmx is needed to enable <mmintrin.h> code.
289 %define         specflags_i586  -mmmx
290 %define         specflags_i686  -mmmx
291 %define         specflags_ppc   -fPIC
292
293 %description
294 FFmpeg is a complete solution to record, convert and stream audio and
295 video. It is a command line tool to convert one video file format to
296 another. It also supports grabbing and encoding in real time from a TV
297 card.
298
299 %description -l pl.UTF-8
300 FFmpeg to kompletne rozwiÄ…zanie nagrywania, konwersji i transmisji
301 strumieni dźwiÄ™ku i obrazu. Jest to dziaÅ‚ajÄ…ce z linii poleceÅ„
302 narzÄ™dzie do konwersji obrazu z jednego formatu do innego. ObsÅ‚uguje
303 także przechwytywanie i kodowanie w czasie rzeczywistym z karty
304 telewizyjnej.
305
306 %package libs
307 Summary:        ffmpeg libraries
308 Summary(pl.UTF-8):      Biblioteki ffmpeg
309 Group:          Libraries
310 Requires:       SDL2 >= 2.0.1
311 %{?with_vulkan:Requires:        Vulkan-Loader >= 1.1.97}
312 %{?with_aom:Requires:   aom >= 1.0.0}
313 Requires:       celt >= 0.11.0
314 %{?with_dav1d:Requires: dav1d >= 0.5.0}
315 %{?with_avs2:Requires:  davs2 >= 1.6}
316 %{?with_flite:Requires: flite >= 1.4}
317 %if "%(rpm -q --qf '%{V}' gnutls-devel)" >= "3.0.20"
318 # uses gnutls_certificate_set_x509_system_trust if >= 3.0.20
319 Requires:       gnutls-libs >= 3.0.20
320 %endif
321 %{?with_kvazaar:Requires:       kvazaar-libs >= 0.8.1}
322 %{?with_libmysofa:Requires:     libmysofa >= 0.7}
323 %{?with_openmpt:Requires: libopenmpt >= 0.4.5}
324 %{?with_librist:Requires:       librist >= 0.2}
325 %{?with_theora:Requires:        libtheora >= 1.0-0.beta3}
326 %if %{with va}
327 Requires:       libva >= 1.0.3
328 Requires:       libva-drm >= 1.0.3
329 Requires:       libva-x11 >= 1.0.3
330 %endif
331 Requires:       libvdpau >= 1.3
332 %{?with_vpx:Requires:   libvpx >= 1.4.0}
333 %{?with_webp:Requires:  libwebp >= 0.4.0}
334 %{?with_x264:Requires:  libx264 >= 0.1.3-1.20111212_2245}
335 %{?with_x265:Requires:  libx265 >= 1.9}
336 Requires:       libxcb >= 1.4
337 Requires:       lame-libs >= 3.98.3
338 %{?with_mfx:Requires:   mfx_dispatch >= 1.19}
339 %{?with_openh264:Requires:      openh264 >= 1.3}
340 Requires:       openjpeg2 >= 2.1
341 %{?with_rabbitmq:Requires:      rabbitmq-c >= 0.7.1}
342 %{?with_rav1e:Requires: rav1e-libs >= 0.4.0}
343 %{?with_rkmpp:Requires: rockchip-mpp >= 1.3.7}
344 %{?with_rubberband:Requires:    rubberband-libs >= 1.8.1}
345 %{?with_shine:Requires: shine >= 3.0.0}
346 Requires:       speex >= 1:1.2-rc1
347 %{?with_srt:Requires:   srt >= 1.3}
348 %{?with_svtav1:Requires:        svt-av1 >= 0.8.4}
349 Requires:       twolame-libs >= 0.3.10
350 %{?with_uavs3d:Requires:        uavs3d >= 1.1.41}
351 %{?with_vapoursynth:Requires:   vapoursynth >= 42}
352 %{?with_vidstab:Requires:       vid.stab >= 0.98}
353 %{?with_vmaf:Requires:  vmaf-libs >= 1.5.2}
354 %{?with_avs2:Requires:  xavs2 >= 1.3}
355 %{?with_xvid:Requires:  xvid >= 1:1.1.0}
356 %{?with_zmq:Requires:   zeromq >= 4.2.1}
357 %{?with_zimg:Requires:  zimg >= 2.7.0}
358 %{?with_zvbi:Requires:  zvbi >= 0.2.28}
359
360 %description libs
361 This package contains the ffmpeg shared libraries:
362 - the codec library (libavcodec). It supports most existing encoding
363   formats (MPEG, DivX, MPEG4, AC3, DV...),
364 - demuxer library (libavformat). It supports most existing file
365   formats (AVI, MPEG, OGG, Matroska, ASF...),
366 - video postprocessing library (libpostproc).
367
368 %description libs -l pl.UTF-8
369 Ten pakiet zawiera biblioteki współdzielone ffmpeg:
370 - bibliotekÄ™ kodeków (libavcodec); obsÅ‚uguje wiÄ™kszość istniejÄ…cych
371   formatów kodowania (MPEG, DivX, MPEG4, AC3, DV...),
372 - bibliotekÄ™ demuksera (libavformat); obsÅ‚uguje wiÄ™kszość istniejÄ…cych
373   formatów plików (AVI, MPEG, OGG, Matroska, ASF...),
374 - bibliotekÄ™ postprocessingu (libpostproc).
375
376 %package devel
377 Summary:        ffmpeg header files
378 Summary(pl.UTF-8):      Pliki nagłówkowe ffmpeg
379 Group:          Development/Libraries
380 Requires:       %{name}-libs = %{version}-%{release}
381 # Libs.private from *.pc
382 %{?with_openal:Requires:        OpenAL-devel >= 1.1}
383 %{?with_opencl:Requires:        OpenCL-devel >= 1.2}
384 %{?with_opengl:Requires:        OpenGL-devel}
385 %{?with_vulkan:Requires:        Vulkan-Loader-devel >= 1.1.97}
386 Requires:       SDL2-devel >= 2.0.1
387 Requires:       alsa-lib-devel
388 %{?with_aom:Requires:   aom-devel >= 1.0.0}
389 %{?with_aribb24:Requires:       aribb24-devel}
390 %{?with_avs2:Requires:  davs2-devel >= 1.6}
391 Requires:       bzip2-devel
392 Requires:       celt-devel >= 0.11.0
393 %{?with_codec2:Requires:        codec2-devel}
394 %{?with_dav1d:Requires: dav1d-devel >= 0.5.0}
395 %{?with_fdk_aac:Requires:       fdk-aac-devel}
396 %{?with_flite:Requires: flite-devel >= 1.4}
397 Requires:       fontconfig-devel
398 Requires:       freetype-devel
399 %{?with_fribidi:Requires:       fribidi-devel}
400 %{?with_gme:Requires:   game-music-emu-devel}
401 %{?with_glslang:Requires:       glslang-devel}
402 Requires:       gnutls-devel
403 Requires:       jack-audio-connection-kit-devel
404 %{?with_kvazaar:Requires:       kvazaar-devel >= 0.8.1}
405 Requires:       lame-libs-devel >= 3.98.3
406 %{?with_lensfun:Requires:       lensfun-devel >= 0.3.95}
407 Requires:       libass-devel
408 %{?with_iec61883:Requires:      libavc1394-devel}
409 Requires:       libbluray-devel
410 %{?with_bs2b:Requires:  libbs2b-devel}
411 %{?with_caca:Requires:  libcaca-devel}
412 Requires:       libcdio-paranoia-devel >= 0.90-2
413 %{?with_chromaprint:Requires:   libchromaprint-devel}
414 %{?with_crystalhd:Requires:     libcrystalhd-devel}
415 %{?with_dc1394:Requires:        libdc1394-devel >= 2}
416 %{?with_libdrm:Requires:        libdrm-devel}
417 %{?with_gsm:Requires:   libgsm-devel}
418 %{?with_iec61883:Requires:      libiec61883-devel}
419 %{?with_libklvanc:Requires:     libklvanc-devel}
420 %{?with_modplug:Requires:       libmodplug-devel}
421 %{?with_libmysofa:Requires:     libmysofa-devel >= 0.7}
422 %{?with_openmpt:Requires: libopenmpt-devel >= 0.4.5}
423 %if %{with dc1394} || %{with iec61883}
424 Requires:       libraw1394-devel >= 2
425 %endif
426 %{?with_librist:Requires:       librist-devel >= 0.2}
427 %{?with_librsvg:Requires:       librsvg-devel >= 2}
428 Requires:       librtmp-devel
429 %{?with_smb:Requires:   libsmbclient-devel}
430 %{?with_ssh:Requires:   libssh-devel}
431 Requires:       libstdc++-devel
432 %{?with_theora:Requires:        libtheora-devel >= 1.0-0.beta3}
433 Requires:       libv4l-devel
434 %{?with_va:Requires:    libva-devel >= 1.0.3}
435 %{?with_va:Requires:    libva-drm-devel >= 1.0.3}
436 %{?with_va:Requires:    libva-x11-devel >= 1.0.3}
437 Requires:       libvdpau-devel >= 1.3
438 Requires:       libvorbis-devel
439 %{?with_vpx:Requires:   libvpx-devel >= 1.4.0}
440 %{?with_webp:Requires:  libwebp-devel >= 0.4.0}
441 %{?with_x264:Requires:  libx264-devel >= 0.1.3-1.20110625_2245}
442 %{?with_x265:Requires:  libx265-devel >= 1.9}
443 # libxcb xcb-shm xcb-xfixes xcb-shape
444 Requires:       libxcb-devel >= 1.4
445 %{?with_libxml2:Requires:       libxml2-devel >= 2}
446 %{?with_lv2:Requires:   lilv-devel}
447 %{?with_mfx:Requires:   mfx_dispatch-devel >= 1.19}
448 %{?with_amr:Requires:   opencore-amr-devel}
449 %{?with_opencv:Requires:        opencv-devel >= 2}
450 %{?with_openh264:Requires:      openh264-devel >= 1.3}
451 Requires:       openjpeg2-devel >= 2.1
452 Requires:       opus-devel
453 %{?with_pulseaudio:Requires:    pulseaudio-devel}
454 %{?with_rabbitmq:Requires:      rabbitmq-c-devel >= 0.7.1}
455 %{?with_rav1e:Requires: rav1e-devel >= 0.4.0}
456 %{?with_rkmpp:Requires: rockchip-mpp-devel >= 1.3.7}
457 %{?with_rubberband:Requires:    rubberband-devel >= 1.8.1}
458 %{?with_shine:Requires: shine-devel >= 3.0.0}
459 %{?with_snappy:Requires:        snappy-devel}
460 %{?with_soxr:Requires:  soxr-devel}
461 Requires:       speex-devel >= 1:1.2-rc1
462 %{?with_glslang:Requires:       spirv-tools-devel}
463 %{?with_srt:Requires:   srt-devel >= 1.3}
464 %{?with_svtav1:Requires:        svt-av1-devel >= 0.8.4}
465 %{?with_tesseract:Requires:     tesseract-devel}
466 Requires:       twolame-devel >= 0.3.10
467 %{?with_uavs3d:Requires:        uavs3d-devel >= 1.1.41}
468 %{?with_vapoursynth:Requires:   vapoursynth-devel >= 42}
469 %{?with_vidstab:Requires:       vid.stab-devel >= 0.98}
470 %{?with_voamrwbenc:Requires:    vo-amrwbenc-devel}
471 %{?with_vmaf:Requires:  vmaf-devel >= 1.5.2}
472 %{?with_ilbc:Requires:  webrtc-libilbc-devel}
473 %{?with_avs:Requires:   xavs-devel}
474 %{?with_avs2:Requires:  xavs2-devel >= 1.3}
475 Requires:       xorg-lib-libX11-devel
476 Requires:       xorg-lib-libXext-devel
477 Requires:       xorg-lib-libXv-devel
478 %{?with_xvid:Requires:  xvid-devel >= 1:1.1.0}
479 Requires:       xz-devel
480 %{?with_zmq:Requires:   zeromq-devel >= 4.2.1}
481 %{?with_zimg:Requires:  zimg-devel >= 2.7.0}
482 Requires:       zlib-devel
483 %{?with_zvbi:Requires:  zvbi-devel >= 0.2.28}
484 Obsoletes:      libpostproc-devel
485
486 %description devel
487 ffmpeg header files.
488
489 %description devel -l pl.UTF-8
490 Pliki nagłówkowe ffmpeg.
491
492 %package static
493 Summary:        ffmpeg static libraries
494 Summary(pl.UTF-8):      Statyczne biblioteki ffmpeg
495 Group:          Development/Libraries
496 Requires:       %{name}-devel = %{version}-%{release}
497
498 %description static
499 ffmpeg static libraries (libavcodec and libavformat).
500
501 %description static -l pl.UTF-8
502 Statyczne biblioteki ffmpeg (libavcodec i libavformat).
503
504 %package ffplay
505 Summary:        FFplay - SDL-based media player
506 Summary(pl.UTF-8):      FFplay - odtwarzacz mediów oparty na SDL
507 Group:          Applications/Multimedia
508 Requires:       %{name}-libs = %{version}-%{release}
509
510 %description ffplay
511 FFplay is a very simple and portable media player using the FFmpeg
512 libraries and the SDL library. It is mostly used as a test bench for
513 the various APIs of FFmpeg.
514
515 %description ffplay -l pl.UTF-8
516 FFplay to bardzo prosty i przenoÅ›ny odtwarzacz mediów używajÄ…cy
517 bibliotek FFmpeg oraz biblioteki SDL. Jest używany głównie do
518 testowania różnych API FFmpeg.
519
520 %package doc
521 Summary:        FFmpeg documentation in HTML format
522 Summary(pl.UTF-8):      Dokumentacja pakietu FFmpeg w formacie HTML
523 Group:          Documentation
524 BuildArch:      noarch
525
526 %description doc
527 FFmpeg documentation in HTML format.
528
529 %description doc -l pl.UTF-8
530 Dokumentacja pakietu FFmpeg w formacie HTML.
531
532 %prep
533 %setup -q
534 %patch0 -p1
535 %patch1 -p1
536 %patch2 -p1
537 %if %{with v4l2_request}
538 %patch3 -p1
539 %endif
540 %patch4 -p1
541
542 # package the grep result for mplayer, the result formatted as ./mplayer/configure
543 cat <<EOF > ffmpeg-avconfig
544 #! /bin/sh
545 libavdecoders_all="$(sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]')"
546 libavencoders_all="$(sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]')"
547 libavparsers_all="$(sed -n 's/^[^#]*PARSER.*(.*, *\(.*\)).*/\1_parser/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]')"
548 libavbsfs_all="$(sed -n 's/^[^#]*BSF.*(.*, *\(.*\)).*/\1_bsf/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]')"
549 libavdemuxers_all="$(sed -n 's/^[^#]*DEMUX.*(.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]')"
550 libavmuxers_all="$(sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]')"
551 libavprotocols_all="$(sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]')"
552 libavhwaccels_all="$(sed -n 's/^[^#]*HWACCEL.*(.*, *\(.*\)).*/\1_hwaccel/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]')"
553 libavfilters_all="$(sed -n 's/^[^#]*FILTER.*(.*, *\(.*\),.*).*/\1_filter/p' libavfilter/allfilters.c | tr '[a-z]' '[A-Z]')"
554 EOF
555 cat <<'EOF' >> ffmpeg-avconfig
556
557 case "$1" in
558 --decoders)
559         echo $libavdecoders_all
560         ;;
561 --encoders)
562         echo $libavencoders_all
563         ;;
564 --parsers)
565         echo $libavparsers_all
566         ;;
567 --bsfs)
568         echo $libavbsfs_all
569         ;;
570 --demuxers)
571         echo $libavdemuxers_all
572         ;;
573 --muxers)
574         echo $libavmuxers_all
575         ;;
576 --protocols)
577         echo $libavprotocols_all
578         ;;
579 --hwaccels)
580         echo $libavhwaccels_all
581         ;;
582 --filters)
583         echo $libavfilters_all
584         ;;
585 *)
586         cat <<USAGE
587 Usage: $0 [OPTION]
588 Options:
589   --decoders
590   --encoders
591   --parsers
592   --bsfs
593   --demuxers
594   --muxers
595   --protocols
596   --hwaccels
597   --filters
598 USAGE
599         exit 1;;
600 esac
601
602 exit 0
603 EOF
604
605 %build
606 # notes:
607 # - it's not autoconf configure
608 # - --disable-debug, --disable-optimizations, tune=generic causes not to override our optflags
609 ./configure \
610         --arch=%{_target_base_arch} \
611         --prefix=%{_prefix} \
612         --libdir=%{_libdir} \
613         --shlibdir=%{_libdir} \
614         --mandir=%{_mandir} \
615         --extra-cflags="-D_GNU_SOURCE=1 %{rpmcppflags} %{rpmcflags}%{?with_decklink: -I/usr/include/decklink} -I/usr/include/opencv4" \
616         --extra-cxxflags="-D_GNU_SOURCE=1 %{rpmcppflags} %{rpmcxxflags}%{?with_decklink: -I/usr/include/decklink} -I/usr/include/opencv4" \
617         --extra-ldflags="%{rpmcflags} %{rpmldflags}" \
618 %ifarch %{armv6}
619         --extra-libs="-latomic" \
620 %endif
621         --cc="%{__cc}" \
622         --disable-debug \
623         --disable-optimizations \
624         --disable-stripping \
625         %{!?with_doc:--disable-doc} \
626         --enable-avfilter \
627         --enable-avresample \
628         %{?with_chromaprint:--enable-chromaprint} \
629         %{?with_cudasdk:--enable-cuda-nvcc} \
630         %{?with_decklink:--enable-decklink} \
631         %{!?with_ffnvcodec:--disable-ffnvcodec} \
632         --enable-gnutls \
633         --enable-gpl \
634         --enable-version3 \
635         %{?with_frei0r:--enable-frei0r} \
636         %{?with_ladspa:--enable-ladspa} \
637         %{?with_aom:--enable-libaom} \
638         %{?with_aribb24:--enable-libaribb24} \
639         --enable-libass \
640         --enable-libbluray \
641         %{?with_bs2b:--enable-libbs2b} \
642         %{?with_caca:--enable-libcaca} \
643         --enable-libcelt \
644         --enable-libcdio \
645         %{?with_codec2:--enable-libcodec2} \
646         %{?with_dav1d:--enable-libdav1d} \
647         %{?with_avs2:--enable-libdavs2} \
648         %{?with_dc1394:--enable-libdc1394} \
649         %{?with_libdrm:--enable-libdrm} \
650         %{?with_flite:--enable-libflite} \
651         --enable-libfontconfig \
652         --enable-libfreetype \
653         %{?with_fribidi:--enable-libfribidi} \
654         %{?with_glslang:--enable-libglslang} \
655         %{?with_gme:--enable-libgme} \
656         %{?with_gsm:--enable-libgsm} \
657         %{?with_iec61883:--enable-libiec61883} \
658         %{?with_ilbc:--enable-libilbc} \
659         --enable-libjack \
660         %{?with_kvazaar:--enable-libkvazaar} \
661         %{?with_libklvanc:--enable-libklvanc} \
662         %{?with_lensfun:--enable-liblensfun} \
663         %{?with_mfx:--enable-libmfx} \
664         %{?with_modplug:--enable-libmodplug} \
665         --enable-libmp3lame \
666         %{?with_libmysofa:--enable-libmysofa} \
667         %{?with_amr:--enable-libopencore-amrnb} \
668         %{?with_amr:--enable-libopencore-amrwb} \
669         %{?with_opencv:--enable-libopencv} \
670         %{?with_openh264:--enable-libopenh264} \
671         --enable-libopenjpeg \
672         %{?with_openmpt:--enable-libopenmpt} \
673         --enable-libopus \
674         %{?with_pulseaudio:--enable-libpulse} \
675         %{?with_rabbitmq:--enable-librabbitmq} \
676         %{?with_rav1e:--enable-librav1e} \
677         %{?with_librist:--enable-librist} \
678         %{?with_librsvg:--enable-librsvg} \
679         --enable-librtmp \
680         %{?with_rubberband:--enable-librubberband} \
681         %{?with_shine:--enable-libshine} \
682         %{?with_smb:--enable-libsmbclient} \
683         %{?with_snappy:--enable-libsnappy} \
684         %{?with_soxr:--enable-libsoxr} \
685         --enable-libspeex \
686         %{?with_srt:--enable-libsrt} \
687         %{?with_ssh:--enable-libssh} \
688         %{?with_svtav1:--enable-libsvtav1} \
689         %{?with_tesseract:--enable-libtesseract} \
690         %{?with_theora:--enable-libtheora} \
691         --enable-libtwolame \
692         %{?with_uavs3d:--enable-libuavs3d} \
693         --enable-libv4l2 \
694         %{?with_vidstab:--enable-libvidstab} \
695         %{?with_vmaf:--enable-libvmaf} \
696         %{?with_voamrwbenc:--enable-libvo-amrwbenc} \
697         --enable-libvorbis \
698         %{?with_vpx:--enable-libvpx} \
699         %{?with_webp:--enable-libwebp} \
700         %{?with_x264:--enable-libx264} \
701         %{?with_x265:--enable-libx265} \
702         %{?with_avs:--enable-libxavs} \
703         %{?with_avs2:--enable-libxavs2} \
704         --enable-libxcb \
705         %{?with_libxml2:--enable-libxml2} \
706         %{?with_xvid:--enable-libxvid} \
707         %{?with_zimg:--enable-libzimg} \
708         %{?with_zmq:--enable-libzmq} \
709         %{?with_zvbi:--enable-libzvbi} \
710         %{?with_lv2:--enable-lv2} \
711         %{?with_omx:--enable-omx} \
712         %{?with_openal:--enable-openal} \
713         %{?with_opencl:--enable-opencl} \
714         %{?with_opengl:--enable-opengl} \
715         %{?with_pocketsphinx:--enable-pocketsphinx} \
716         --enable-postproc \
717         --enable-pthreads \
718         %{?with_rkmpp:--enable-rkmpp} \
719         --enable-shared \
720         --enable-swscale \
721         %{!?with_va:--disable-vaapi} \
722         %{?with_vapoursynth:--enable-vapoursynth} \
723         %{?with_vulkan:--enable-vulkan} \
724 %if %{with v4l2_request}
725         --enable-libudev \
726         --enable-v4l2-request \
727 %endif
728 %ifnarch %{ix86} %{x8664}
729         --disable-mmx \
730 %endif
731 %ifarch i386 i486
732         --disable-mmx \
733 %endif
734 %ifarch x32
735         --disable-asm \
736 %endif
737 %if %{with nonfree}
738         --enable-nonfree \
739         %{?with_fdk_aac:--enable-libfdk-aac} \
740         %{?with_npp:--enable-libnpp} \
741 %endif
742         --enable-runtime-cpudetect
743
744 %{__make} \
745         V=1
746
747 # CC_O to add -c to commandline. makefile should be patched
748 %{__make} tools/qt-faststart V=1 CC_O='-c -o $@'
749
750 %{?with_tests:%{__make} check V=1}
751
752 %install
753 rm -rf $RPM_BUILD_ROOT
754 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},/etc/{sysconfig,rc.d/init.d}} \
755         $RPM_BUILD_ROOT%{_includedir}/ffmpeg
756
757 %{__make} install install-headers \
758         DESTDIR=$RPM_BUILD_ROOT \
759         V=1
760
761 # install nonstandard, non-public headers manually
762 cp -a config.h $RPM_BUILD_ROOT%{_includedir}/ffmpeg
763 for a in libavutil/*/{asm,bswap}.h; do
764         install -Dp $a $RPM_BUILD_ROOT%{_includedir}/$a
765 done
766 cp -a libavformat/riff.h $RPM_BUILD_ROOT%{_includedir}/libavformat
767
768 install -p tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
769
770 # install as ffmpeg-avconfig to avoid with possible programs looking for
771 # ffmpeg-config and expecting --libs output from it which is not implemented
772 # simple to do (by querying pkgconfig), but why?
773 install -p ffmpeg-avconfig $RPM_BUILD_ROOT%{_bindir}/ffmpeg-avconfig
774
775 # packaged as %doc in -doc
776 %if %{with doc}
777 %{__rm} $RPM_BUILD_ROOT%{_docdir}/ffmpeg/*.html
778 %endif
779
780 install -d $RPM_BUILD_ROOT%{_examplesdir}
781 %{__mv} $RPM_BUILD_ROOT%{_datadir}/ffmpeg/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
782
783 %clean
784 rm -rf $RPM_BUILD_ROOT
785
786 %post   libs -p /sbin/ldconfig
787 %postun libs -p /sbin/ldconfig
788
789 %files
790 %defattr(644,root,root,755)
791 %doc CREDITS LICENSE.md MAINTAINERS README.md RELEASE_NOTES doc/APIchanges
792 %attr(755,root,root) %{_bindir}/ffmpeg
793 %attr(755,root,root) %{_bindir}/ffprobe
794 %attr(755,root,root) %{_bindir}/qt-faststart
795 %dir %{_datadir}/ffmpeg
796 %{_datadir}/ffmpeg/*.ffpreset
797 %{_datadir}/ffmpeg/ffprobe.xsd
798 %if %{with doc}
799 %{_mandir}/man1/ffmpeg.1*
800 %{_mandir}/man1/ffmpeg-all.1*
801 %{_mandir}/man1/ffmpeg-bitstream-filters.1*
802 %{_mandir}/man1/ffmpeg-codecs.1*
803 %{_mandir}/man1/ffmpeg-devices.1*
804 %{_mandir}/man1/ffmpeg-filters.1*
805 %{_mandir}/man1/ffmpeg-formats.1*
806 %{_mandir}/man1/ffmpeg-protocols.1*
807 %{_mandir}/man1/ffmpeg-resampler.1*
808 %{_mandir}/man1/ffmpeg-scaler.1*
809 %{_mandir}/man1/ffmpeg-utils.1*
810 %{_mandir}/man1/ffprobe.1*
811 %{_mandir}/man1/ffprobe-all.1*
812 %endif
813
814 %files libs
815 %defattr(644,root,root,755)
816 %attr(755,root,root) %{_libdir}/libavcodec.so.*.*.*
817 %attr(755,root,root) %ghost %{_libdir}/libavcodec.so.58
818 %attr(755,root,root) %{_libdir}/libavdevice.so.*.*.*
819 %attr(755,root,root) %ghost %{_libdir}/libavdevice.so.58
820 %attr(755,root,root) %{_libdir}/libavfilter.so.*.*.*
821 %attr(755,root,root) %ghost %{_libdir}/libavfilter.so.7
822 %attr(755,root,root) %{_libdir}/libavformat.so.*.*.*
823 %attr(755,root,root) %ghost %{_libdir}/libavformat.so.58
824 %attr(755,root,root) %{_libdir}/libavresample.so.*.*.*
825 %attr(755,root,root) %ghost %{_libdir}/libavresample.so.4
826 %attr(755,root,root) %{_libdir}/libavutil.so.*.*.*
827 %attr(755,root,root) %ghost %{_libdir}/libavutil.so.56
828 %attr(755,root,root) %{_libdir}/libpostproc.so.*.*.*
829 %attr(755,root,root) %ghost %{_libdir}/libpostproc.so.55
830 %attr(755,root,root) %{_libdir}/libswresample.so.*.*.*
831 %attr(755,root,root) %ghost %{_libdir}/libswresample.so.3
832 %attr(755,root,root) %{_libdir}/libswscale.so.*.*.*
833 %attr(755,root,root) %ghost %{_libdir}/libswscale.so.5
834
835 %files devel
836 %defattr(644,root,root,755)
837 %doc doc/optimization.txt
838 %attr(755,root,root) %{_bindir}/ffmpeg-avconfig
839 %attr(755,root,root) %{_libdir}/libavcodec.so
840 %attr(755,root,root) %{_libdir}/libavdevice.so
841 %attr(755,root,root) %{_libdir}/libavfilter.so
842 %attr(755,root,root) %{_libdir}/libavformat.so
843 %attr(755,root,root) %{_libdir}/libavresample.so
844 %attr(755,root,root) %{_libdir}/libavutil.so
845 %attr(755,root,root) %{_libdir}/libpostproc.so
846 %attr(755,root,root) %{_libdir}/libswresample.so
847 %attr(755,root,root) %{_libdir}/libswscale.so
848 %{_includedir}/ffmpeg
849 %{_includedir}/libavcodec
850 %{_includedir}/libavdevice
851 %{_includedir}/libavfilter
852 %{_includedir}/libavformat
853 %{_includedir}/libavresample
854 %{_includedir}/libavutil
855 %{_includedir}/libpostproc
856 %{_includedir}/libswresample
857 %{_includedir}/libswscale
858 %{_pkgconfigdir}/libavcodec.pc
859 %{_pkgconfigdir}/libavdevice.pc
860 %{_pkgconfigdir}/libavfilter.pc
861 %{_pkgconfigdir}/libavformat.pc
862 %{_pkgconfigdir}/libavresample.pc
863 %{_pkgconfigdir}/libavutil.pc
864 %{_pkgconfigdir}/libpostproc.pc
865 %{_pkgconfigdir}/libswresample.pc
866 %{_pkgconfigdir}/libswscale.pc
867 %if %{with doc}
868 %{_mandir}/man3/libavcodec.3*
869 %{_mandir}/man3/libavdevice.3*
870 %{_mandir}/man3/libavfilter.3*
871 %{_mandir}/man3/libavformat.3*
872 %{_mandir}/man3/libavutil.3*
873 %{_mandir}/man3/libswresample.3*
874 %{_mandir}/man3/libswscale.3*
875 %endif
876 %{_examplesdir}/%{name}-%{version}
877
878 %files static
879 %defattr(644,root,root,755)
880 %{_libdir}/libavcodec.a
881 %{_libdir}/libavdevice.a
882 %{_libdir}/libavfilter.a
883 %{_libdir}/libavformat.a
884 %{_libdir}/libavresample.a
885 %{_libdir}/libavutil.a
886 %{_libdir}/libpostproc.a
887 %{_libdir}/libswresample.a
888 %{_libdir}/libswscale.a
889
890 %files ffplay
891 %defattr(644,root,root,755)
892 %attr(755,root,root) %{_bindir}/ffplay
893 %if %{with doc}
894 %{_mandir}/man1/ffplay.1*
895 %{_mandir}/man1/ffplay-all.1*
896 %endif
897
898 %if %{with doc}
899 %files doc
900 %defattr(644,root,root,755)
901 %doc doc/*.html
902 %endif
This page took 0.109058 seconds and 4 git commands to generate.