libopencv45: move datadir conflicting with libopencv; require libopencv [release 4.5.5-3mamba;Sun Jan 22 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:11:25 +01:00
parent f594a2fa26
commit 3b620d84b2

View File

@ -2,7 +2,7 @@
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
Name: opencv45
Version: 4.5.5
Release: 2mamba
Release: 3mamba
Summary: Collection of algorithms for computer vision
Group: Development/Libraries
Vendor: openmamba
@ -51,6 +51,7 @@ OpenCV (Open Source Computer Vision) is a library of programming functions for r
%package -n lib%{name}
Summary: Collection of algorithms for computer vision
Group: System/Libraries
Requires: libopencv
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
@ -172,12 +173,12 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%defattr(-,root,root)
%{_bindir}/opencv_*
%{_bindir}/setup_vars_opencv4.sh
%dir %{_datadir}/opencv4
%{_datadir}/opencv4/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libopencv_*.so.*
%dir %{_datadir}/opencv4
%{_datadir}/opencv4/*
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -209,6 +210,9 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
#%{python3_sitelib}/cv2/*
%changelog
* Sun Jan 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.5-3mamba
- libopencv45: move datadir conflicting with libopencv; require libopencv
* Sat Oct 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.5-2mamba
- legacy package