automatic version update by autodist [release 4.5.1-1mamba;Tue Dec 29 2020]

This commit is contained in:
Automatic Build System 2024-01-06 08:10:49 +01:00
parent e48d8e85a6
commit f43d3a50de

View File

@ -1,7 +1,7 @@
%define pkgver %(echo %version | sed "s|[a-z]||")
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
Name: opencv
Version: 4.5.0
Version: 4.5.1
Release: 1mamba
Summary: Collection of algorithms for computer vision
Group: Development/Libraries
@ -64,7 +64,7 @@ This package contains the OpenCV static libraries.
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%ifnarch arm aarch64
%ifnarch arm
Requires: java-opencv = %{?epoch:%epoch:}%{version}-%{release}
%endif
@ -106,9 +106,9 @@ This package contains Python bindings for the OpenCV library.
%debug_package
%prep
#% setup -q -c -a0
%setup -D -T
:<< _EOF
%setup -q -c -a0
#% setup -D -T
#:<< _EOF
mv opencv-opencv-*/* .
%ifarch %{ix86}
@ -118,7 +118,7 @@ mv opencv-opencv-*/* .
%patch4 -p1
%build
:<< _EOF
#:<< _EOF
export JAVA_HOME=%{_jvmdir}/jdk
export JAVACMD=%{_jvmdir}/jdk/bin/java
#:<< _EOF
@ -194,12 +194,14 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%dir %{_datadir}/licenses/opencv4
%{_datadir}/licenses/opencv4/*
%ifnarch arm aarch64
%ifnarch arm
%files -n java-opencv
%defattr(-,root,root)
%{_datadir}/java/opencv4/libopencv_java*.so
%{_datadir}/java/opencv4/opencv-*.jar
%endif
%ifnarch arm aarch64
%files -n python-cv
%defattr(-,root,root)
%dir %{python_sitelib}/cv2
@ -214,6 +216,9 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%endif
%changelog
* Tue Dec 29 2020 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
- automatic version update by autodist
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.0-1mamba
- update to 4.5.0