Name: ffmpeg
Summary: AV codec lib
Version: 5.1.2
-Release: 2
+Release: 3
Group: Multimedia/Libraries
URL: https://ffmpeg.org/
License: LGPL-2.1+
Source1004: libavfilter.manifest
Source1005: libswscale.manifest
Source1006: libswresample.manifest
+Source1007: ffmpeg-tool.manifest
%description
AV codec library
%description -n doc
Example files
+%package -n ffmpeg-tool
+Summary: FFmpeg Tools
+Group: Development/Tools
+Requires: ffmpeg-tool = %{version}-%{release}
+
+%description -n ffmpeg-tool
+FFmpeg Tools
+
%prep
%setup -q
-cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} %{SOURCE1004} %{SOURCE1005} %{SOURCE1006} .
+cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} %{SOURCE1004} %{SOURCE1005} %{SOURCE1006} %{SOURCE1007} .
# basic functions
export CONFIGURE_OPTIONS="--enable-shared \
--disable-static --disable-postproc --disable-devices \
--disable-version3 --disable-nonfree --disable-gpl \
--disable-doc --disable-zlib --disable-network \
---disable-ffplay --disable-ffmpeg --disable-ffprobe \
+--disable-programs --enable-ffmpeg \
--disable-avdevice --disable-bsfs \
--enable-swscale --disable-x86asm --enable-swresample \
--enable-fft --enable-rdft --enable-mdct \
%defattr(-,root,root,-)
%{_datadir}/%{name}/examples/*
+%files -n ffmpeg-tool
+%defattr(-,root,root,-)
+%manifest ffmpeg-tool.manifest
+%{_bindir}/ffmpeg
+%{_datadir}/%{name}/*.ffpreset
+%{_datadir}/%{name}/*.xsd
+%license COPYING.LGPLv2.1
+
%files -n libavcodec-devel
%defattr(-,root,root,-)
%{_includedir}/libavcodec/*