Update SMACK manifest and rule files
authorTaeyoung Kim <ty317.kim@samsung.com>
Fri, 3 May 2013 11:03:17 +0000 (20:03 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Fri, 3 May 2013 11:03:17 +0000 (20:03 +0900)
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
19 files changed:
lowbatt-popup/CMakeLists.txt
lowmem-popup/CMakeLists.txt
mmc-popup/CMakeLists.txt
packaging/org.tizen.lowbat-syspopup.manifest
packaging/org.tizen.lowbat-syspopup.rule [new file with mode: 0644]
packaging/org.tizen.lowmem-syspopup.manifest
packaging/org.tizen.lowmem-syspopup.rule [new file with mode: 0644]
packaging/org.tizen.mmc-syspopup.manifest
packaging/org.tizen.mmc-syspopup.rule [new file with mode: 0644]
packaging/org.tizen.poweroff-syspopup.manifest
packaging/org.tizen.poweroff-syspopup.rule [new file with mode: 0644]
packaging/org.tizen.usb-syspopup.manifest
packaging/org.tizen.usb-syspopup.rule [new file with mode: 0644]
packaging/org.tizen.usbotg-syspopup.manifest
packaging/org.tizen.usbotg-syspopup.rule [new file with mode: 0644]
packaging/system-popup.spec
poweroff-popup/CMakeLists.txt
usb-popup/CMakeLists.txt
usbotg-popup/CMakeLists.txt

index ee81c01..24d689b 100755 (executable)
@@ -57,6 +57,9 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/org.tizen.lowbat-syspopup.png DESTINATION
 
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/org.tizen.lowbat-syspopup.xml DESTINATION /usr/share/packages/)
 
+# instatll rule file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.lowbat-syspopup.rule DESTINATION /etc/smack/accesses2.d)
+
 # install ini file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PROJECT_NAME}.ini DESTINATION /usr/share/process-info)
 
index 332579b..5d854fc 100755 (executable)
@@ -58,6 +58,9 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/sound/02_Warning.wav DESTINATION /usr/apps/org
 # install manifest xml file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/org.tizen.lowmem-syspopup.xml DESTINATION /usr/share/packages/)
 
+# instatll rule file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.lowmem-syspopup.rule DESTINATION /etc/smack/accesses2.d)
+
 # install ini file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PROJECT_NAME}.ini DESTINATION /usr/share/process-info)
 
index c2461d1..aaa413f 100755 (executable)
@@ -48,6 +48,9 @@ SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 # install manifest xml file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/org.tizen.mmc-syspopup.xml DESTINATION /usr/share/packages/)
 
+# instatll rule file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.mmc-syspopup.rule DESTINATION /etc/smack/accesses2.d)
+
 # install ini file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PROJECT_NAME}.ini DESTINATION /usr/share/process-info)
 
index 75b0fa5..e0b49fd 100644 (file)
@@ -1,5 +1,8 @@
 <manifest>
+    <define>
+        <domain name="org.tizen.lowbat-syspopup"/>
+    </define>
     <request>
-        <domain name="_"/>
+        <domain name="org.tize.lowbat-syspopup"/>
     </request>
 </manifest>
