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