clean the spec file 32/28132/4 accepted/tizen/ivi/20141008.124943 submit/tizen_ivi/20141007.174646
authorRonan Le Martret <ronan@fridu.net>
Fri, 26 Sep 2014 12:31:02 +0000 (14:31 +0200)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Wed, 1 Oct 2014 09:34:24 +0000 (02:34 -0700)
 - add manifest file for smack security
 - improve rpmlint score
 - improve yocto compliance
 - change package name for yocto compliance.

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

diff --git a/packaging/Modello-Phone.manifest b/packaging/Modello-Phone.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
similarity index 63%
rename from packaging/modello-phone.spec
rename to packaging/Modello-Phone.spec
index 209e989..759f74c 100644 (file)
@@ -1,21 +1,29 @@
-Name:       Modello_Phone
-Summary:    A proof of concept pure html5 UI
+Name:       Modello-Phone
+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
-Requires:   phoned
+Source1001: Modello-Phone.manifest
+
+Requires:      Modello-Common
+Requires:      phoned
 BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: zip
+
+BuildArchitectures: noarch
 
 %description
 A proof of concept pure html5 UI
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+#empty
 
 %install
 rm -rf %{buildroot}
@@ -26,5 +34,6 @@ install -m 0644 Phone_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
 
 %files
 %defattr(-,root,root,-)
-%{TZ_SYS_APP_PREINSTALL}/Modello_Phone.wgt
+%manifest %{name}.manifest
+%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt
 %{_datadir}/Modello/Common/icons/Phone_icon.png