diff options
-rw-r--r-- | packaging/opencv.spec | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/packaging/opencv.spec b/packaging/opencv.spec index 77d36656be..b6ad76c275 100644 --- a/packaging/opencv.spec +++ b/packaging/opencv.spec @@ -2,7 +2,7 @@ Name: opencv VCS: #e3ca2f3bdcac02e9780c2de7001310a2a61a483e-dirty Summary: OpenCV library Version: 2.4.9 -Release: 7 +Release: 8 Group: Development/Libraries License: BSD-2.0 and LGPL-2.1+ Source0: %{name}-%{version}.tar.gz @@ -41,6 +41,14 @@ Requires(postun): /sbin/ldconfig %description The Open Computer Vision Library includes various algorithms for computer vision problems. +%package devel +Summary: OpenCV Library (Dev) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The Open Computer Vision Library (Dev) includes various algorithms for computer vision problems. + %prep %setup -q @@ -153,11 +161,12 @@ rm -rf %{buildroot} %files %manifest opencv.manifest %defattr(-,root,root,-) +%{_libdir}/*.so.* +/usr/share/* + +%files devel /usr/include/* -%{_libdir}/*.so* %{_libdir}/pkgconfig/*.pc -#/usr/lib/*.so* -#/usr/lib/pkgconfig/*.pc -/usr/share/* +%{_libdir}/*.so %doc |