SHA256
1
0
forked from pool/opencv

Accepting request 207348 from KDE:Extra

Update to 2.4.7

OBS-URL: https://build.opensuse.org/request/show/207348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=46
This commit is contained in:
Tomáš Chvátal
2013-11-18 12:09:08 +00:00
committed by Git OBS Bridge
parent 6ca799f387
commit ceb3478124
7 changed files with 88 additions and 47 deletions

View File

@@ -22,7 +22,7 @@
%define soname 2_4
Name: opencv
Version: 2.4.6.1
Version: 2.4.7
Release: 0
Summary: Collection of algorithms for computer vision
License: BSD-3-Clause
@@ -33,6 +33,8 @@ Source0: http://downloads.sourceforge.net/project/%{name}library/%{name}-
Patch1: %{name}-samples.patch
# PATCH-FIX-UPSTREAM opencv-underlinking.patch koprok@nand.bg -- Make libopencv_highgui.so link to libv4l2 since it's using symbols defined there.
Patch2: %{name}-underlinking.patch
# PATCH-FIX-OPENSUSE improve-sphinx-search.diff -- properly find sphinx with alphabetic chars in version
Patch3: improve-sphinx-search.diff
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gstreamer-0_10-plugins-base-devel
@@ -83,8 +85,11 @@ utilizes Intel Integrated Performance Primitives for better performance.
%package devel
Summary: Development files for using the OpenCV library
Group: Development/Libraries/C and C++
# Since 2.4.7
Provides: %{name}-devel-static = %{version}
Requires: %{libname}%{soname} = %{version}
Requires: %{name} = %{version}
Requires: pkgconfig(glu)
%description devel
This package contains the OpenCV C/C++ library and header files, as well as
@@ -114,6 +119,7 @@ This package contains the documentation and examples for the OpenCV library.
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p0
# Remove Windows specific files
rm -f doc/packaging.txt
@@ -177,6 +183,7 @@ chmod 644 %{buildroot}%{_docdir}/%{name}-doc/examples/python2/*.py
%defattr(-,root,root,-)
%{_includedir}/opencv/
%{_includedir}/opencv2/
%{_libdir}/libopencv_ts.a
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/OpenCV/OpenCVConfig*.cmake