From 7c28011599cdb1202bd4201eaffc3393239de232 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:50:54 -0700 Subject: [PATCH] Add default Smack manifest for capi-system-sensor.spec Change-Id: Iebd0fd557de9255169888ced5669856f2c67db83 Signed-off-by: Ryan Ware --- packaging/capi-system-sensor.manifest | 5 +++++ packaging/capi-system-sensor.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/capi-system-sensor.manifest 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 -- 2.34.1