-#
-# 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.7.22
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
%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
-
-wrt-installer -i %{_datadir}/GhostCluster/GhostCluster.wgt
-
-# >> install post
-# << install post
-
-
-
-
-
+if [ -f /opt/usr/apps/.preinstallWidgets/preinstallDone ]; then
+ wrt-installer -i /opt/usr/apps/.preinstallWidgets/GhostCluster.wgt;
+fi
%files
%defattr(-,root,root,-)
-%{_datadir}/GhostCluster
-#%{_datadir}/applications/GhostCluster.desktop
-#%{_datadir}/pixmaps/GhostCluster.png
-# >> files
-# << files
-
-
+/opt/usr/apps/.preinstallWidgets/GhostCluster.wgt