commit opencv for openSUSE:Factory
Hello community, here is the log from the commit of package opencv for openSUSE:Factory checked in at 2013-08-01 15:56:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opencv (Old) and /work/SRC/openSUSE:Factory/.opencv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "opencv" Changes: -------- --- /work/SRC/openSUSE:Factory/opencv/opencv.changes 2013-07-12 20:50:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.opencv.new/opencv.changes 2013-08-01 15:56:41.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Jul 14 16:54:56 UTC 2013 - asterios.dramis@gmail.com + +- Use eigen3 instead of eigen2 as build requirement for openSUSE > 12.3. +- Enable compilation with libucil and libunicap. +- Removed dos2unix build requirement (not needed anymore). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opencv.spec ++++++ --- /var/tmp/diff_new_pack.uiW80b/_old 2013-08-01 15:56:43.000000000 +0200 +++ /var/tmp/diff_new_pack.uiW80b/_new 2013-08-01 15:56:43.000000000 +0200 @@ -18,44 +18,53 @@ %bcond_with ffmpeg -Name: opencv %define libname lib%{name} %define soname 2_4 + +Name: opencv Version: 2.4.6.1 Release: 0 Summary: Collection of algorithms for computer vision License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://%{name}.willowgarage.com/wiki/ +Url: http://opencv.org/ Source0: http://downloads.sourceforge.net/project/%{name}library/%{name}-unix/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM opencv-samples.patch koprok@nand.bg -- Improve samples installation. 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: OpenEXR-devel BuildRequires: cmake -BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: libdc1394-devel +%if 0%{?suse_version} > 1230 +BuildRequires: libeigen3-devel +%else BuildRequires: libeigen2-devel +%endif +%if %{with ffmpeg} +BuildRequires: libffmpeg-devel +%endif BuildRequires: libjasper-devel -BuildRequires: libqt4-devel -#BuildRequires: libucil-devel -#BuildRequires: libunicap-devel -BuildRequires: libilmbase-devel BuildRequires: libjpeg-devel +BuildRequires: libqt4-devel BuildRequires: libtiff-devel +BuildRequires: libucil-devel +BuildRequires: libunicap-devel +BuildRequires: libv4l-devel +%if 0%{?suse_version} > 1220 +BuildRequires: ilmbase-devel +BuildRequires: openexr-devel +%else +BuildRequires: OpenEXR-devel +BuildRequires: libilmbase-devel +%endif BuildRequires: python-devel BuildRequires: python-numpy-devel +BuildRequires: python-sphinx BuildRequires: zlib-devel BuildRequires: pkgconfig(glu) -%if %{with ffmpeg} -BuildRequires: libffmpeg-devel -%endif -BuildRequires: libv4l-devel -BuildRequires: python-sphinx +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OpenCV means Intel® Open Source Computer Vision Library. It is a collection of C @@ -91,14 +100,14 @@ %description -n python-%{name} This package contains Python bindings for the OpenCV library. -%package -n %{name}-doc +%package doc Summary: Documentation and examples for OpenCV Group: Development/Libraries/C and C++ Recommends: python # Since this package also contains examples that need -devel to be compiled Recommends: %{name}-devel -%description -n %{name}-doc +%description doc This package contains the documentation and examples for the OpenCV library. %prep @@ -106,13 +115,10 @@ %patch1 -p1 %patch2 -p1 -# Windows specific and with wrong end of line +# Remove Windows specific files rm -f doc/packaging.txt -chmod +x samples/c/build_all.sh -sed -i 's/\r$//' samples/c/adaptiveskindetector.cpp \ - samples/c/latentsvmdetect.cpp \ - samples/gpu/hog.cpp \ - samples/python/camshift.py +# Fix "wrong-file-end-of-line-encoding" rpmlint warning +sed -i 's/\r$//' samples/c/facedetect.cmd %build export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)" @@ -145,42 +151,43 @@ mkdir -p %{buildroot}%{_docdir} mv %{buildroot}%{_datadir}/OpenCV/doc %{buildroot}%{_docdir}/%{name}-doc mv %{buildroot}%{_datadir}/OpenCV/samples %{buildroot}%{_docdir}/%{name}-doc/examples -dos2unix %{buildroot}%{_docdir}/%{name}-doc/examples/python*/*.py -dos2unix %{buildroot}%{_docdir}/%{name}-doc/examples/gpu/*.cpp -%fdupes -s %{buildroot}%{_docdir}/%{name}-doc/examples -%clean -rm -rf %{buildroot} +# Fix rpmlint warning "doc-file-dependency" +chmod 644 %{buildroot}%{_docdir}/%{name}-doc/examples/python/*.py +chmod 644 %{buildroot}%{_docdir}/%{name}-doc/examples/python2/*.py + +%fdupes -s %{buildroot}%{_docdir}/%{name}-doc/examples +%fdupes -s %{buildroot}%{_includedir} %post -n %{libname}%{soname} -p /sbin/ldconfig %postun -n %{libname}%{soname} -p /sbin/ldconfig -%files -n %{libname}%{soname} -%defattr(-, root, root, 0755) -%{_libdir}/lib*.so.* - -%files -n %{name} -%defattr(0644, root, root, 0755) -%attr(0755, root, root) %{_bindir}/%{name}_* +%files +%defattr(-,root,root,-) +%{_bindir}/%{name}_* %{_datadir}/OpenCV %exclude %{_datadir}/OpenCV/OpenCVConfig*.cmake +%files -n %{libname}%{soname} +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* + %files devel -%defattr(0644, root, root, 0755) -%{_includedir}/opencv -%{_includedir}/opencv2 +%defattr(-,root,root,-) +%{_includedir}/opencv/ +%{_includedir}/opencv2/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/OpenCV/OpenCVConfig*.cmake %files -n python-%{name} -%defattr(0644, root, root, 0755) +%defattr(-,root,root,-) %{python_sitearch}/cv.py %{python_sitearch}/cv2.so -%files -n %{name}-doc -%defattr(-, root, root, 0755) -%{_docdir}/%{name}-doc +%files doc +%defattr(-,root,root,-) +%{_docdir}/%{name}-doc/ %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de