|
|
@ -50,7 +50,7 @@ Name: opencv
|
|
|
|
Version: 4.5.5
|
|
|
|
Version: 4.5.5
|
|
|
|
%global javaver %(foo=%{version}; echo ${foo//./})
|
|
|
|
%global javaver %(foo=%{version}; echo ${foo//./})
|
|
|
|
%global abiver %(foo=%{version}; echo ${foo:0:3})
|
|
|
|
%global abiver %(foo=%{version}; echo ${foo:0:3})
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Collection of algorithms for computer vision
|
|
|
|
Summary: Collection of algorithms for computer vision
|
|
|
|
# This is normal three clause BSD.
|
|
|
|
# This is normal three clause BSD.
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
@ -268,6 +268,11 @@ popd
|
|
|
|
mkdir -p .cache/ade
|
|
|
|
mkdir -p .cache/ade
|
|
|
|
install -pm 0644 %{SOURCE4} .cache/ade/
|
|
|
|
install -pm 0644 %{SOURCE4} .cache/ade/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ifarch ppc64le
|
|
|
|
|
|
|
|
# Disable some altivec vectorization optimization on ppc64le (bug 2051193)
|
|
|
|
|
|
|
|
sed -i modules/core/include/opencv2/core/hal/intrin.hpp \
|
|
|
|
|
|
|
|
-e '\@ifdef CV_FORCE_SIMD128_CPP@i #define CV_FORCE_SIMD128_CPP'
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# enabled by default if libraries are presents at build time:
|
|
|
|
# enabled by default if libraries are presents at build time:
|
|
|
@ -483,6 +488,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
|
|
|
|
%{_libdir}/libopencv_xphoto.so.%{abiver}*
|
|
|
|
%{_libdir}/libopencv_xphoto.so.%{abiver}*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Feb 13 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.5.5-4
|
|
|
|
|
|
|
|
- Disable some altivec vectorization optimization on ppc64le (bug 2051193)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.5.5-3
|
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.5.5-3
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
|
|
|
|
|
|
|