Add rule file submit/tizen_2.1/20130514.053538
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 7 May 2013 06:10:17 +0000 (15:10 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 10 May 2013 09:01:26 +0000 (18:01 +0900)
Change-Id: I5782fa7c7467f60d57f1df1f4d42ce223527912d

CMakeLists.txt
data/org.tizen.bt-syspopup.rule [new file with mode: 0644]
packaging/org.tizen.bt-syspopup.spec

index 4956f8b..18a3959 100644 (file)
@@ -76,5 +76,6 @@ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /opt/apps/org.tizen.bt-syspopup/bin)
 # install desktop file & icon
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 INSTALL(FILES ${CMAKE_BINARY_DIR}/data/org.tizen.bt-syspopup.xml DESTINATION /usr/share/packages/)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/data/org.tizen.bt-syspopup.rule DESTINATION /opt/etc/smack/accesses.d)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/org.tizen.bt-syspopup.png DESTINATION /opt/share/icons/default/small)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/custom_popup.edj DESTINATION /opt/apps/org.tizen.bt-syspopup/res/edje)
diff --git a/data/org.tizen.bt-syspopup.rule b/data/org.tizen.bt-syspopup.rule
new file mode 100644 (file)
index 0000000..292f409
--- /dev/null
@@ -0,0 +1,22 @@
+org.tizen.bt-syspopup system::homedir rwxat
+org.tizen.bt-syspopup system::vconf rwxat
+org.tizen.bt-syspopup system::media rwxat
+org.tizen.bt-syspopup system::share rwxat
+org.tizen.app-tray org.tizen.bt-syspopup r-x--
+org.tizen.bt-syspopup pulseaudio rwxat
+org.tizen.bt-syspopup sys-assert::core rwxat
+e17 org.tizen.bt-syspopup -w---
+org.tizen.bt-syspopup ug_bluetooth r----
+org.tizen.bt-syspopup system::use_internet r----
+org.tizen.bt-syspopup xorg rw---
+org.tizen.bt-syspopup isf rwx--
+org.tizen.bt-syspopup ail::db rw---
+org.tizen.bt-syspopup syspopup::db rwx--
+org.tizen.bt-syspopup dbus rw---
+org.tizen.bt-syspopup sound_server rw---
+org.tizen.bt-syspopup power_manager -w---
+org.tizen.bt-syspopup immvibed rw---
+org.tizen.bt-syspopup svi-data r-x--
+org.tizen.bt-syspopup ui-gadget::client rw---
+org.tizen.bt-syspopup deviced rwx--
+deviced org.tizen.bt-syspopup rwx--
index 140f51c..e70afac 100644 (file)
@@ -55,6 +55,7 @@ rm -rf %{buildroot}
 
 %files
 %manifest org.tizen.bt-syspopup.manifest
+/opt/etc/smack/accesses.d/org.tizen.bt-syspopup.rule
 %defattr(-,root,root,-)
 %{_usrdir}/share/packages/org.tizen.bt-syspopup.xml
 %{_appdir}/org.tizen.bt-syspopup/bin/bt-syspopup