update to 4.5.5 [release 4.5.5-1mamba;Mon Dec 27 2021]
This commit is contained in:
parent
d9b4541053
commit
b8aa74dfa2
29
opencv.spec
29
opencv.spec
@ -1,15 +1,16 @@
|
||||
%define pkgver %(echo %version | sed "s|[a-z]||")
|
||||
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
|
||||
Name: opencv
|
||||
Version: 4.5.2
|
||||
Version: 4.5.5
|
||||
Release: 1mamba
|
||||
Summary: Collection of algorithms for computer vision
|
||||
Group: Development/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: https://opencv.willowgarage.com/wiki/
|
||||
Source: https://sourceforge.net/projects/opencvlibrary/files/%{version}/OpenCV%20%{version}.tar.gz
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://opencv.org/
|
||||
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
|
||||
Patch0: %{name}-2.1.0-libpng14.patch
|
||||
Patch1: %{name}-2.3.1-arm-build.patch
|
||||
@ -19,7 +20,6 @@ Patch4: opencv-4.1.2-cmake-includedir.patch
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libavcodec-ffmpeg-devel
|
||||
BuildRequires: libavformat-ffmpeg-devel
|
||||
BuildRequires: libavutil-ffmpeg-devel
|
||||
@ -30,8 +30,9 @@ BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgst-plugins-base-devel
|
||||
BuildRequires: libgstreamer-devel
|
||||
BuildRequires: libgtk-devel
|
||||
BuildRequires: libgtk3-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libopenblas-devel
|
||||
BuildRequires: libopenexr-devel
|
||||
BuildRequires: libopenjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
@ -39,8 +40,8 @@ BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libswscale-ffmpeg-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: libxine-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libxine-devel
|
||||
#BuildRequires: python-Imaging
|
||||
@ -86,7 +87,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: python-Pillow
|
||||
Requires: python-numpy
|
||||
Provides: opencv-python
|
||||
Obsoletes: opencv-python
|
||||
Obsoletes: opencv-python <= 4.1.2-4mamba
|
||||
|
||||
%description -n python-cv
|
||||
This package contains Python bindings for the OpenCV library.
|
||||
@ -105,10 +106,9 @@ This package contains Python bindings for the OpenCV library.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -c -a0
|
||||
#% setup -D -T
|
||||
%setup -q
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
mv opencv-opencv-*/* .
|
||||
|
||||
%ifarch %{ix86}
|
||||
%patch2 -p1
|
||||
@ -200,21 +200,20 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
|
||||
%{_datadir}/java/opencv4/opencv-*.jar
|
||||
%endif
|
||||
|
||||
%ifnarch arm aarch64
|
||||
%files -n python-cv
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitelib}/cv2
|
||||
%{python_sitelib}/cv2/*
|
||||
%endif
|
||||
|
||||
%ifnarch arm
|
||||
%files -n python-cv-py3
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitelib}/cv2
|
||||
%{python3_sitelib}/cv2/*
|
||||
%endif
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user