update to 4.5.5 [release 4.5.5-1mamba;Mon Dec 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 08:10:50 +01:00
parent d9b4541053
commit b8aa74dfa2

View File

@ -1,15 +1,16 @@
%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.2 Version: 4.5.5
Release: 1mamba Release: 1mamba
Summary: Collection of algorithms for computer vision Summary: Collection of algorithms for computer vision
Group: Development/Libraries Group: Development/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://opencv.willowgarage.com/wiki/ URL: https://opencv.org/
Source: https://sourceforge.net/projects/opencvlibrary/files/%{version}/OpenCV%20%{version}.tar.gz Source: https://github.com/opencv/opencv.git/%{version}/opencv-%{version}.tar.bz2
#Source: https://sourceforge.net/projects/opencvlibrary/files/%{version}/OpenCV%20%{version}.tar.gz
#Source: http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/%{version}/opencv-%{version}.tar.gz #Source: http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/%{version}/opencv-%{version}.tar.gz
Patch0: %{name}-2.1.0-libpng14.patch Patch0: %{name}-2.1.0-libpng14.patch
Patch1: %{name}-2.3.1-arm-build.patch Patch1: %{name}-2.3.1-arm-build.patch
@ -19,7 +20,6 @@ Patch4: opencv-4.1.2-cmake-includedir.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel
@ -30,8 +30,9 @@ BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgst-plugins-base-devel BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel BuildRequires: libgtk3-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libopenblas-devel
BuildRequires: libopenexr-devel BuildRequires: libopenexr-devel
BuildRequires: libopenjpeg-devel BuildRequires: libopenjpeg-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
@ -39,8 +40,8 @@ BuildRequires: libstdc++6-devel
BuildRequires: libswscale-ffmpeg-devel BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libwebp-devel BuildRequires: libwebp-devel
BuildRequires: libxine-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: python3
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libxine-devel BuildRequires: libxine-devel
#BuildRequires: python-Imaging #BuildRequires: python-Imaging
@ -86,7 +87,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: python-Pillow Requires: python-Pillow
Requires: python-numpy Requires: python-numpy
Provides: opencv-python Provides: opencv-python
Obsoletes: opencv-python Obsoletes: opencv-python <= 4.1.2-4mamba
%description -n python-cv %description -n python-cv
This package contains Python bindings for the OpenCV library. This package contains Python bindings for the OpenCV library.
@ -105,10 +106,9 @@ This package contains Python bindings for the OpenCV library.
%debug_package %debug_package
%prep %prep
%setup -q -c -a0 %setup -q
#% setup -D -T #-D -T
#:<< _EOF #:<< _EOF
mv opencv-opencv-*/* .
%ifarch %{ix86} %ifarch %{ix86}
%patch2 -p1 %patch2 -p1
@ -200,21 +200,20 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%{_datadir}/java/opencv4/opencv-*.jar %{_datadir}/java/opencv4/opencv-*.jar
%endif %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
%{python_sitelib}/cv2/* %{python_sitelib}/cv2/*
%endif
%ifnarch arm
%files -n python-cv-py3 %files -n python-cv-py3
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python3_sitelib}/cv2 %dir %{python3_sitelib}/cv2
%{python3_sitelib}/cv2/* %{python3_sitelib}/cv2/*
%endif
%changelog %changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.5-1mamba
- update to 4.5.5
* Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba * Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
- automatic version update by autodist - automatic version update by autodist