summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-09-25 15:35:15 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-09-25 15:35:23 -0400
commitee51fbcb94cc80c037acc9860e813dd95334cc57 (patch)
treef8d6a1e093458535f480910f38f98984c05b27ee
parenta9dc1b11253f2ad73dc9e13d5737dfbb90e852c1 (diff)
downloadcamera-tizen_ivi_panda.tar.gz
camera-tizen_ivi_panda.tar.bz2
camera-tizen_ivi_panda.zip
- fixed group - use %license to install license file Change-Id: I039b0ca5fb88dfd375917f378d2c226225bc37b3 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rwxr-xr-xpackaging/capi-media-camera.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 5aa412b..2c58661 100755
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -2,7 +2,7 @@ Name: capi-media-camera
Summary: A Camera library in Tizen C API
Version: 0.1.4
Release: 0
-Group: libdevel
+Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
@@ -12,14 +12,17 @@ BuildRequires: pkgconfig(audio-session-mgr)
BuildRequires: pkgconfig(capi-base-common)
%description
+A Camera library in Tizen C API.
%package devel
Summary: A Camera library in Tizen C API (Development)
-Group: TO_BE/FILLED_IN
Requires: %{name} = %{version}-%{release}
%description devel
+A Camera library in Tizen C API.
+
+Development related files.
@@ -35,10 +38,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
make %{?jobs:-j%jobs}
%install
-rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
%post -p /sbin/ldconfig
@@ -47,8 +47,8 @@ cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
%files
%manifest capi-media-camera.manifest
+%license LICENSE.APLv2
%{_libdir}/libcapi-media-camera.so.*
-%{_datadir}/license/%{name}
%files devel