%defattr(-,root,root,-)
%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
%{TZ_SYS_RO_SHARE}/packages/org.tizen.powerkey-syspopup.xml
+%if "%{?profile}" == "mobile"
%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/core_power_off.png
%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/core_restart.png
+%endif
+%if "%{?profile}" == "wearable"
%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/circle_btn_check.png
%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/circle_btn_delete.png
%endif
+%endif
%if %{overheat_popup} == on
%files -n org.tizen.overheat-syspopup
INSTALL(TARGETS ${EXECNAME} DESTINATION ${TZ_SYS_RO_APP}/${PKGNAME}/bin)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/powerkey/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/circle_btn_check.png DESTINATION ${RESDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/circle_btn_delete.png DESTINATION ${RESDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/core_power_off.png DESTINATION ${RESDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/core_restart.png DESTINATION ${RESDIR})
+IF(PROFILE STREQUAL wearable)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/circle_btn_check.png DESTINATION ${RESDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/circle_btn_delete.png DESTINATION ${RESDIR})
+ENDIF()
+
+IF(PROFILE STREQUAL mobile)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/core_power_off.png DESTINATION ${RESDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/core_restart.png DESTINATION ${RESDIR})
+ENDIF()
\ No newline at end of file