From: Kevron Rees Date: Fri, 18 Jul 2014 22:10:53 +0000 (-0700) Subject: updated spec to install with xwalk X-Git-Tag: submit/tizen/20140718.221219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20140718.221219;p=profile%2Fivi%2FGhostCluster.git updated spec to install with xwalk Change-Id: Iab689124177903d0f5ea824e498f202f730218b1 --- diff --git a/packaging/GhostCluster.changes b/packaging/GhostCluster.changes index 7a92d93..2952d60 100644 --- a/packaging/GhostCluster.changes +++ b/packaging/GhostCluster.changes @@ -1,3 +1,6 @@ +* Fri Jul 19 2014 +- Updated spec to install with xwalk + * Tue Feb 04 2014 - No need to include websocket plugin diff --git a/packaging/GhostCluster.spec b/packaging/GhostCluster.spec index 58b8c18..35e1dba 100644 --- a/packaging/GhostCluster.spec +++ b/packaging/GhostCluster.spec @@ -6,9 +6,9 @@ Group: Applications/System License: Apache 2.0 URL: http://www.tizen.org Source0: %{name}-%{version}.tar.gz -Requires: wrt-installer -Requires: wrt-plugins-ivi BuildRequires: zip +Requires: crosswalk +Requires: tizen-platform-config %description Example guage cluster for tizen ivi @@ -24,14 +24,15 @@ rm -rf %{buildroot} %make_install -%post -if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then - wrt-installer -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt; -fi +%post +source %_sysconfdir/tizen-platform.conf +export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/5000/dbus/user_bus_socket" + +su app -c "xwalkctl -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt" %postun -wrt-installer -un GV3ySIINq7.GhostCluster +su app -c "xwalkctl -u $(su %{MODELLO_INSTALL_USER} -c "xwalkctl" | grep GhostCluster | cut -c 1-32) %files %defattr(-,root,root,-)