added aul.rule file
authorJaeho Lee <jaeho81.lee@samsung.com>
Tue, 18 Jun 2013 07:19:34 +0000 (16:19 +0900)
committerJaeho Lee <jaeho81.lee@samsung.com>
Tue, 18 Jun 2013 07:20:21 +0000 (16:20 +0900)
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
aul.rule [new file with mode: 0644]
packaging/aul.spec

diff --git a/aul.rule b/aul.rule
new file mode 100644 (file)
index 0000000..85e10a3
--- /dev/null
+++ b/aul.rule
@@ -0,0 +1 @@
+aul system::homedir arwxt
index bfc5f2d..c7691f2 100644 (file)
@@ -1,6 +1,6 @@
 Name:       aul
 Summary:    App utility library
-Version:    0.0.269
+Version:    0.0.270
 Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0
@@ -83,6 +83,9 @@ install -m 0644 %SOURCE102 %{buildroot}/usr/lib/systemd/system/ac.service
 ln -s ../launchpad-preload@.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/launchpad-preload@app.service
 ln -s ../ac.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/ac.service
 
+mkdir -p %{buildroot}/opt/etc/smack/accesses.d
+install -m 644 aul.rule %{buildroot}/opt/etc/smack/accesses.d
+
 
 %preun
 if [ $1 == 0 ]; then
@@ -127,6 +130,7 @@ systemctl daemon-reload
 /usr/bin/amd
 /usr/bin/daemon-manager-release-agent
 /usr/bin/daemon-manager-launch-agent
+/opt/etc/smack/accesses.d/aul.rule
 
 %files devel
 /usr/include/aul/*.h