diff --git a/packaging/org.tizen.lowbat-syspopup.rule b/packaging/org.tizen.lowbat-syspopup.rule
new file mode 100644 (file)
index 0000000..0bd92ad
--- /dev/null
@@ -0,0 +1,46 @@
+org.tizen.lowbat-syspopup system::vconf arwxt
+org.tizen.lowbat-syspopup system rx
+org.tizen.lowbat-syspopup svi-data rx
+org.tizen.lowbat-syspopup system::media rwxat
+org.tizen.lowbat-syspopup system::share rwxat
+org.tizen.lowbat-syspopup aul::db rx
+org.tizen.lowbat-syspopup system::use_internet r
+org.tizen.lowbat-syspopup system::homedir rwxat
+org.tizen.lowbat-syspopup system::app_logging w
+org.tizen.lowbat-syspopup isf rx
+org.tizen.lowbat-syspopup ail::db rw
+org.tizen.lowbat-syspopup immvibed rw
+org.tizen.lowbat-syspopup syspopup::db rw
+org.tizen.lowbat-syspopup power_manager w
+org.tizen.lowbat-syspopup xorg rw
+org.tizen.lowbat-syspopup system::system_bklight w
+org.tizen.lowbat-syspopup system-server rx
+org.tizen.lowbat-syspopup deviced rwx
+org.tizen.lowbat-syspopup display_wd rx
+org.tizen.lowbat-syspopup live-magazine::data x
+org.tizen.lowbat-syspopup sound_server rwxa
+org.tizen.lowbat-syspopup dbus rwx
+org.tizen.lowbat-syspopup pulseaudio rwxat
+org.tizen.lowbat-syspopup devman wx
+org.tizen.lowbat-syspopup org.tizen.data-provider-master rw
+org.tizen.lowbat-syspopup data-provider-master rw
+org.tizen.lowbat-syspopup data-provider-master::share x
+org.tizen.lowbat-syspopup sys-assert::core rwxat
+org.tizen.lowbat-syspopup _ wx
+org.tizen.lowbat-syspopup stest-service w
+org.tizen.lowbat-syspopup tts-server rwx
+org.tizen.lowbat-syspopup syslogd w
+org.tizen.lowbat-syspopup device::app_logging w
+org.tizen.lowbat-syspopup device::led r
+org.tizen.lowbat-syspopup org.tizen.svoice rw
+org.tizen.lowbat-syspopup org.tizen.voicerecorder rw
+stest-service org.tizen.lowbat-syspopup rx
+system-server org.tizen.lowbat-syspopup w
+deviced org.tizen.lowbat-syspopup w
+display_wd org.tizen.lowbat-syspopup w
+dbus org.tizen.lowbat-syspopup w
+e17 org.tizen.lowbat-syspopup w
+pulseaudio org.tizen.lowbat-syspopup w
+org.tizen.app-tray org.tizen.lowbat-syspopup rx
+tts-server org.tizen.lowbat-syspopup rw
+_ org.tizen.lowbat-syspopup w
index 75b0fa5..f0b4c6c 100644 (file)
@@ -1,5 +1,8 @@
 <manifest>
+    <define>
+        <domain name="org.tize.lowmem-syspopup"/>
+    </define>
     <request>
-        <domain name="_"/>
+        <domain name="org.tize.lowmem-syspopup"/>
     </request>
 </manifest>
diff --git a/packaging/org.tizen.lowmem-syspopup.rule b/packaging/org.tizen.lowmem-syspopup.rule
new file mode 100644 (file)
index 0000000..292a6cf
--- /dev/null
@@ -0,0 +1,46 @@
+org.tizen.lowmem-syspopup system::vconf arwxt
+org.tizen.lowmem-syspopup system rx
+org.tizen.lowmem-syspopup svi-data rx
+org.tizen.lowmem-syspopup system::media rwxat
+org.tizen.lowmem-syspopup system::share rwxat
+org.tizen.lowmem-syspopup aul::db rx
+org.tizen.lowmem-syspopup system::use_internet r
+org.tizen.lowmem-syspopup system::homedir rwxat
+org.tizen.lowmem-syspopup system::app_logging w
+org.tizen.lowmem-syspopup isf rx
+org.tizen.lowmem-syspopup ail::db rw
+org.tizen.lowmem-syspopup immvibed rw
+org.tizen.lowmem-syspopup syspopup::db rw
+org.tizen.lowmem-syspopup power_manager w
+org.tizen.lowmem-syspopup xorg rw
+org.tizen.lowmem-syspopup system::system_bklight w
+org.tizen.lowmem-syspopup system-server rx
+org.tizen.lowmem-syspopup deviced rwx
+org.tizen.lowmem-syspopup display_wd rx
+org.tizen.lowmem-syspopup live-magazine::data x
+org.tizen.lowmem-syspopup sound_server rwxa
+org.tizen.lowmem-syspopup dbus rwx
+org.tizen.lowmem-syspopup pulseaudio rwxat
+org.tizen.lowmem-syspopup devman wx
+org.tizen.lowmem-syspopup org.tizen.data-provider-master rw
+org.tizen.lowmem-syspopup data-provider-master rw
+org.tizen.lowmem-syspopup data-provider-master::share x
+org.tizen.lowmem-syspopup sys-assert::core rwxat
+org.tizen.lowmem-syspopup _ wx
+org.tizen.lowmem-syspopup stest-service w
+org.tizen.lowmem-syspopup tts-server rwx
+org.tizen.lowmem-syspopup syslogd w
+org.tizen.lowmem-syspopup device::app_logging w
+org.tizen.lowmem-syspopup device::led r
+org.tizen.lowmem-syspopup org.tizen.svoice rw
+org.tizen.lowmem-syspopup org.tizen.voicerecorder rw
+stest-service org.tizen.lowmem-syspopup rx
+system-server org.tizen.lowmem-syspopup w
+deviced org.tizen.lowmem-syspopup w
+display_wd org.tizen.lowmem-syspopup w
+dbus org.tizen.lowmem-syspopup w
+e17 org.tizen.lowmem-syspopup w
+pulseaudio org.tizen.lowmem-syspopup w
+org.tizen.app-tray org.tizen.lowmem-syspopup rx
+tts-server org.tizen.lowmem-syspopup rw
+_ org.tizen.lowmem-syspopup w
index 75b0fa5..0c1a1dc 100644 (file)
@@ -1,5 +1,8 @@
 <manifest>
+    <define>
+        <domain name="org.tize.mmc-syspopup"/>
+    </define>
     <request>
-        <domain name="_"/>
+        <domain name="org.tize.mmc-syspopup"/>
     </request>
 </manifest>
diff --git a/packaging/org.tizen.mmc-syspopup.rule b/packaging/org.tizen.mmc-syspopup.rule
new file mode 100644 (file)
index 0000000..80eb82a
--- /dev/null
@@ -0,0 +1,46 @@
+org.tizen.mmc-syspopup system::vconf arwxt
+org.tizen.mmc-syspopup system rx
+org.tizen.mmc-syspopup svi-data rx
+org.tizen.mmc-syspopup system::media rwxat
+org.tizen.mmc-syspopup system::share rwxat
+org.tizen.mmc-syspopup aul::db rx
+org.tizen.mmc-syspopup system::use_internet r
+org.tizen.mmc-syspopup system::homedir rwxat
+org.tizen.mmc-syspopup system::app_logging w
+org.tizen.mmc-syspopup isf rx
+org.tizen.mmc-syspopup ail::db rw
+org.tizen.mmc-syspopup immvibed rw
+org.tizen.mmc-syspopup syspopup::db rw
+org.tizen.mmc-syspopup power_manager w
+org.tizen.mmc-syspopup xorg rw
+org.tizen.mmc-syspopup system::system_bklight w
+org.tizen.mmc-syspopup system-server rx
+org.tizen.mmc-syspopup deviced rwx
+org.tizen.mmc-syspopup display_wd rx
+org.tizen.mmc-syspopup live-magazine::data x
+org.tizen.mmc-syspopup sound_server rwxa
+org.tizen.mmc-syspopup dbus rwx
+org.tizen.mmc-syspopup pulseaudio rwxat
+org.tizen.mmc-syspopup devman wx
+org.tizen.mmc-syspopup org.tizen.data-provider-master rw
+org.tizen.mmc-syspopup data-provider-master rw
+org.tizen.mmc-syspopup data-provider-master::share x
+org.tizen.mmc-syspopup sys-assert::core rwxat
+org.tizen.mmc-syspopup _ wx
+org.tizen.mmc-syspopup stest-service w
+org.tizen.mmc-syspopup tts-server rwx
+org.tizen.mmc-syspopup syslogd w
+org.tizen.mmc-syspopup device::app_logging w
+org.tizen.mmc-syspopup device::led r
+org.tizen.mmc-syspopup org.tizen.svoice rw
+org.tizen.mmc-syspopup org.tizen.voicerecorder rw
+stest-service org.tizen.mmc-syspopup rx
+system-server org.tizen.mmc-syspopup w
+deviced org.tizen.mmc-syspopup w
+display_wd org.tizen.mmc-syspopup w
+dbus org.tizen.mmc-syspopup w
+e17 org.tizen.mmc-syspopup w
+pulseaudio org.tizen.mmc-syspopup w
+org.tizen.app-tray org.tizen.mmc-syspopup rx
+tts-server org.tizen.mmc-syspopup rw
+_ org.tizen.mmc-syspopup w
index 75b0fa5..be20249 100644 (file)
@@ -1,5 +1,8 @@
 <manifest>
+    <define>
+        <domain name="org.tize.poweroff-syspopup"/>
+    </define>
     <request>
-        <domain name="_"/>
+        <domain name="org.tize.poweroff-syspopup"/>
     </request>
 </manifest>
diff --git a/packaging/org.tizen.poweroff-syspopup.rule b/packaging/org.tizen.poweroff-syspopup.rule
new file mode 100644 (file)
index 0000000..023dd46
--- /dev/null
@@ -0,0 +1,46 @@
+org.tizen.poweroff-syspopup system::vconf arwxt
+org.tizen.poweroff-syspopup system rx
+org.tizen.poweroff-syspopup svi-data rx
+org.tizen.poweroff-syspopup system::media rwxat
+org.tizen.poweroff-syspopup system::share rwxat
+org.tizen.poweroff-syspopup aul::db rx
+org.tizen.poweroff-syspopup system::use_internet r
+org.tizen.poweroff-syspopup system::homedir rwxat
+org.tizen.poweroff-syspopup system::app_logging w
+org.tizen.poweroff-syspopup isf rx
+org.tizen.poweroff-syspopup ail::db rw
+org.tizen.poweroff-syspopup immvibed rw
+org.tizen.poweroff-syspopup syspopup::db rw
+org.tizen.poweroff-syspopup power_manager w
+org.tizen.poweroff-syspopup xorg rw
+org.tizen.poweroff-syspopup system::system_bklight w
+org.tizen.poweroff-syspopup system-server rx
+org.tizen.poweroff-syspopup deviced rwx
+org.tizen.poweroff-syspopup display_wd rx
+org.tizen.poweroff-syspopup live-magazine::data x
+org.tizen.poweroff-syspopup sound_server rwxa
+org.tizen.poweroff-syspopup dbus rwx
+org.tizen.poweroff-syspopup pulseaudio rwxat
+org.tizen.poweroff-syspopup devman wx
+org.tizen.poweroff-syspopup org.tizen.data-provider-master rw
+org.tizen.poweroff-syspopup data-provider-master rw
+org.tizen.poweroff-syspopup data-provider-master::share x
+org.tizen.poweroff-syspopup sys-assert::core rwxat
+org.tizen.poweroff-syspopup _ wx
+org.tizen.poweroff-syspopup stest-service w
+org.tizen.poweroff-syspopup tts-server rwx
+org.tizen.poweroff-syspopup syslogd w
+org.tizen.poweroff-syspopup device::app_logging w
+org.tizen.poweroff-syspopup device::led rw
+org.tizen.poweroff-syspopup org.tizen.svoice rw
+org.tizen.poweroff-syspopup org.tizen.voicerecorder rw
+stest-service org.tizen.poweroff-syspopup rx
+system-server org.tizen.poweroff-syspopup w
+deviced org.tizen.poweroff-syspopup w
+display_wd org.tizen.poweroff-syspopup w
+dbus org.tizen.poweroff-syspopup w
+e17 org.tizen.poweroff-syspopup w
+pulseaudio org.tizen.poweroff-syspopup w
+org.tizen.app-tray org.tizen.poweroff-syspopup rx
+tts-server org.tizen.poweroff-syspopup rw
+_ org.tizen.poweroff-syspopup w
index 75b0fa5..c1fa4be 100644 (file)
@@ -1,5 +1,8 @@
 <manifest>
-    <request>
-        <domain name="_"/>
-    </request>
+       <define>
+               <domain name="org.tize.usb-syspopup"/>
+       </define>
+       <request>
+               <domain name="org.tize.usb-syspopup"/>
+       </request>
 </manifest>
