Changing file names
[profile/ivi/Modello_Hvac.git] / packaging / modello-hvac.spec
1 Name:       Modello_Hvac
2 Summary:    A proof of concept pure html5 UI
3 Version:    0.0.1
4 Release:    1
5 Group:      Applications/System
6 License:    Apache 2.0
7 URL:        http://www.tizen.org
8 Source0:    %{name}-%{version}.tar.bz2
9 BuildRequires:  zip
10 Requires:   Modello_Common
11 Requires:   wrt-installer
12 Requires:   wrt-plugins-ivi
13 Requires:   wrt-plugins-tizen-bt
14
15 %description
16 A proof of concept pure html5 UI
17
18 %prep
19 %setup -q -n %{name}-%{version}
20
21 %build
22
23 make wgtPkg
24
25 %install
26 rm -rf %{buildroot}
27 %make_install
28
29 %post
30     wrt-installer -i /opt/usr/apps/.preinstallWidgets/html5UIHvac.wgt;
31     cp -r /opt/usr/apps/_common/js/services /opt/usr/apps/html5POC06/res/wgt/js/
32     cp -r /opt/usr/apps/_common/css /opt/usr/apps/html5POC06/res/wgt/
33
34 %postun
35     wrt-installer -un html5POC06.Hvac
36
37 %files
38 %defattr(-,root,root,-)
39 /opt/usr/apps/.preinstallWidgets/html5UIHvac.wgt