|
|
@ -45,7 +45,7 @@ Name: opencv
|
|
|
|
Version: 4.5.0
|
|
|
|
Version: 4.5.0
|
|
|
|
%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: 2%{?dist}
|
|
|
|
Release: 3%{?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
|
|
|
@ -64,6 +64,7 @@ Source4: b624b995ec9c439cbc2e9e6ee940d3a2-v0.1.1f.zip
|
|
|
|
Source5: xorg.conf
|
|
|
|
Source5: xorg.conf
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: opencv-4.1.0-install_3rdparty_licenses.patch
|
|
|
|
Patch0: opencv-4.1.0-install_3rdparty_licenses.patch
|
|
|
|
|
|
|
|
Patch1: %{name}-gcc11.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool
|
|
|
@ -242,6 +243,7 @@ popd &>/dev/null
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .install_3rdparty_licenses
|
|
|
|
%patch0 -p1 -b .install_3rdparty_licenses
|
|
|
|
|
|
|
|
%patch1 -p1 -b .gcc11
|
|
|
|
|
|
|
|
|
|
|
|
pushd %{name}_contrib-%{version}
|
|
|
|
pushd %{name}_contrib-%{version}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
@ -461,6 +463,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
|
|
|
|
%{_libdir}/libopencv_xphoto.so.%{abiver}*
|
|
|
|
%{_libdir}/libopencv_xphoto.so.%{abiver}*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Dec 5 2020 Jeff Law <law@redhat.com> - 4.5.0-3
|
|
|
|
|
|
|
|
- Fix missing #include for gcc-11
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 6 22:47:45 CET 2020 Sandro Mani <manisandro@gmail.com> - 4.5.0-2
|
|
|
|
* Fri Nov 6 22:47:45 CET 2020 Sandro Mani <manisandro@gmail.com> - 4.5.0-2
|
|
|
|
- Rebuild (proj, gdal)
|
|
|
|
- Rebuild (proj, gdal)
|
|
|
|
|
|
|
|
|
|
|
|