From ca217a36db6db81e43b1312669dba2d636d61ee1 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Fri, 18 Jul 2014 15:10:53 -0700 Subject: [PATCH] updated spec to install with xwalk Change-Id: Iab689124177903d0f5ea824e498f202f730218b1 --- packaging/GhostCluster.changes | 3 +++ packaging/GhostCluster.spec | 15 ++++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) 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,-) -- 2.7.4