clean spec file 37/28237/4 accepted/tizen/ivi/20141008.124941 submit/tizen_ivi/20141007.174646
authorRonan Le Martret <ronan@fridu.net>
Wed, 1 Oct 2014 06:51:13 +0000 (08:51 +0200)
committerRonan Le Martret <ronan@fridu.net>
Wed, 1 Oct 2014 09:52:30 +0000 (11:52 +0200)
 - Add manifest file for smack security
 - Improve rpmlint score

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

diff --git a/packaging/Modello-Hvac.manifest b/packaging/Modello-Hvac.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-hvac.spec
rename to packaging/Modello-Hvac.spec
index bb12d5e..9bd883b 100644 (file)
@@ -1,20 +1,28 @@
-Name:       Modello_Hvac
-Summary:    A proof of concept pure html5 UI
+Name:       Modello-Hvac
+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
+Source1001: Modello-Hvac.manifest
+
+Requires:       Modello-Common
+BuildRequires:  pkgconfig(libtzplatform-config)
 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,5 @@ install -m 0644 HVAC_icon.png %{buildroot}%{_datadir}/Modello/Common/icons
 
 %files
 %defattr(-,root,root,-)
-%{TZ_SYS_APP_PREINSTALL}/Modello_Hvac.wgt
+%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt
 %{_datadir}/Modello/Common/icons/HVAC_icon.png