Modifying spec file to rely on Common module, and copying the code from it once insta...
[profile/ivi/html5_UI_Nav.git] / packaging / html5-ui-nav.spec
index 74e3fa0..9d9589c 100644 (file)
@@ -7,9 +7,10 @@ License:    Apache 2.0
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.bz2
 BuildRequires:  zip
-BuildRequires:  html5_UI_Common
+Requires:   html5_UI_Common
 Requires:   wrt-installer
 Requires:   wrt-plugins-ivi
+Requires:   wrt-plugins-tizen-bt
 
 %description
 A proof of concept pure html5 UI
@@ -27,6 +28,8 @@ rm -rf %{buildroot}
 
 %post
     wrt-installer -i /opt/usr/apps/.preinstallWidgets/html5UINav.wgt;
+    cp -r /opt/usr/apps/_common/js/services /opt/usr/apps/html5POC08/res/wgt/js/
+    cp -r /opt/usr/apps/_common/css/* /opt/usr/apps/html5POC08/res/wgt/css/
 
 %postun
     wrt-installer -un html5POC08.Nav