From: Ryan Ware Date: Wed, 30 May 2012 00:50:54 +0000 (-0700) Subject: Add default Smack manifest for capi-system-sensor.spec X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c28011599cdb1202bd4201eaffc3393239de232;p=platform%2Fcore%2Fapi%2Fsensor.git Add default Smack manifest for capi-system-sensor.spec Change-Id: Iebd0fd557de9255169888ced5669856f2c67db83 Signed-off-by: Ryan Ware --- diff --git a/packaging/capi-system-sensor.manifest b/packaging/capi-system-sensor.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/capi-system-sensor.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/capi-system-sensor.spec b/packaging/capi-system-sensor.spec index 8b66a9c..296e88c 100644 --- a/packaging/capi-system-sensor.spec +++ b/packaging/capi-system-sensor.spec @@ -5,6 +5,7 @@ Release: 9 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz +Source1001: packaging/capi-system-sensor.manifest BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(sensor) @@ -29,6 +30,7 @@ Requires: %{name} = %{version}-%{release} %build +cp %{SOURCE1001} . MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} @@ -45,9 +47,11 @@ rm -rf %{buildroot} %files +%manifest capi-system-sensor.manifest %{_libdir}/libcapi-system-sensor.so.* %files devel +%manifest capi-system-sensor.manifest %{_includedir}/system/sensors.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-system-sensor.so