Update to 2.0.0 tree from current Fremantle build
[opencv] / opencv.spec.in
1 %define name @PACKAGE@
2 %define version @VERSION@
3 %define release 1
4 %define sourcepkg %{name}-%{version}.tar.gz
5
6 Summary: Intel(R) Open Source Computer Vision Library.
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}
10 Source0: %{sourcepkg}
11 URL: http://prdownloads.sourceforge.net/opencvlibrary/%{sourcepkg}
12 License: BSD
13 Packager: Serguei Boldyrev, Vadim Pisarevsky
14 Group: Development/Libraries
15 # Group: System Environment/Libraries
16 BuildRoot: /var/tmp/%{name}-buildroot
17 Prefix: /usr/local
18 # Requires: %{name}
19
20 %description
21 This is the Intel(R) Open Source Computer Vision Library, a collection
22 of algorithms for image processing and computer vision.
23 The package contains libraries, headers, documentation and sample applications.
24
25 %prep
26 rm -rf ${RPM_BUILD_ROOT}
27
28 %setup -q
29
30 %build
31 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 make install prefix=$RPM_BUILD_ROOT/%{prefix}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(-,root,root)
43 %doc AUTHORS README COPYING INSTALL NEWS TODO
44 %{prefix}/*
45
46 %changelog
47 * Wed Aug 07 2004 Vadim Pisarevsky <vadim.pisarevsky@intel.com>
48 - Removed obsolete demo applications, updated for OpenCV beta 4 (0.9.6)
49 * Wed Oct 30 2002 Vadim Pisarevsky <vadim.pisarevsky@intel.com>
50 - Modified for OpenCV beta 3 (0.9.4)
51 * Mon Apr  8 2002 Serguei Boldyrev <sergueiX.a.boldyrev@intel.com>
52 - First spec file for RedHat 7.2 distribution.
53
54 # end of file