|
|
@ -229,7 +229,7 @@ and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
%package libs
|
|
|
|
Summary: Libraries for %{name}
|
|
|
|
Summary: Libraries for %{name}
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 38
|
|
|
|
%if 0%{?rhel}
|
|
|
|
Conflicts: libavcodec-free
|
|
|
|
Conflicts: libavcodec-free
|
|
|
|
Conflicts: libavfilter-free
|
|
|
|
Conflicts: libavfilter-free
|
|
|
|
Conflicts: libavformat-free
|
|
|
|
Conflicts: libavformat-free
|
|
|
@ -249,7 +249,7 @@ This package contains the libraries for %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libavdevice%{?flavor}
|
|
|
|
%package -n libavdevice%{?flavor}
|
|
|
|
Summary: Special devices muxing/demuxing library
|
|
|
|
Summary: Special devices muxing/demuxing library
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 38
|
|
|
|
%if 0%{?rhel}
|
|
|
|
Conflicts: libavdevice-free
|
|
|
|
Conflicts: libavdevice-free
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Requires: %{name}-libs%{_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{_isa} = %{version}-%{release}
|
|
|
@ -392,7 +392,7 @@ cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{?_with_cuda:export PATH=${PATH}:%{_cuda_bindir}}
|
|
|
|
%{?_with_cuda:export PATH=${PATH}:%{_cuda_bindir}}
|
|
|
|
%{ff_configure}\
|
|
|
|
%{ff_configure}\
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} > 37
|
|
|
|
%if 0%{?fedora}
|
|
|
|
--libdir=%{_libdir}/%{name} \
|
|
|
|
--libdir=%{_libdir}/%{name} \
|
|
|
|
--shlibdir=%{_libdir}/%{name} \
|
|
|
|
--shlibdir=%{_libdir}/%{name} \
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -457,7 +457,7 @@ rm -r %{buildroot}%{_datadir}/%{name}/examples
|
|
|
|
install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
|
|
|
|
install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} > 37
|
|
|
|
%if 0%{?fedora}
|
|
|
|
install -m 0755 -d %{buildroot}%{_sysconfdir}/ld.so.conf.d/
|
|
|
|
install -m 0755 -d %{buildroot}%{_sysconfdir}/ld.so.conf.d/
|
|
|
|
echo -e "%{_libdir}/%{name}\n" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
|
|
|
|
echo -e "%{_libdir}/%{name}\n" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
|
|
|
|
mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
|
|
|
|
mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
|
|
|
@ -483,7 +483,7 @@ mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%doc CREDITS README.md
|
|
|
|
%doc CREDITS README.md
|
|
|
|
%license COPYING.*
|
|
|
|
%license COPYING.*
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} > 37
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
|
|
|
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_lib}.conf
|
|
|
|
%{_libdir}/%{name}/lib*.so.*
|
|
|
|
%{_libdir}/%{name}/lib*.so.*
|
|
|
|
%exclude %{_libdir}/%{name}/libavdevice%{?build_suffix}.so.*
|
|
|
|
%exclude %{_libdir}/%{name}/libavdevice%{?build_suffix}.so.*
|
|
|
@ -496,7 +496,7 @@ mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%files -n libavdevice%{?flavor}
|
|
|
|
%files -n libavdevice%{?flavor}
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} > 37
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%{_libdir}/%{name}/libavdevice%{?build_suffix}.so.*
|
|
|
|
%{_libdir}/%{name}/libavdevice%{?build_suffix}.so.*
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%{_libdir}/libavdevice%{?build_suffix}.so.*
|
|
|
|
%{_libdir}/libavdevice%{?build_suffix}.so.*
|
|
|
@ -509,7 +509,7 @@ mv %{buildroot}%{_libdir}{/%{name},}/pkgconfig
|
|
|
|
%doc %{_docdir}/%{name}/*.{css,html}
|
|
|
|
%doc %{_docdir}/%{name}/*.{css,html}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/pkgconfig/lib*.pc
|
|
|
|
%{_libdir}/pkgconfig/lib*.pc
|
|
|
|
%if 0%{?fedora} > 37
|
|
|
|
%%if 0%{?fedora}
|
|
|
|
%{_libdir}/%{name}/lib*.so
|
|
|
|
%{_libdir}/%{name}/lib*.so
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|