updated vehicle.set usage to include zone
[profile/ivi/GhostCluster.git] / packaging / GhostCluster.spec
index a820a28..0fedecd 100644 (file)
@@ -1,19 +1,14 @@
-# 
-# Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.22
-# 
-# >> macros
-# << macros
-
 Name:       GhostCluster
 Summary:    Automotive Meter Cluster Application
-Version:    0.2013.4.4
+Version:    0.2013.10.16
 Release:    1
 Group:      Applications/System
 License:    Apache 2.0
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.gz
 Requires:   automotive-message-broker-plugins-websocket
+Requires:   wrt-installer
+Requires:   wrt-plugins-ivi
 BuildRequires: zip
 
 %description
@@ -22,44 +17,24 @@ Example guage cluster for tizen ivi
 %prep
 %setup -q -n %{name}-%{version}
 
-# >> setup
-# << setup
-
 %build
-# >> build pre
-# << build pre
-
-
 make widget
 
-
-# >> build post
-# << build post
 %install
 rm -rf %{buildroot}
-# >> install pre
-# << install pre
 
 %make_install
 
 %post
+if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then
+    wrt-installer -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt;
+fi
 
-wrt-installer -i %{_datadir}/GhostCluster/GhostCluster.wgt
-
-# >> install post
-# << install post
-
-
-
-
+%postun
 
+wrt-installer -un GV3ySIINq7.GhostCluster
 
 %files
 %defattr(-,root,root,-)
-%{_datadir}/GhostCluster
-#%{_datadir}/applications/GhostCluster.desktop
-#%{_datadir}/pixmaps/GhostCluster.png
-# >> files
-# << files
-
-
+#%manifest gc.manifest
+/opt/usr/apps/.preinstallWidgets/GhostCluster.wgt