Add Modello web sample applications; version up
[profile/ivi/sdk/web-sample-build.git] / samples / web / Sample / Tizen / Web App / Modello_Homescreen / project / packaging / modello-homescreen.spec
1 Name:       Modello_Homescreen
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
12 %description
13 A proof of concept pure html5 UI
14
15 %prep
16 %setup -q -n %{name}-%{version}
17
18 %build
19
20 make wgtPkg
21
22 %install
23     %make_install
24     mkdir -p %{buildroot}%{_bindir}
25     mkdir -p %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
26     install -m 755 systemd/modello_launcher.sh %{buildroot}%{_bindir}
27     install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user
28     install -m 0644 systemd/Modello_Homescreen.service %{buildroot}%{_libdir}/systemd/user
29     ln -sf systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
30
31 %files
32 %defattr(-,root,root,-)
33 /opt/usr/apps/.preinstallWidgets/Modello_Homescreen.wgt
34 /opt/usr/apps/_common/icons/Homescreen_icon.png
35 %{_libdir}/systemd/user/Modello_Homescreen.service
36 %{_libdir}/systemd/user/Modello_Homescreen-launchpad-ready.path
37 %{_bindir}/modello_launcher.sh
38 %{_libdir}/systemd/user/weston.target.wants