automatic version update by autodist [release 2.4.9-1mamba;Tue Jul 15 2014]

This commit is contained in:
Automatic Build System 2024-01-06 08:10:48 +01:00
parent af6f82a8a4
commit bd615357cd

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: 2.4.6.1 Version: 2.4.9
Release: 4mamba 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: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://opencv.willowgarage.com/wiki/ URL: http://opencv.willowgarage.com/wiki/
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}.zip
#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
License: BSD License: BSD
@ -43,7 +44,7 @@ BuildRequires: libtiff-devel
BuildRequires: libunicap-devel BuildRequires: libunicap-devel
BuildRequires: libv4l-devel BuildRequires: libv4l-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libxine1-devel BuildRequires: libxine-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: python-Imaging BuildRequires: python-Imaging
@ -71,14 +72,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n java-opencv %description -n java-opencv
This package contains Python bindings for the OpenCV library. This package contains Python bindings for the OpenCV library.
%package python %package -n python-cv
Summary: Python bindings for apps which use OpenCV Summary: Python bindings for apps which use OpenCV
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: python-Imaging Requires: python-Imaging
Requires: python-numpy Requires: python-numpy
Provides: opencv-python
Obsoletes: opencv-python
%description python %description -n python-cv
This package contains Python bindings for the OpenCV library. This package contains Python bindings for the OpenCV library.
%prep %prep
@ -136,12 +139,14 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
#%{_libdir}/libcxcore.so.* #%{_libdir}/libcxcore.so.*
#%{_libdir}/libhighgui.so.* #%{_libdir}/libhighgui.so.*
#%{_libdir}/libml.so.* #%{_libdir}/libml.so.*
#%dir %{_datadir}/opencv %dir %{_datadir}/OpenCV
%dir %{_datadir}/OpenCV/haarcascades %dir %{_datadir}/OpenCV/haarcascades
%{_datadir}/OpenCV/haarcascades/* %{_datadir}/OpenCV/haarcascades/*
%dir %{_datadir}/OpenCV/lbpcascades %dir %{_datadir}/OpenCV/lbpcascades
%{_datadir}/OpenCV/lbpcascades/* %{_datadir}/OpenCV/lbpcascades/*
%doc doc/license.txt #%dir %{_datadir}/OpenCV/doc
#%{_datadir}/OpenCV/doc/*
#%doc doc/license.txt
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -150,7 +155,10 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%dir %{_includedir}/opencv2 %dir %{_includedir}/opencv2
%{_includedir}/opencv2/* %{_includedir}/opencv2/*
%{_libdir}/libopencv_*.so %{_libdir}/libopencv_*.so
%{_libdir}/libopencv_ts.a
%{_libdir}/pkgconfig/opencv.pc %{_libdir}/pkgconfig/opencv.pc
%{_datadir}/OpenCV/OpenCVModules-release.cmake
%{_datadir}/OpenCV/OpenCVModules.cmake
%{_datadir}/OpenCV/OpenCVConfig.cmake %{_datadir}/OpenCV/OpenCVConfig.cmake
%{_datadir}/OpenCV/OpenCVConfig-version.cmake %{_datadir}/OpenCV/OpenCVConfig-version.cmake
@ -160,14 +168,20 @@ rm -fr %{buildroot}%{_datadir}/opencv/doc
%{_datadir}/OpenCV/java/libopencv_java%{javaver}.so %{_datadir}/OpenCV/java/libopencv_java%{javaver}.so
%{_datadir}/OpenCV/java/opencv-%{javaver}.jar %{_datadir}/OpenCV/java/opencv-%{javaver}.jar
%files python %files -n python-cv
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/cv.py %{python_sitelib}/cv.py
%{python_sitearch}/cv2.so %{python_sitelib}/cv2.so
%changelog %changelog
* Tue Apr 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.6.1-4mamba * Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba
- rebuilt with openexr 2.1.0 - automatic version update by autodist
* Wed Jan 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.8-1mamba
- update to 2.4.8
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
- automatic version update by autodist
* Mon Aug 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.6.1-3mamba * Mon Aug 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.6.1-3mamba
- rebuilt after upgrading libatlas-3.8.4-2mamba which fixes python-numpy - rebuilt after upgrading libatlas-3.8.4-2mamba which fixes python-numpy