clean spec file 02/28002/3 accepted/tizen/ivi/20141008.124936 submit/tizen_ivi/20141007.174646
authorRonan Le Martret <ronan@fridu.net>
Wed, 24 Sep 2014 08:22:23 +0000 (10:22 +0200)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Wed, 1 Oct 2014 09:35:59 +0000 (02:35 -0700)
 - allow yocto compatibility
 - improve rpmlint score
 - change package name for yocto compliance.

Change-Id: I17e3c9c3c32c6b4cf399eb68cbe91b2723ba7994
Bug-Tizen: TC-1686/part
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/Modello-Appmanager.manifest [new file with mode: 0644]
packaging/Modello-Appmanager.spec [moved from packaging/modello-appmanager.spec with 65% similarity]

diff --git a/packaging/Modello-Appmanager.manifest b/packaging/Modello-Appmanager.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
similarity index 65%
rename from packaging/modello-appmanager.spec
rename to packaging/Modello-Appmanager.spec
index 763d58e..b8d4828 100644 (file)
@@ -1,20 +1,28 @@
-Name:       Modello_Appmanager
-Summary:    A proof of concept pure html5 UI
+Name:       Modello-Appmanager
+Summary:    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-Appmanager.manifest
+
+BuildRequires: zip
+Requires:      Modello-Common
 BuildRequires: pkgconfig(libtzplatform-config)
 
+BuildArchitectures: noarch
+
 %description
 A proof of concept pure html5 UI
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+#empty
 
 %install
 rm -rf %{buildroot}
@@ -25,5 +33,6 @@ install -m 0644 AppManager_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
 
 %files
 %defattr(-,root,root,-)
-%{TZ_SYS_APP_PREINSTALL}/Modello_Appmanager.wgt
+%manifest %{name}.manifest
+%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt
 %{_datadir}/Modello/Common/icons/AppManager_icon.png