updated spec to use wrt
authorKevron Rees <kevron_m_rees@linux.intel.com>
Wed, 3 Apr 2013 22:48:32 +0000 (15:48 -0700)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Wed, 3 Apr 2013 22:48:32 +0000 (15:48 -0700)
packaging/GhostCluster.spec

index de75e5c..cd1af8b 100644 (file)
@@ -13,16 +13,12 @@ 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
 
 
 %description
 Example guage cluster for tizen ivi
 
-
-
-
 %prep
 %setup -q -n %{name}-%{version}
 
@@ -34,7 +30,8 @@ Example guage cluster for tizen ivi
 # << build pre
 
 
-make %{?jobs:-j%jobs}
+make widget
+
 
 # >> build post
 # << build post
@@ -42,13 +39,13 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 # >> install pre
 # << install pre
-%make_install
+# %make_install
+
+make install_widget
+wrt-installer -i %{_datadir}/GhostCluster/GhostCluster.wgt
 
 # >> install post
 # << install post
-desktop-file-install --delete-original       \
-  --dir %{buildroot}%{_datadir}/applications             \
-   %{buildroot}%{_datadir}/applications/*.desktop