Name: opencv-mobile Version: 4.13.0 Release: %autorelease Summary: Minimal build of opencv library for the Android, iOS and ARM Linux platforms License: Apache-2.0 URL: https://github.com/nihui/opencv-mobile Source0: https://github.com/nihui/opencv-mobile/releases/latest/download/opencv-mobile-%{version}.zip BuildRequires: gcc-c++ BuildRequires: cmake %description The opencv-mobile provides the minimal build of opencv library for the Android, iOS and ARM Linux platforms. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. %prep %autosetup -p1 -n %{name}-%{version} sed -i 's/|| _img.isUMatVector()//' modules/imgcodecs/src/loadsave.cpp sed -i '/virtual VideoCapture& operator >> (CV_OUT UMat& image);/d' modules/videoio/src/precomp.hpp %build %cmake -DIPPROOT=/usr/x86_64-intel-sgx \ -DBUILD_PROTOBUF=OFF -DWITH_PROTOBUF=ON \ -DWITH_ITT=OFF \ -DBUILD_opencv_world=ON %cmake_build %install %cmake_install %files %doc README.md %files devel %changelog %autochangelog