Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:donharter:home:FreeCAD
opencv
opencv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opencv.spec of Package opencv
# norootforbuild Name: opencv Version: 2.0.0 Release: 0.pm.5.36 License: BSD3c BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig gcc-c++ libpng-devel zlib-devel libjpeg-devel libtiff-devel BuildRequires: libjasper-devel python-devel gtk2-devel fdupes libraw1394-devel BuildRequires: libxine-devel gstreamer-0_10-devel octave-devel swig BuildRequires: libffmpeg-devel cmake texlive-bin-latex texlive-latex lapack BuildRequires: libunicap-devel libucil-devel Group: Development/Libraries/C and C++ Packager: Andrea Florio <andflo@links2linux.de> Summary: Open Computer Vision Library URL: http://opencvlibrary.sourceforge.net/ Source0: http://garr.dl.sourceforge.net/sourceforge/opencvlibrary/OpenCV-%version.tar.bz2 Patch0: libopencv-libdir.patch %description The Open Computer Vision Library is a collection of algorithms and sample code for various computer vision problems. The library is compatible with IPL and utilizes Intel Integrated Performance Primitives for better performance. %package -n libopencv2 Summary: Open Computer Vision Library - Shared libraries Group: System/Libraries Requires: %{name} = %{version} %description -n libopencv2 The Open Computer Vision Library is a collection of algorithms and sample code for various computer vision problems. The library is compatible with IPL and utilizes Intel Integrated Performance Primitives for better performance. This package contains the shared libraries. %package devel Summary: Open Computer Vision Library Development Package Group: Development/Libraries/C and C++ Requires: libopencv2 = %{version} Requires: %name = %version Requires: glibc-devel glib2-devel gtk2-devel atk-devel pango-devel cairo-devel Requires: fontconfig-devel freetype2-devel libexpat-devel glitz-devel libpng-devel Requires: xorg-x11-devel xorg-x11-libxcb-devel xorg-x11-libXrender-devel Requires: xorg-x11-libX11-devel xorg-x11-libXau-devel pcre-devel zlib-devel Requires: libtiff-devel libjasper-devel libjpeg-devel libxine-devel Requires: libraw1394-devel libffmpeg-devel libunicap-devel libucil-devel %description devel This package contains all files needed to develop projects that use the Open Computer Vision Library. %package -n python-%{name} Summary: Open Computer Vision Library Python Bindings Group: Development/Languages/Python Requires: %{name} = %{version} Provides: opencv-python Obsoletes: opencv-python %{py_requires} %description -n python-%{name} Development files for Open Computer Vision Library for Python %debug_package %prep %setup -q -n OpenCV-%version %patch0 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DBUILD_LATEX_DOCS=ON \ -DBUILD_OCTAVE_SUPPORT=ON \ -DBUILD_PYTHON_SUPPORT=ON \ -DBUILD_SWIG_PYTHON_SUPPORT=ON \ -DBUILD_TESTS=ON \ -DENABLE_OPENMP=ON \ -DENABLE_PROFILING=OFF \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_INSTALL_DIR=%{_libdir} \ %ifarch x86_64 -LIB_SUFFIX=64 \ %endif -DINSTALL_C_EXAMPLES=ON \ -DINSTALL_OCTAVE_EXAMPLES=ON \ -DINSTALL_PYTHON_EXAMPLES=ON \ %if %suse_version >= 1110 -DWITH_1394=ON \ %else -DWITH_1394=OFF \ %endif -DWITH_FFMPEG=ON \ -DWITH_GSTREAMER=ON \ -DWITH_GTK=ON \ -DWITH_JASPER=ON \ -DWITH_JPEG=ON \ -DWITH_PNG=ON \ -DWITH_TIFF=ON \ -DWITH_UNICAP=ON \ -DWITH_V4L=ON \ -DWITH_XINE=ON \ . %{__make} %{?jobs:-j%jobs} %install %makeinstall %ifarch x86_64 %__mv %buildroot/%_prefix/lib %buildroot/%_libdir %endif %__cp cvconfig.h %buildroot/%_includedir/cvconfig.h %fdupes -s %buildroot %clean %__rm -rf "$RPM_BUILD_ROOT" %post -n libopencv2 -p /sbin/ldconfig %postun -n libopencv2 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO %{_datadir}/opencv/haarcascades #%{_datadir}/opencv/readme.txt %{_bindir}/* %dir %{_datadir}/opencv %_datadir/opencv/lbpcascades/lbpcascade_frontalface.xml %dir %_datadir/opencv/lbpcascades/ %files -n libopencv2 %defattr(-,root,root) %{_libdir}/libcv.so.2.0 %{_libdir}/libcv.so.2.0.0 %{_libdir}/libcvaux.so.2.0 %{_libdir}/libcvaux.so.2.0.0 %{_libdir}/libcxcore.so.2.0 %{_libdir}/libcxcore.so.2.0.0 %{_libdir}/libhighgui.so.2.0 %{_libdir}/libhighgui.so.2.0.0 %{_libdir}/libml.so.2.0 %{_libdir}/libml.so.2.0.0 %files devel %defattr(-,root,root) %{_includedir}/* %{_datadir}/opencv/samples %{_datadir}/opencv/doc %{_datadir}/opencv/OpenCVConfig.cmake %{_libdir}/libcv.so %{_libdir}/libcvaux.so %{_libdir}/libcxcore.so %{_libdir}/libhighgui.so %{_libdir}/libml.so %{_libdir}/pkgconfig/opencv.pc %files -n python-%{name} %defattr(-,root,root) %dir %{py_sitedir}/%{name} %{py_sitedir}/%{name}/* %{py_sitedir}/cv.so %changelog * Tue Oct 13 2009 - Andrea Florio <andrea@links2linux.de> 2.0.0 - new upstream version 2.0.0 * Mon Sep 28 2009 - Andrea Florio <andrea@links2linux.de> 1.2.0 - new upstream version 1.2.0 - added gstreamer, libunicap and libucil support * Wed Aug 12 2009 - Andrea Florio <andrea@links2linux.de> 1.0.0 - Added xine support * Sun Sep 28 2008 - Andrea Florio <andrea@links2linux.de> - packman porting * Fri Jun 20 2008 pth@suse.de - Repack with bzip2. - Clean up Makefile. - Move shared libraries to a subpackage named according to policy. - Remove erroneous code. - Use install-exec-hook instead of install-hook in Makefile.am - Add missing return with value. - Add a shebang to python sample script. - Make build script for examples executable.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor