# 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)
--- /dev/null
+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--
%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