summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjy910.yun <jy910.yun@samsung.com>2012-10-25 11:19:40 +0900
committerjy910.yun <jy910.yun@samsung.com>2012-10-25 11:19:40 +0900
commit179604b1cdb70501e983694d23d03b75f2ceeab7 (patch)
treed75c7305addd1e40f7b2ca5b89483af812a02140
parent766de4b087cf8a66b652e6d16f391257a1cc9e77 (diff)
downloadhaptic-179604b1cdb70501e983694d23d03b75f2ceeab7.tar.gz
haptic-179604b1cdb70501e983694d23d03b75f2ceeab7.tar.bz2
haptic-179604b1cdb70501e983694d23d03b75f2ceeab7.zip
Add smack label (capi-system-haptic)
-rw-r--r--packaging/capi-system-haptic.manifest5
-rw-r--r--packaging/capi-system-haptic.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/capi-system-haptic.manifest b/packaging/capi-system-haptic.manifest
new file mode 100644
index 0000000..b631abe
--- /dev/null
+++ b/packaging/capi-system-haptic.manifest
@@ -0,0 +1,5 @@
+<manifest>
+<request>
+ <domain name="_"/>
+</request>
+</manifest>
diff --git a/packaging/capi-system-haptic.spec b/packaging/capi-system-haptic.spec
index 9c82a3a..ec4cec8 100644
--- a/packaging/capi-system-haptic.spec
+++ b/packaging/capi-system-haptic.spec
@@ -6,6 +6,7 @@ Release: 22
Group: TO_BE/FILLED_IN
License: TO BE FILLED IN
Source0: %{name}-%{version}.tar.gz
+Source1: capi-system-haptic.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(devman)
BuildRequires: pkgconfig(devman_haptic)
@@ -34,6 +35,7 @@ Requires: %{name} = %{version}-%{release}
%build
+cp %{SOURCE1} .
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
@@ -50,6 +52,7 @@ rm -rf %{buildroot}
%files
+%manifest capi-system-haptic.manifest
%{_libdir}/libcapi-system-haptic.so.*
%files devel