Fix cmake files location, apply patch0 and add data/opencv4/quality

files into package
epel9
Sérgio M. Basto 5 years ago
parent 0b310fe8cd
commit 6e473cb511

@ -251,6 +251,8 @@ rm -r 3rdparty/
mkdir 3rdparty/ mkdir 3rdparty/
mv quirc/ 3rdparty/ mv quirc/ 3rdparty/
%patch0 -p1 -b .install_3rdparty_licenses
pushd %{name}_contrib-%{version} pushd %{name}_contrib-%{version}
popd popd
@ -362,6 +364,7 @@ popd
%{_datadir}/opencv4/haarcascades %{_datadir}/opencv4/haarcascades
%{_datadir}/opencv4/lbpcascades %{_datadir}/opencv4/lbpcascades
%{_datadir}/opencv4/valgrind* %{_datadir}/opencv4/valgrind*
%{_datadir}/opencv4/quality
%files core %files core
%license LICENSE %license LICENSE
@ -392,7 +395,7 @@ popd
%{_includedir}/opencv4/opencv2 %{_includedir}/opencv4/opencv2
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/opencv.pc %{_libdir}/pkgconfig/opencv.pc
%{_libdir}/cmake/opencv4/*.cmake %{_libdir}/cmake/OpenCV/*.cmake
%files doc %files doc
%{_datadir}/opencv4/samples %{_datadir}/opencv4/samples

Loading…
Cancel
Save