use systemd macro for path. 46/27746/5 accepted/tizen/ivi/20141008.124940 accepted/tizen/ivi/20141008.133809 submit/tizen_ivi/20141007.174646 submit/tizen_ivi/20141007.175535
authorRonan Le Martret <ronan@fridu.net>
Thu, 18 Sep 2014 13:19:19 +0000 (15:19 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 2 Oct 2014 09:07:04 +0000 (11:07 +0200)
 - improve rpmlint score

Change-Id: Ic99a9f3fbd6784d5e7992ca4d13688f1eff7170d
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/Modello-Homescreen.manifest [new file with mode: 0644]
packaging/Modello-Homescreen.spec [moved from packaging/modello-homescreen.spec with 79% similarity]

diff --git a/packaging/Modello-Homescreen.manifest b/packaging/Modello-Homescreen.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
similarity index 79%
rename from packaging/modello-homescreen.spec
rename to packaging/Modello-Homescreen.spec
index bc1a318..b5f3292 100644 (file)
@@ -1,20 +1,28 @@
-Name:       Modello_Homescreen
+Name:       Modello-Homescreen
 Summary:    A proof of concept pure html5 UI
 Version:    0.0.2
-Release:    1
-Group:      Applications/System
-License:    Apache 2.0
+Release:    0
+Group:      Automotive/Modello
+License:    Apache-2.0
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.bz2
-BuildRequires:  zip
-Requires:   Modello_Common
+Source1001: Modello-Homescreen.manifest
+
+BuildRequires: zip
 BuildRequires: pkgconfig(libtzplatform-config)
+Requires:      Modello-Common
+
+BuildArchitectures: noarch
 
 %description
-A proof of concept pure html5 UI
+A proof of concept pure html5 UI files
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+#empty
 
 %install
     mkdir -p %{buildroot}%{TZ_SYS_APP_PREINSTALL}
@@ -31,7 +39,7 @@ A proof of concept pure html5 UI
 
 %files
 %defattr(-,root,root,-)
-%{TZ_SYS_APP_PREINSTALL}/Modello_Homescreen.wgt
+%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt
 %{_datadir}/Modello/Common/icons/Homescreen_icon.png
 %{_unitdir_user}/Modello_Homescreen.service
 %{_unitdir_user}/Modello_Homescreen-launchpad-ready.path