updated vehicle.set usage to include zone
[profile/ivi/GhostCluster.git] / packaging / GhostCluster.spec
index de75e5c..0fedecd 100644 (file)
@@ -1,66 +1,40 @@
-# 
-# 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.1.28
+Version:    0.2013.10.16
 Release:    1
 Group:      Applications/System
 License:    Apache 2.0
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.gz
-BuildRequires:  desktop-file-utils
-Requires: automotive-message-broker-plugins
-
+Requires:   automotive-message-broker-plugins-websocket
+Requires:   wrt-installer
+Requires:   wrt-plugins-ivi
+BuildRequires: zip
 
 %description
 Example guage cluster for tizen ivi
 
-
-
-
 %prep
 %setup -q -n %{name}-%{version}
 
-# >> setup
-# << setup
-
 %build
-# >> build pre
-# << build pre
-
+make widget
 
-make %{?jobs:-j%jobs}
-
-# >> build post
-# << build post
 %install
 rm -rf %{buildroot}
-# >> install pre
-# << install pre
-%make_install
-
-# >> install post
-# << install post
-desktop-file-install --delete-original       \
-  --dir %{buildroot}%{_datadir}/applications             \
-   %{buildroot}%{_datadir}/applications/*.desktop
-
 
+%make_install
 
+%post
+if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then
+    wrt-installer -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt;
+fi
 
+%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