From 02774e9201bea7bf66e73ca07e3ed2aacb733ff6 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 27 Jul 2020 09:46:17 +0200 Subject: [PATCH] Install face_landmark_model --- opencv.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/opencv.spec b/opencv.spec index a45970e..4232e30 100644 --- a/opencv.spec +++ b/opencv.spec @@ -262,6 +262,13 @@ pushd %{name}_contrib-%{version} %patch2 -p1 popd +# Install face_landmark_model +mkdir -p .cache/data +install -pm 0644 %{SOURCE3} .cache/data +pushd .cache/data + xz -d face_landmark_model.dat.xz +popd + # Install ADE, needed for opencv_gapi mkdir -p .cache/ade install -pm 0644 %{SOURCE4} .cache/ade/ @@ -273,13 +280,6 @@ install -pm 0644 %{SOURCE4} .cache/ade/ # non available on Fedora: FFMPEG, XINE mkdir -p build pushd build - -mkdir -p share/opencv4/testdata/cv/face -install -pm 0644 %{SOURCE3} share/opencv4/testdata/cv/face -pushd share/opencv4/testdata/cv/face - xz -d face_landmark_model.dat.xz -popd - # disabling IPP because it is closed source library from intel %cmake CMAKE_VERBOSE=1 \