059a9d916dd10f53c6534a009f7bf0c84f33ea25
[profile/ivi/sdk/web-sample-build.git] / samples / web / Sample / Tizen / Web App / ModelloNavigation / project / packaging / modello-nav.spec
1 Name:       Modello_Nav
2 Summary:    A proof of concept pure html5 UI
3 Version:    0.0.2
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 BuildRequires: pkgconfig(libtzplatform-config)
12
13 %description
14 A proof of concept pure html5 UI
15
16 %prep
17 %setup -q -n %{name}-%{version}
18
19 %install
20 rm -rf %{buildroot}
21 mkdir -p %{buildroot}%{TZ_SYS_APP_PREINSTALL}
22 mkdir -p %{buildroot}%{_datadir}/Modello/Common/icons
23 zip -r %{buildroot}%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt config.xml css Navigation_icon.png images index.html js templates
24 install -m 0644 Navigation_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
25
26 %files
27 %defattr(-,root,root,-)
28 %{TZ_SYS_APP_PREINSTALL}/Modello_Nav.wgt
29 %{_datadir}/Modello/Common/icons/Navigation_icon.png