diff options
-rwxr-xr-x | CMakeLists.txt | 4 | ||||
-rwxr-xr-x | org.tizen.sat-ui.rule | 24 | ||||
-rwxr-xr-x[-rw-r--r--] | packaging/org.tizen.sat-ui.spec | 2 |
3 files changed, 27 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b470b04..677f8af 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,8 +106,8 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/data/${PKG_NAME}.service DESTINATION /usr/shar # install application HOME directory INSTALL(DIRECTORY DESTINATION ${DATADIR}) -# install ini file -INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PROJECT_NAME}.ini DESTINATION /usr/share/process-info) +# install SMACK rule file +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}.rule DESTINATION /etc/smack/accesses.d) # i18n ADD_SUBDIRECTORY(po) diff --git a/org.tizen.sat-ui.rule b/org.tizen.sat-ui.rule new file mode 100755 index 0000000..cf15d12 --- /dev/null +++ b/org.tizen.sat-ui.rule @@ -0,0 +1,24 @@ +org.tizen.sat-ui system::homedir rwxat +org.tizen.sat-ui system::vconf rwxat +org.tizen.sat-ui system::media rwxat +org.tizen.sat-ui system::share rwxat +org.tizen.sat-ui pulseaudio rwxat +org.tizen.sat-ui sys-assert::core rwxat +stest-service org.tizen.sat-ui r-x-- +org.tizen.sat-ui stest-service -w--- +org.tizen.sat-ui device::app_logging -w--- +org.tizen.app-tray org.tizen.sat-ui r-x-- +e17 org.tizen.sat-ui -w--- +org.tizen.quickpanel org.tizen.sat-ui r-x-- +org.tizen.indicator org.tizen.sat-ui rwx-- +org.tizen.lockscreen org.tizen.sat-ui r-x-- +org.tizen.sat-ui org.tizen.indicator rw--- +org.tizen.sat-ui xorg rw--- +org.tizen.sat-ui isf rwx-- +org.tizen.sat-ui ail::db rw--- +org.tizen.sat-ui sound_server rw--- +org.tizen.sat-ui dbus rwx-- +org.tizen.sat-ui system::use_internet r---- +org.tizen.sat-ui power_manager -w--- +org.tizen.sat-ui deviced -w--- +org.tizen.sat-ui notification::db rw--- diff --git a/packaging/org.tizen.sat-ui.spec b/packaging/org.tizen.sat-ui.spec index 2495b3d..5a8099f 100644..100755 --- a/packaging/org.tizen.sat-ui.spec +++ b/packaging/org.tizen.sat-ui.spec @@ -59,5 +59,5 @@ vconftool set -t string memory/sat/idle_text "" -i -f -g 6514 /usr/apps/%{name}/res/media/*.wav /usr/share/dbus-1/services/org.tizen.sat-event-downloader.service /usr/share/dbus-1/services/%{name}.service -/usr/share/process-info/sat-ui.ini /usr/share/icons/default/small/%{name}.png +/etc/smack/accesses.d/%{name}.rule |