diff --git a/packaging/org.tizen.usb-syspopup.rule b/packaging/org.tizen.usb-syspopup.rule
new file mode 100644 (file)
index 0000000..16740a1
--- /dev/null
@@ -0,0 +1,21 @@
+org.tizen.usb-syspopup device::app_logging w
+org.tizen.usb-syspopup system::homedir rwxat
+org.tizen.usb-syspopup system::use_internet r
+org.tizen.usb-syspopup system::vconf rwxat
+org.tizen.usb-syspopup xorg rw
+org.tizen.usb-syspopup isf rx
+org.tizen.usb-syspopup ail::db rw
+org.tizen.usb-syspopup sound_server rw
+org.tizen.usb-syspopup dbus rwx
+org.tizen.usb-syspopup com.samsung.add-viewer rx
+org.tizen.usb-syspopup pulseaudio rwxat
+org.tizen.usb-syspopup usb-server w
+org.tizen.usb-syspopup syspopup::db rw
+org.tizen.usb-syspopup cbhm r
+org.tizen.usb-syspopup sys-assert::core wx
+org.tizen.usb-syspopup system::share rwxat
+org.tizen.usb-syspopup mobileprint x
+org.tizen.usb-syspopup system::media rwxat
+org.tizen.usb-syspopup wrt_launchpad_daemon r
+com.samsung.app-tray org.tizen.usb-syspopup rx
+e17 org.tizen.usb-syspopup wx
index 96a1325..e13fec7 100644 (file)
@@ -1,5 +1,8 @@
 <manifest>
-    <request>
-        <domain name="_"/>
-    </request>
-</manifest>
\ No newline at end of file
+       <define>
+               <domain name="org.tize.usbotg-syspopup"/>
+       </define>
+       <request>
+               <domain name="org.tize.usbotg-syspopup"/>
+       </request>
+</manifest>
diff --git a/packaging/org.tizen.usbotg-syspopup.rule b/packaging/org.tizen.usbotg-syspopup.rule
new file mode 100644 (file)
index 0000000..968342d
--- /dev/null
@@ -0,0 +1,22 @@
+org.tizen.usbotg-syspopup device::app_logging w
+org.tizen.usbotg-syspopup system::homedir rwxat
+org.tizen.usbotg-syspopup system::use_internet r
+org.tizen.usbotg-syspopup system::vconf rwxat
+org.tizen.usbotg-syspopup syspopup::db rw
+org.tizen.usbotg-syspopup xorg rw
+org.tizen.usbotg-syspopup sound_server rw
+org.tizen.usbotg-syspopup power_manager w
+org.tizen.usbotg-syspopup deviced w
+org.tizen.usbotg-syspopup isf rx
+org.tizen.usbotg-syspopup ail::db rw
+org.tizen.usbotg-syspopup dbus rwx
+org.tizen.usbotg-syspopup com.samsung.add-viewer rx
+org.tizen.usbotg-syspopup pulseaudio rwxat
+org.tizen.usbotg-syspopup cbhm r
+org.tizen.usbotg-syspopup system::share rwxat
+org.tizen.usbotg-syspopup mobileprint x
+org.tizen.usbotg-syspopup system::media rwxat
+org.tizen.usbotg-syspopup sys-assert::core wx
+org.tizen.usbotg-syspopup wrt_launchpad_daemon r
+com.samsung.app-tray org.tizen.usbotg-syspopup rx
+e17 org.tizen.usbotg-syspopup wx
index 37bc2d4..2838274 100755 (executable)
@@ -11,6 +11,12 @@ Source1003:    org.tizen.lowbat-syspopup.manifest
 Source1004:    org.tizen.mmc-syspopup.manifest
 Source1005:    org.tizen.usb-syspopup.manifest
 Source1006:    org.tizen.usbotg-syspopup.manifest
+Source1007:    org.tizen.poweroff-syspopup.rule
+Source1008:    org.tizen.lowmem-syspopup.rule
+Source1009:    org.tizen.lowbat-syspopup.rule
+Source1010:    org.tizen.mmc-syspopup.rule
+Source1011:    org.tizen.usb-syspopup.rule
+Source1012:    org.tizen.usbotg-syspopup.rule
 BuildRequires:  pkgconfig(evas)
 BuildRequires:  pkgconfig(ecore-input)
 BuildRequires:  pkgconfig(ethumb)
@@ -100,6 +106,13 @@ cp %{SOURCE1003} .
 cp %{SOURCE1004} .
 cp %{SOURCE1005} .
 cp %{SOURCE1006} .
