# For a complete build enable these two %bcond all_codecs 1 # Break dependency cycles by disabling certain optional dependencies. %bcond bootstrap 0 %global pkg_suffix %{nil} # Fails due to asm issue %ifarch %{ix86} %{arm} %bcond lto 0 %else %bcond lto 1 %endif %ifarch x86_64 %bcond vpl 1 %bcond vmaf 1 %else %bcond vpl 0 %bcond vmaf 0 %endif %if 0%{?rhel} # Disable dependencies not available or wanted on RHEL/EPEL %bcond chromaprint 0 %else # Break chromaprint dependency cycle (Fedora-only): # ffmpeg (libavcodec-free) → chromaprint → ffmpeg %bcond chromaprint %{?_with_bootstrap:0}%{!?_with_bootstrap:1} %endif %if 0%{?rhel} && 0%{?rhel} <= 9 # Disable some features because RHEL 9 packages are too old %bcond lcms2 0 %bcond placebo 0 %else %bcond lcms2 1 %bcond placebo 1 %endif %if %{with all_codecs} %bcond evc 0 %bcond rtmp 0 %bcond vvc 1 %bcond x264 1 %bcond x265 1 %else %bcond evc 0 %bcond rtmp 0 %bcond vvc 0 %bcond x264 0 %bcond x265 0 %endif %if %{without lto} %global _lto_cflags %{nil} %endif %global av_codec_soversion 61 %global av_device_soversion 61 %global av_filter_soversion 10 %global av_format_soversion 61 %global av_util_soversion 59 %global postproc_soversion 58 %global swresample_soversion 5 %global swscale_soversion 8 Name: ffmpeg %global pkg_name %{name}%{?pkg_suffix} Version: 7.1.1 Release: 4%{?dist} Summary: A complete solution to record, convert and stream audio and video License: GPL-3.0-or-later URL: https://ffmpeg.org/ Source0: https://ffmpeg.org/releases/%{name}-%{version}.tar.xz Source4: ffmpeg_free_sources Source20: enable_decoders Source21: enable_encoders # Scripts for generating tarballs Source90: ffmpeg_update_free_sources.sh Source91: ffmpeg_gen_free_tarball.sh # Fixes for reduced codec selection on free build Patch1: ffmpeg-codec-choice.patch # Allow to build with fdk-aac-free # See https://bugzilla.redhat.com/show_bug.cgi?id=1501522#c112 Patch2: ffmpeg-allow-fdk-aac-free.patch # Backport fix for CVE-2025-22921 Patch10: https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/7f9c7f9849a2155224711f0ff57ecdac6e4bfb57#/ffmpeg-CVE-2025-22921.patch # Add first_dts getter to libavformat for Chromium # See: https://bugzilla.redhat.com/show_bug.cgi?id=2240127 # Reference: https://crbug.com/1306560 Patch1002: ffmpeg-chromium.patch Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavfilter%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release} BuildRequires: fdk-aac-free-devel BuildRequires: game-music-emu-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: git-core BuildRequires: gnupg2 BuildRequires: ladspa-devel BuildRequires: lame-devel BuildRequires: make BuildRequires: nasm BuildRequires: perl(Pod::Man) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(aom) BuildRequires: pkgconfig(aribb24) >= 1.0.3 BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(codec2) BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(ffnvcodec) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fribidi) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(libilbc) BuildRequires: pkgconfig(lc3) %if %{with lcms2} BuildRequires: pkgconfig(lcms2) >= 2.13 %endif BuildRequires: pkgconfig(libaribcaption) >= 1.1.1 BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libbs2b) %if %{with chromaprint} BuildRequires: pkgconfig(libchromaprint) %endif BuildRequires: pkgconfig(libdrm) %if %{with placebo} BuildRequires: pkgconfig(libplacebo) >= 4.192.0 %endif BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(libva-drm) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(lilv-0) BuildRequires: pkgconfig(lv2) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(OpenCL) BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(shaderc) >= 2019.1 BuildRequires: pkgconfig(twolame) BuildRequires: pkgconfig(vapoursynth) BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(vo-amrwbenc) BuildRequires: pkgconfig(vpx) BuildRequires: pkgconfig(vulkan) >= 1.3.255 BuildRequires: pkgconfig(zimg) BuildRequires: pkgconfig(zlib) BuildRequires: texinfo BuildRequires: xvidcore-devel %if %{with rtmp} BuildRequires: librtmp-devel %endif %if %{with vpl} BuildRequires: pkgconfig(vpl) >= 2.6 %endif %if %{with evc} BuildRequires: pkgconfig(libxevd) BuildRequires: pkgconfig(libxeve) %endif %if %{with x264} BuildRequires: pkgconfig(x264) %endif %if %{with x265} BuildRequires: pkgconfig(x265) %endif %if %{with vmaf} BuildRequires: pkgconfig(libvmaf) %endif %description FFmpeg is a leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. %if %{without all_codecs} This build of ffmpeg is limited in the number of codecs supported. %endif %if "x%{?pkg_suffix}" != "x" %package -n %{pkg_name} Summary: A complete solution to record, convert and stream audio and video Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavfilter%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n %{pkg_name} FFmpeg is a leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. %if %{without all_codecs} This build of ffmpeg is limited in the number of codecs supported. %endif #/ "x%%{?pkg_suffix}" != "x" %endif %package -n %{pkg_name}-devel Summary: Development package for %{name} Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavdevice%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavfilter%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavformat%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswscale%{?pkg_suffix}-devel = %{version}-%{release} Requires: pkgconfig %description -n %{pkg_name}-devel FFmpeg is a leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. %package -n libavcodec%{?pkg_suffix} Summary: FFmpeg codec library Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libavcodec%{?pkg_suffix} The libavcodec library provides a generic encoding/decoding framework and contains multiple decoders and encoders for audio, video and subtitle streams, and several bitstream filters. %if %{without all_codecs} This build of ffmpeg is limited in the number of codecs supported. %endif %package -n libavcodec%{?pkg_suffix}-devel Summary: Development files for FFmpeg's codec library Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: pkgconfig %description -n libavcodec%{?pkg_suffix}-devel The libavcodec library provides a generic encoding/decoding framework and contains multiple decoders and encoders for audio, video and subtitle streams, and several bitstream filters. This subpackage contains the headers for FFmpeg libavcodec. %package -n libavdevice%{?pkg_suffix} Summary: FFmpeg device library Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavfilter%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libavdevice%{?pkg_suffix} The libavdevice library provides a generic framework for grabbing from and rendering to many common multimedia input/output devices, and supports several input and output devices, including Video4Linux2, VfW, DShow, and ALSA. %package -n libavdevice%{?pkg_suffix}-devel Summary: Development files for FFmpeg's device library Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavfilter%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavformat%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswscale%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavdevice%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: pkgconfig %description -n libavdevice%{?pkg_suffix}-devel The libavdevice library provides a generic framework for grabbing from and rendering to many common multimedia input/output devices, and supports several input and output devices, including Video4Linux2, VfW, DShow, and ALSA. This subpackage contains the headers for FFmpeg libavdevice. %package -n libavfilter%{?pkg_suffix} Summary: FFmpeg audio and video filtering library Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libavfilter%{?pkg_suffix} The libavfilter library provides a generic audio/video filtering framework containing several filters, sources and sinks. %package -n libavfilter%{?pkg_suffix}-devel Summary: Development files for FFmpeg's audio/video filter library Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavformat%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswscale%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavfilter%{?pkg_suffix} = %{version}-%{release} Requires: pkgconfig %description -n libavfilter%{?pkg_suffix}-devel The libavfilter library provides a generic audio/video filtering framework containing several filters, sources and sinks. This subpackage contains the headers for FFmpeg libavfilter. %package -n libavformat%{?pkg_suffix} Summary: FFmpeg's stream format library Requires: libavcodec%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libavformat%{?pkg_suffix} The libavformat library provides a generic framework for multiplexing and demultiplexing (muxing and demuxing) audio, video and subtitle streams. It encompasses multiple muxers and demuxers for multimedia container formats. %if %{without all_codecs} This build of ffmpeg is limited in the number of codecs supported. %endif %package -n libavformat%{?pkg_suffix}-devel Summary: Development files for FFmpeg's stream format library Requires: libavcodec%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswresample%{?pkg_suffix}-devel = %{version}-%{release} Requires: libavformat%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: pkgconfig %description -n libavformat%{?pkg_suffix}-devel The libavformat library provides a generic framework for multiplexing and demultiplexing (muxing and demuxing) audio, video and subtitle streams. It encompasses multiple muxers and demuxers for multimedia container formats. This subpackage contains the headers for FFmpeg libavformat. %package -n libavutil%{?pkg_suffix} Summary: FFmpeg's utility library Group: System/Libraries %description -n libavutil%{?pkg_suffix} The libavutil library is a utility library to aid portable multimedia programming. It contains safe portable string functions, random number generators, data structures, additional mathematics functions, cryptography and multimedia related functionality (like enumerations for pixel and sample formats). %package -n libavutil%{?pkg_suffix}-devel Summary: Development files for FFmpeg's utility library Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: pkgconfig %description -n libavutil%{?pkg_suffix}-devel The libavutil library is a utility library to aid portable multimedia programming. It contains safe portable string functions, random number generators, data structures, additional mathematics functions, cryptography and multimedia related functionality (like enumerations for pixel and sample formats). This subpackage contains the headers for FFmpeg libavutil. %package -n libpostproc%{?pkg_suffix} Summary: FFmpeg post-processing library Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libpostproc%{?pkg_suffix} A library with video postprocessing filters, such as deblocking and deringing filters, noise reduction, automatic contrast and brightness correction, linear/cubic interpolating deinterlacing. %package -n libpostproc%{?pkg_suffix}-devel Summary: Development files for the FFmpeg post-processing library Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libpostproc%{?pkg_suffix}%{_isa} = %{version}-%{release} Requires: pkgconfig %description -n libpostproc%{?pkg_suffix}-devel A library with video postprocessing filters, such as deblocking and deringing filters, noise reduction, automatic contrast and brightness correction, linear/cubic interpolating deinterlacing. This subpackage contains the headers for FFmpeg libpostproc. %package -n libswresample%{?pkg_suffix} Summary: FFmpeg software resampling library Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libswresample%{?pkg_suffix} The libswresample library performs audio conversion between different sample rates, channel layout and channel formats. %package -n libswresample%{?pkg_suffix}-devel Summary: Development files for the FFmpeg software resampling library Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswresample%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libswresample%{?pkg_suffix}-devel The libswresample library performs audio conversion between different sample rates, channel layout and channel formats. This subpackage contains the headers for FFmpeg libswresample. %package -n libswscale%{?pkg_suffix} Summary: FFmpeg image scaling and colorspace/pixel conversion library Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libswscale%{?pkg_suffix} The libswscale library performs image scaling and colorspace and pixel format conversion operations. %package -n libswscale%{?pkg_suffix}-devel Summary: Development files for FFmpeg's image scaling and colorspace library Provides: libswscale%{?pkg_suffix}-devel = %{version}-%{release} Conflicts: libswscale%{?pkg_suffix}-devel < %{version}-%{release} Requires: libavutil%{?pkg_suffix}-devel = %{version}-%{release} Requires: libswscale%{?pkg_suffix}%{_isa} = %{version}-%{release} %description -n libswscale%{?pkg_suffix}-devel The libswscale library performs image scaling and colorspace and pixel format conversion operations. This subpackage contains the headers for FFmpeg libswscale. %prep %autosetup -S git_am install -m 0644 %{SOURCE20} enable_decoders install -m 0644 %{SOURCE21} enable_encoders # fix -O3 -g in host_cflags sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure install -m0755 -d _doc/examples cp -a doc/examples/{*.c,Makefile,README} _doc/examples/ %build %set_build_flags # This is not a normal configure script, don't use %%configure ./configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --datadir=%{_datadir}/%{name} \ --docdir=%{_docdir}/%{name} \ --incdir=%{_includedir}/%{name} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --arch=%{_target_cpu} \ --optflags="%{build_cflags}" \ --extra-ldflags="%{build_ldflags}" \ --disable-htmlpages \ --disable-podpages \ --disable-txtpages \ --enable-pic \ --disable-stripping \ --enable-shared \ --disable-static \ --disable-debug \ --enable-gpl \ --enable-version3 \ --enable-nonfree \ --disable-libsmbclient \ --disable-openssl \ --enable-bzlib \ --disable-frei0r \ %if %{with chromaprint} --enable-chromaprint \ %else --disable-chromaprint \ %endif --disable-gcrypt \ --disable-gnutls \ --disable-ladspa \ %if %{with lcms2} --enable-lcms2 \ %endif --enable-libshaderc \ --enable-vulkan \ --disable-cuda-sdk \ --enable-libaom \ --enable-libaribb24 \ --enable-libaribcaption \ --enable-libass \ --disable-libbluray \ --disable-libbs2b \ --disable-libcaca \ --disable-libcdio \ --enable-libcodec2 \ --disable-libdav1d \ --disable-libdc1394 \ --disable-libdvdnav \ --disable-libdvdread \ --enable-libfdk-aac \ --disable-libflite \ --enable-libfontconfig \ --enable-libfreetype \ --disable-libfribidi \ --enable-libharfbuzz \ --enable-libgme \ --disable-libgsm \ --disable-libiec61883 \ --enable-libilbc \ --disable-libjack \ --disable-libjxl \ --enable-liblc3 \ --disable-libmodplug \ --enable-libmp3lame \ --disable-libmysofa \ --disable-libopenh264 \ --disable-libopenjpeg \ --disable-libopenmpt \ --enable-libopus \ %if %{with placebo} --enable-libplacebo \ %endif --enable-libpulse \ --disable-libqrencode \ --disable-librabbitmq \ --disable-librav1e \ --disable-librist \ --disable-librsvg \ --disable-librubberband \ --disable-libsnappy \ --disable-libsvtav1 \ --disable-libsoxr \ --disable-libspeex \ --disable-libssh \ --disable-libsrt \ --disable-libtesseract \ --disable-libtheora \ --enable-libtwolame \ --disable-libvidstab \ %if %{with vmaf} --enable-libvmaf \ %endif --disable-libvorbis \ --disable-libv4l2 \ --enable-libvpx \ --enable-libwebp \ --enable-libxml2 \ --enable-libzimg \ --disable-libzmq \ --disable-libzvbi \ %if %{with lto} --enable-lto \ %endif %if %{with vpl} --enable-libvpl \ %endif --enable-lv2 \ --enable-vaapi \ --enable-vdpau \ --disable-libopencore-amrnb \ --disable-libopencore-amrwb \ --enable-libvo-amrwbenc \ %if %{with evc} --enable-libxeve \ --enable-libxevd \ %endif %if %{with x264} --enable-libx264 \ %endif %if %{with x265} --enable-libx265 \ %endif %if %{with librtmp} --enable-librtmp \ %endif --enable-libxvid \ --enable-openal \ --enable-opencl \ --enable-opengl \ --enable-pthreads \ --enable-vapoursynth \ --disable-libxcb \ --disable-libxcb-shm \ --disable-libxcb-xfixes \ --disable-libxcb-shape \ %ifarch %{power64} %ifarch ppc64 --cpu=g5 \ %endif %ifarch ppc64p7 --cpu=power7 \ %endif %ifarch ppc64le --cpu=power8 \ %endif --enable-pic \ %endif %ifarch %{arm} --disable-runtime-cpudetect --arch=arm \ %ifarch armv6hl --cpu=armv6 \ %endif %ifarch armv7hl armv7hnl --cpu=armv7-a \ --enable-vfpv3 \ --enable-thumb \ %endif %ifarch armv7hl --disable-neon \ %endif %ifarch armv7hnl --enable-neon \ %endif %endif || cat ffbuild/config.log cat config.h cat config_components.h # Paranoia check %if %{without all_codecs} # DECODER for i in H264 HEVC HEVC_RKMPP VC1 VVC; do grep -q "#define CONFIG_${i}_DECODER 0" config_components.h done # ENCODER for i in LIBX264 LIBX264RGB LIBX265; do grep -q "#define CONFIG_${i}_ENCODER 0" config_components.h done for i in H264 HEVC; do for j in MF VIDEOTOOLBOX; do grep -q "#define CONFIG_${i}_${j}_ENCODER 0" config_components.h done done %endif %make_build V=1 %make_build documentation V=1 %make_build alltools V=1 %install %make_install V=1 # We will package is as %%doc in the devel package rm -rf %{buildroot}%{_datadir}/%{name}/examples %ldconfig_scriptlets -n libavcodec%{?pkg_suffix} %ldconfig_scriptlets -n libavdevice%{?pkg_suffix} %ldconfig_scriptlets -n libavfilter%{?pkg_suffix} %ldconfig_scriptlets -n libavformat%{?pkg_suffix} %ldconfig_scriptlets -n libavutil%{?pkg_suffix} %ldconfig_scriptlets -n libpostproc%{?pkg_suffix} %ldconfig_scriptlets -n libswresample%{?pkg_suffix} %ldconfig_scriptlets -n libswscle%{?pkg_suffix} %files -n %{pkg_name} %doc CREDITS README.md %{_bindir}/ffmpeg %{_bindir}/ffplay %{_bindir}/ffprobe %{_mandir}/man1/ff*.1* %dir %{_datadir}/%{name} %{_datadir}/%{name}/ffprobe.xsd %{_datadir}/%{name}/libvpx-*.ffpreset %files -n %{pkg_name}-devel %doc MAINTAINERS doc/APIchanges doc/*.txt %doc _doc/examples %files -n libavcodec%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libavcodec.so.%{av_codec_soversion}{,.*} %files -n libavcodec%{?pkg_suffix}-devel %{_includedir}/%{name}/libavcodec %{_libdir}/pkgconfig/libavcodec.pc %{_libdir}/libavcodec.so %{_mandir}/man3/libavcodec.3* %files -n libavdevice%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libavdevice.so.%{av_device_soversion}{,.*} %files -n libavdevice%{?pkg_suffix}-devel %{_includedir}/%{name}/libavdevice %{_libdir}/pkgconfig/libavdevice.pc %{_libdir}/libavdevice.so %{_mandir}/man3/libavdevice.3* %files -n libavfilter%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libavfilter.so.%{av_filter_soversion}{,.*} %files -n libavfilter%{?pkg_suffix}-devel %{_includedir}/%{name}/libavfilter %{_libdir}/pkgconfig/libavfilter.pc %{_libdir}/libavfilter.so %{_mandir}/man3/libavfilter.3* %files -n libavformat%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libavformat.so.%{av_format_soversion}{,.*} %files -n libavformat%{?pkg_suffix}-devel %{_includedir}/%{name}/libavformat %{_libdir}/pkgconfig/libavformat.pc %{_libdir}/libavformat.so %{_mandir}/man3/libavformat.3* %files -n libavutil%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libavutil.so.%{av_util_soversion}{,.*} %files -n libavutil%{?pkg_suffix}-devel %{_includedir}/%{name}/libavutil %{_libdir}/pkgconfig/libavutil.pc %{_libdir}/libavutil.so %{_mandir}/man3/libavutil.3* %files -n libpostproc%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libpostproc.so.%{postproc_soversion}{,.*} %files -n libpostproc%{?pkg_suffix}-devel %{_includedir}/%{name}/libpostproc %{_libdir}/pkgconfig/libpostproc.pc %{_libdir}/libpostproc.so %files -n libswresample%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libswresample.so.%{swresample_soversion}{,.*} %files -n libswresample%{?pkg_suffix}-devel %{_includedir}/%{name}/libswresample %{_libdir}/pkgconfig/libswresample.pc %{_libdir}/libswresample.so %{_mandir}/man3/libswresample.3* %files -n libswscale%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md %{_libdir}/libswscale.so.%{swscale_soversion}{,.*} %files -n libswscale%{?pkg_suffix}-devel %{_includedir}/%{name}/libswscale %{_libdir}/pkgconfig/libswscale.pc %{_libdir}/libswscale.so %{_mandir}/man3/libswscale.3* %changelog