clean the spec file
[profile/ivi/Modello_Phone.git] / packaging / Modello-Phone.spec
1 Name:       Modello-Phone
2 Summary:    Pure html5 UI
3 Version:    0.0.2
4 Release:    0
5 Group:      Automotive/Modello
6 License:    Apache-2.0
7 URL:        http://www.tizen.org
8 Source0:    %{name}-%{version}.tar.bz2
9 Source1001: Modello-Phone.manifest
10
11 Requires:      Modello-Common
12 Requires:      phoned
13 BuildRequires: pkgconfig(libtzplatform-config)
14 BuildRequires: zip
15
16 BuildArchitectures: noarch
17
18 %description
19 A proof of concept pure html5 UI
20
21 %prep
22 %setup -q -n %{name}-%{version}
23 cp %{SOURCE1001} .
24
25 %build
26 #empty
27
28 %install
29 rm -rf %{buildroot}
30 mkdir -p %{buildroot}%{TZ_SYS_APP_PREINSTALL}
31 mkdir -p %{buildroot}%{_datadir}/Modello/Common/icons
32 zip -r %{buildroot}%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt config.xml css data Phone_icon.png index.html js templates
33 install -m 0644 Phone_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
34
35 %files
36 %defattr(-,root,root,-)
37 %manifest %{name}.manifest
38 %{TZ_SYS_APP_PREINSTALL}/%{name}.wgt
39 %{_datadir}/Modello/Common/icons/Phone_icon.png