forked from pool/opencv
Accepting request 37978 from KDE:KDE4:Factory:Desktop
Copy from KDE:KDE4:Factory:Desktop/opencv based on submit request 37978 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/37978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
dc75279b36
commit
96f028ba96
17
opencv.spec
17
opencv.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package opencv (Version 2.0.0)
|
||||
# spec file for package opencv (Version 2.1.0)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -21,15 +21,15 @@
|
||||
Name: opencv
|
||||
%define libname lib%{name}
|
||||
%define soname 2
|
||||
Version: 2.0.0
|
||||
Release: 3
|
||||
Version: 2.1.0
|
||||
Release: 1
|
||||
Summary: Collection of algorithms for computer vision
|
||||
Group: Development/Libraries
|
||||
License: BSD3c
|
||||
Url: http://%{name}.willowgarage.com/wiki/
|
||||
Source0: http://downloads.sourceforge.net/project/%{name}library/%{name}-unix/2.0/OpenCV-%{version}.tar.bz2
|
||||
Patch0: %{libname}-libdir.patch
|
||||
Patch1: %{libname}-samples.patch
|
||||
Source0: http://downloads.sourceforge.net/project/%{name}library/%{name}-unix/2.1/OpenCV-%{version}.tar.bz2
|
||||
Patch0: %{name}-2.1-libdir.patch
|
||||
Patch1: %{name}-2.1-samples.patch
|
||||
Patch2: libpng14.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gstreamer-0_10-devel libdc1394-devel libv4l-devel libxine-devel
|
||||
@@ -101,8 +101,8 @@ This package contains the documentation and examples for the OpenCV library.
|
||||
|
||||
%prep
|
||||
%setup -qn OpenCV-%{version}
|
||||
%patch0
|
||||
%patch1
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
# Windows specific and with wrong end of line
|
||||
%{__rm} -f doc/packaging.txt
|
||||
@@ -149,7 +149,6 @@ rm -rf %{buildroot}
|
||||
|
||||
%files -n %{name}
|
||||
%defattr(0644, root, root, 0755)
|
||||
%doc AUTHORS COPYING THANKS TODO
|
||||
%attr(0755, root, root) %{_bindir}/%{name}_*
|
||||
%{_datadir}/%{name}
|
||||
%exclude %{_datadir}/%{name}/OpenCVConfig.cmake
|
||||
|
Reference in New Issue
Block a user