summaryrefslogtreecommitdiff
path: root/packaging/html5-ui-phone.spec
blob: 81ac969db45815ac5e89065b0dd1bcd8eccd819e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name:       html5_UI_Phone
Summary:    A proof of concept pure html5 UI
Version:    0.0.1
Release:    1
Group:      Applications/System
License:    Apache 2.0
URL:        http://www.tizen.org
Source0:    %{name}-%{version}.tar.bz2
BuildRequires:  zip
Requires:   html5_UI_Common
Requires:   wrt-installer
Requires:   wrt-plugins-ivi
Requires:   wrt-plugins-tizen-bt
Requires:   wrt-plugins-ivi-phone
Requires:   phoned

%description
A proof of concept pure html5 UI

%prep
%setup -q -n %{name}-%{version}

%build

make wgtPkg

%install
rm -rf %{buildroot}
%make_install

%post
    wrt-installer -i /opt/usr/apps/.preinstallWidgets/html5UIPhone.wgt;
    cp -r /opt/usr/apps/_common/js/services /opt/usr/apps/html5POC09/res/wgt/js/
    cp -r /opt/usr/apps/_common/css/* /opt/usr/apps/html5POC09/res/wgt/css/

%postun
    wrt-installer -un html5POC09.Phone

%files
%defattr(-,root,root,-)
/opt/usr/apps/.preinstallWidgets/html5UIPhone.wgt