From abad468ba6864bab5b41d23715fe71fdb6ba6532 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 29 2022 12:08:35 +0000 Subject: import opencv-3.4.6-7.el8 --- diff --git a/SPECS/opencv.spec b/SPECS/opencv.spec index d58e256..f715d30 100644 --- a/SPECS/opencv.spec +++ b/SPECS/opencv.spec @@ -54,7 +54,7 @@ Name: opencv Version: 3.4.6 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -212,20 +212,9 @@ to provide decent performance and stability. %setup -q -a1 # we don't use pre-built contribs rm -r 3rdparty/ -# missing dependecies for dnn module in Fedora (protobuf-cpp) -rm -r modules/dnn/ %patch1 -p1 -b .install_3rdparty_licenses -pushd %{name}_contrib-%{version} -# missing dependecies for dnn_modern module in Fedora (tiny-dnn) -#rm -r modules/dnn_modern/ -popd - -# fix dos end of lines -#sed -i 's|\r||g' samples/c/adaptiveskindetector.cpp - - %build export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 # enabled by default if libraries are presents at build time: @@ -323,6 +312,7 @@ popd %{_datadir}/licenses/opencv3/ %{_libdir}/libopencv_calib3d.so.%{abiver}* %{_libdir}/libopencv_core.so.%{abiver}* +%{_libdir}/libopencv_dnn.so.%{abiver}* %{_libdir}/libopencv_features2d.so.%{abiver}* %{_libdir}/libopencv_flann.so.%{abiver}* %{_libdir}/libopencv_highgui.so.%{abiver}* @@ -359,8 +349,7 @@ popd %{_libdir}/libopencv_ccalib.so.%{abiver}* %{_libdir}/libopencv_cvv.so.%{abiver}* %{_libdir}/libopencv_datasets.so.%{abiver}* -# Disabled because of missing dependency package in fedora (protobuf-cpp) -#{_libdir}/libopencv_dnn.so.%%{abiver}* +%{_libdir}/libopencv_dnn_objdetect.so.%{abiver}* %{_libdir}/libopencv_dpm.so.%{abiver}* %{_libdir}/libopencv_face.so.%{abiver}* %{_libdir}/libopencv_freetype.so.%{abiver}* @@ -377,14 +366,17 @@ popd %{_libdir}/libopencv_stereo.so.%{abiver}* %{_libdir}/libopencv_structured_light.so.%{abiver}* %{_libdir}/libopencv_surface_matching.so.%{abiver}* -#Module opencv_text disabled because opencv_dnn dependency can't be resolved! -#{_libdir}/libopencv_text.so.%%{abiver}* +%{_libdir}/libopencv_text.so.%{abiver}* %{_libdir}/libopencv_tracking.so.%{abiver}* %{_libdir}/libopencv_ximgproc.so.%{abiver}* %{_libdir}/libopencv_xobjdetect.so.%{abiver}* %{_libdir}/libopencv_xphoto.so.%{abiver}* %changelog +* Fri Jan 07 2022 Jiri Kucera - 3.4.6-7 +- Add DNN support + Resolves: #2007780 + * Mon Jan 11 2021 Jiri Kucera - 3.4.6-6 - Drop OpenEXR dependency Resolves: #1886310