Repackage with rpms of installation and development 53/54653/1 accepted/tizen/mobile/20151217.093436 accepted/tizen/tv/20151217.093430 accepted/tizen/wearable/20151217.093426 submit/tizen/20151217.045319 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
authorTae-Young Chung <ty83.chung@samsung.com>
Thu, 17 Dec 2015 03:12:42 +0000 (12:12 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Thu, 17 Dec 2015 03:12:47 +0000 (12:12 +0900)
1. Header files are separated and included in a devel package only

Change-Id: Ibec3faa950a06a15d8d69ee71bc0eae5f6297efc
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/opencv.spec

index 77d3665..b6ad76c 100644 (file)
@@ -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