%package profile_common
Summary: System-servant configured for common profile
Provides: system-servant-compat = %{version}-%{release}
+Requires: org.tizen.powerkey-syspopup.common
Conflicts: system-servant-profile_mobile
Conflicts: system-servant-extension-rectangle-profile_wearable
Conflicts: system-servant-extension-circle-profile_wearable
to inform user crash information. It is activated
when crash event is happend
+%package -n org.tizen.powerkey-syspopup.common
+Summary: Powerkey-popup application
+Group: System/Utilities
+Requires: %{name} = %{version}-%{release}
+
+%description -n org.tizen.powerkey-syspopup.common
+to inform user powerkey information. It is activated
+when user power key event is happened
+
%package -n org.tizen.powerkey-syspopup.mobile
Summary: Powerkey-popup application
Group: System/Utilities
# uninstalling profile_common
mv /%{_bindir}/sysapp-launcher.common /%{_bindir}/sysapp-launcher
+%post -n org.tizen.powerkey-syspopup.common
+mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.mobile /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
+
%post -n org.tizen.powerkey-syspopup.mobile
mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.mobile /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
%{TZ_SYS_RO_SHARE}/packages/org.tizen.powerkey-syspopup.xml
%endif
+%files -n org.tizen.powerkey-syspopup.common
+%manifest org.tizen.powerkey-syspopup.manifest
+%license LICENSE.Apache-2.0
+%defattr(-,root,root,-)
+%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.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
+%{TZ_SYS_RO_SHARE}/packages/org.tizen.powerkey-syspopup.xml
+
%files -n org.tizen.powerkey-syspopup.mobile
%manifest org.tizen.powerkey-syspopup.manifest
%license LICENSE.Apache-2.0