|
|
|
@ -340,14 +340,14 @@ pushd build
|
|
|
|
|
%{?with_vulkan: -DWITH_VULKAN=ON -DVULKAN_INCLUDE_DIRS=%{_includedir}/vulkan } \
|
|
|
|
|
..
|
|
|
|
|
|
|
|
|
|
%make_build VERBOSE=1
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install -C build
|
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/
|
|
|
|
|
%if %{with java}
|
|
|
|
|
ln -s -r %{buildroot}%{_jnidir}/libopencv_java%{javaver}.so %{buildroot}%{_jnidir}/libopencv_java.so
|
|
|
|
|