Updating packaging to remove hard coded paths
[profile/ivi/Modello_Phone.git] / packaging / modello-phone.spec
1 Name:       Modello_Phone
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 Requires:   phoned
12 BuildRequires: pkgconfig(libtzplatform-config)
13
14 %description
15 A proof of concept pure html5 UI
16
17 %prep
18 %setup -q -n %{name}-%{version}
19
20 %install
21 rm -rf %{buildroot}
22 mkdir -p %{buildroot}%{TZ_SYS_APP_PREINSTALL}
23 mkdir -p %{buildroot}%{_datadir}/Modello/Common/icons
24 zip -r %{buildroot}%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt config.xml css data Phone_icon.png index.html js templates
25 install -m 0644 Phone_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
26
27 %files
28 %defattr(-,root,root,-)
29 %{TZ_SYS_APP_PREINSTALL}/Modello_Phone.wgt
30 %{_datadir}/Modello/Common/icons/Phone_icon.png