+cp %{SOURCE1007} .
+cp %{SOURCE1008} .
+cp %{SOURCE1009} .
+cp %{SOURCE1010} .
+cp %{SOURCE1011} .
+cp %{SOURCE1012} .
+
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 make %{?jobs:-j%jobs}
 
@@ -123,6 +136,7 @@ vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
 /usr/share/packages/org.tizen.poweroff-syspopup.xml
 /usr/share/process-info/poweroff-popup.ini
 /usr/apps/org.tizen.poweroff-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/etc/smack/accesses2.d/org.tizen.poweroff-syspopup.rule
 
 %files -n org.tizen.lowmem-syspopup
 %manifest org.tizen.lowmem-syspopup.manifest
@@ -134,6 +148,7 @@ vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
 /usr/share/packages/org.tizen.lowmem-syspopup.xml
 /usr/share/process-info/lowmem-popup.ini
 /usr/apps/org.tizen.lowmem-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/etc/smack/accesses2.d/org.tizen.lowmem-syspopup.rule
 
 %files -n org.tizen.lowbat-syspopup
 %manifest org.tizen.lowbat-syspopup.manifest
@@ -144,6 +159,7 @@ vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
 /usr/apps/org.tizen.lowbat-syspopup/res/icon/org.tizen.lowbat-syspopup.png
 /usr/share/packages/org.tizen.lowbat-syspopup.xml
 /usr/share/process-info/lowbatt-popup.ini
+/etc/smack/accesses2.d/org.tizen.lowbat-syspopup.rule
 
 %files -n org.tizen.mmc-syspopup
 %manifest org.tizen.mmc-syspopup.manifest
@@ -152,6 +168,7 @@ vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
 /usr/share/packages/org.tizen.mmc-syspopup.xml
 /usr/share/process-info/mmc-popup.ini
 /usr/apps/org.tizen.mmc-syspopup/res/locale/*/LC_MESSAGES/*.mo
+/etc/smack/accesses2.d/org.tizen.mmc-syspopup.rule
 
 %files -n org.tizen.usb-syspopup
 %manifest org.tizen.usb-syspopup.manifest
@@ -159,9 +176,11 @@ vconftool set -t int db/setting/select_popup_btn "0" -u 5000 -f
 %attr(555,app,app) /usr/apps/org.tizen.usb-syspopup/bin/usb-syspopup
 %attr(440,app,app) /usr/apps/org.tizen.usb-syspopup/res/locale/*/LC_MESSAGES/usb-syspopup.mo
 /usr/share/packages/org.tizen.usb-syspopup.xml
+/etc/smack/accesses2.d/org.tizen.usb-syspopup.rule
 
 %files -n org.tizen.usbotg-syspopup
 %manifest org.tizen.usbotg-syspopup.manifest
 %defattr(440,root,root,-)
 %attr(555,app,app) /usr/apps/org.tizen.usbotg-syspopup/bin/usbotg-syspopup
 /usr/share/packages/org.tizen.usbotg-syspopup.xml
+/etc/smack/accesses2.d/org.tizen.usbotg-syspopup.rule
index 3dd85b0..d6dec23 100755 (executable)
@@ -58,6 +58,9 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/org.tizen.poweroff-syspopup.png DESTINATI
 # install manifest xml file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/org.tizen.poweroff-syspopup.xml DESTINATION /usr/share/packages/)
 
+# instatll rule file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.poweroff-syspopup.rule DESTINATION /etc/smack/accesses2.d)
+
 # install ini file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PROJECT_NAME}.ini DESTINATION /usr/share/process-info)
 
index e179011..ab62827 100644 (file)
@@ -44,4 +44,7 @@ INSTALL(TARGETS ${PACKAGE} DESTINATION ${BINDIR})
 # install manifest file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
 
+# install smack rule file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/${PKGNAME}.rule DESTINATION /etc/smack/accesses2.d)
+
 ADD_SUBDIRECTORY(po)
index 0d0929a..2ce434e 100755 (executable)
@@ -42,3 +42,5 @@ INSTALL(TARGETS ${PACKAGE} DESTINATION ${BINDIR})
 # install manifest xml file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
 
+# install smack rule file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/${PKGNAME}.rule DESTINATION /etc/smack/accesses2.d)
\ No newline at end of file