3 Summary: A library of programming functions mainly aimed at real time computer vision
10 Source0: http://dl.sourceforge.net/opencvlibrary/%{name}-%{version}%{snap}.tar.gz
11 # Source0-md5: b147b7cd3c059831c415c5a2bcecdf95
12 URL: http://opencv.willowgarage.com
13 BuildRequires: autoconf >= 2.53
14 BuildRequires: automake
15 BuildRequires: ffmpeg-devel
16 BuildRequires: jasper-devel
17 BuildRequires: libdc1394-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libpng-devel
20 BuildRequires: libraw1394-devel
21 BuildRequires: libtiff-devel
22 BuildRequires: python-devel
23 BuildRequires: rpm-pythonprov
24 BuildRequires: zlib-devel
25 %pyrequires_eq python-libs
26 %{?with_xine:BuildRequires: xine-lib-devel}
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 OpenCV (Open Source Computer Vision) is a library of programming
31 functions mainly aimed at real time computer vision.
33 Example applications of the OpenCV library are Human-Computer
34 Interaction (HCI); Object Identification, Segmentation and
35 Recognition; Face Recognition; Gesture Recognition; Motion Tracking,
36 Ego Motion, Motion Understanding; Structure From Motion (SFM); Stereo
37 and Multi-Camera Calibration and Depth Computation; Mobile Robotics.
40 Summary: Header files and develpment documentation for opencv
41 Group: Development/Libraries
42 Requires: %{name} = %{epoch}:%{version}-%{release}
45 Header files and opencv documentation.
48 Summary: Static opencv library
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
53 This package contains the static library used for development.
55 %package -n python-opencv
56 Summary: OpenCV Python bindings
57 Group: Development/Languages/Python
59 Requires: %{name} = %{version}-%{release}
61 %description -n python-opencv
62 OpenCV Python bindings.
65 %setup -q -n %{name}-%{version}.0
69 %ifarch i686 pentium4 athlon %{x8664}
75 --with%{!?with_xine:-out}-xine \
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc AUTHORS COPYING ChangeLog THANKS TODO
99 %doc docs/*.{htm,rtf,png,txt} docs/papers docs/ref
100 %attr(755,root,root) %{_bindir}/*
101 %attr(755,root,root) %{_libdir}/lib*so.*.*
102 %attr(755,root,root) %ghost %{_libdir}/lib*.so.2
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_includedir}/opencv
109 %{_pkgconfigdir}/*.pc
112 %defattr(644,root,root,755)
115 %files -n python-opencv
116 %defattr(644,root,root,755)
117 %dir %{py_sitedir}/opencv
118 %attr(755,root,root) %{py_sitedir}/opencv/*.so
119 %{py_sitedir}/opencv/*.py[co]