update to 2.4.11 [release 2.4.11-1mamba;Fri Aug 14 2015]
This commit is contained in:
parent
0f4ee3e46b
commit
4cc9486cb8
42
opencv.spec
42
opencv.spec
@ -1,8 +1,8 @@
|
|||||||
%define pkgver %(echo %version | sed "s|[a-z]||")
|
%define pkgver %(echo %version | sed "s|[a-z]||")
|
||||||
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
|
%define javaver %(echo %version | cut -d. -f1-3 | tr -d .)
|
||||||
Name: opencv
|
Name: opencv
|
||||||
Version: 2.4.10
|
Version: 2.4.11
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Collection of algorithms for computer vision
|
Summary: Collection of algorithms for computer vision
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -122,7 +122,29 @@ This package contains Python bindings for the OpenCV library.
|
|||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch3 -p1
|
#%patch3 -p1
|
||||||
|
|
||||||
|
%define _use_internal_dependency_generator 0
|
||||||
|
|
||||||
|
# Cohexistance provides/requires for KDE4 legacy package
|
||||||
|
%define __find_provides %{_builddir}/opencv-%{version}/find_provides.sh
|
||||||
|
cat > %{_builddir}/opencv-%{version}/find_provides.sh <<_EOF
|
||||||
|
#! /bin/sh
|
||||||
|
grep -v %{buildroot}%{_kde4_libdir} | \
|
||||||
|
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
|
||||||
|
_EOF
|
||||||
|
chmod +x %{_builddir}/opencv-%{version}/find_provides.sh
|
||||||
|
|
||||||
|
%define __find_requires %{_builddir}/opencv-%{version}/find_requires.sh
|
||||||
|
cat > %{_builddir}/opencv-%{version}/find_requires.sh <<_EOF
|
||||||
|
#! /bin/sh
|
||||||
|
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null |
|
||||||
|
while read line; do
|
||||||
|
[ "\${line:0:10}" == "libopencv_" ] || echo "\$line"
|
||||||
|
done
|
||||||
|
_EOF
|
||||||
|
chmod +x %{_builddir}/opencv-%{version}/find_requires.sh
|
||||||
|
|
||||||
|
|
||||||
# WARNING: don't reinstall with -D -T or cmake files will be incorrect
|
# WARNING: don't reinstall with -D -T or cmake files will be incorrect
|
||||||
#% ifarch arm
|
#% ifarch arm
|
||||||
@ -210,6 +232,7 @@ rm -rf %{buildroot}/opt/kde/lib/python*
|
|||||||
%{_bindir}/opencv_*
|
%{_bindir}/opencv_*
|
||||||
|
|
||||||
%files -n libopencv
|
%files -n libopencv
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libopencv_*.so.*
|
%{_libdir}/libopencv_*.so.*
|
||||||
%dir %{_datadir}/OpenCV
|
%dir %{_datadir}/OpenCV
|
||||||
%dir %{_datadir}/OpenCV/haarcascades
|
%dir %{_datadir}/OpenCV/haarcascades
|
||||||
@ -225,10 +248,10 @@ rm -rf %{buildroot}/opt/kde/lib/python*
|
|||||||
%{_includedir}/opencv2/*
|
%{_includedir}/opencv2/*
|
||||||
%{_libdir}/libopencv_*.so
|
%{_libdir}/libopencv_*.so
|
||||||
%{_libdir}/libopencv_ts.a
|
%{_libdir}/libopencv_ts.a
|
||||||
%{_datadir}/OpenCV/OpenCVModules-release.cmake
|
%dir %{_datadir}/OpenCV
|
||||||
%{_datadir}/OpenCV/OpenCVModules.cmake
|
%dir %{_datadir}/OpenCV/doc
|
||||||
%{_datadir}/OpenCV/OpenCVConfig.cmake
|
%{_datadir}/OpenCV/doc/*
|
||||||
%{_datadir}/OpenCV/OpenCVConfig-version.cmake
|
%{_datadir}/OpenCV/*.cmake
|
||||||
%{_libdir}/pkgconfig/opencv.pc
|
%{_libdir}/pkgconfig/opencv.pc
|
||||||
|
|
||||||
%files -n java-opencv
|
%files -n java-opencv
|
||||||
@ -265,6 +288,8 @@ rm -rf %{buildroot}/opt/kde/lib/python*
|
|||||||
%{_kde4_libdir}/libopencv_video.so.*
|
%{_kde4_libdir}/libopencv_video.so.*
|
||||||
%{_kde4_libdir}/libopencv_videostab.so.*
|
%{_kde4_libdir}/libopencv_videostab.so.*
|
||||||
%dir %{_kde4_sharedir}/OpenCV/
|
%dir %{_kde4_sharedir}/OpenCV/
|
||||||
|
%dir %{_kde4_sharedir}/OpenCV/doc
|
||||||
|
%{_kde4_sharedir}/OpenCV/doc/*
|
||||||
%dir %{_kde4_sharedir}/OpenCV/haarcascades
|
%dir %{_kde4_sharedir}/OpenCV/haarcascades
|
||||||
%{_kde4_sharedir}/OpenCV/haarcascades/*
|
%{_kde4_sharedir}/OpenCV/haarcascades/*
|
||||||
%dir %{_kde4_sharedir}/OpenCV/lbpcascades
|
%dir %{_kde4_sharedir}/OpenCV/lbpcascades
|
||||||
@ -282,6 +307,9 @@ rm -rf %{buildroot}/opt/kde/lib/python*
|
|||||||
%{_kde4_libdir}/pkgconfig/opencv.pc
|
%{_kde4_libdir}/pkgconfig/opencv.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-1mamba
|
||||||
|
- update to 2.4.11
|
||||||
|
|
||||||
* Fri May 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.10-2mamba
|
* Fri May 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.10-2mamba
|
||||||
- build kde4 version with gstreamer 0.10 (should fix digikam)
|
- build kde4 version with gstreamer 0.10 (should fix digikam)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user