clean spec file 45/27945/3
authorRonan Le Martret <ronan@fridu.net>
Tue, 23 Sep 2014 11:52:35 +0000 (13:52 +0200)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Wed, 1 Oct 2014 09:35:37 +0000 (02:35 -0700)
 - improve rpmlint score
 - add manifest file for smack security
 - change package name for yocto compliance.

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

diff --git a/packaging/Modello-Common.manifest b/packaging/Modello-Common.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
similarity index 58%
rename from packaging/modello-common.spec
rename to packaging/Modello-Common.spec
index 821ff38..12a5685 100644 (file)
@@ -1,24 +1,36 @@
-Name:       Modello_Common
-Summary:    A proof of concept pure html5 UI
+Name:       Modello-Common
+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-Common.manifest
+
+BuildRequires:  fdupes
+
+BuildArchitectures: noarch
 
 %description
 A proof of concept pure html5 UI
 
 %prep
 %setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+#empty
 
 %install
 mkdir -p %{buildroot}%{_datadir}/Modello/Common/
 cp -r css %{buildroot}%{_datadir}/Modello/Common/
 cp -r js %{buildroot}%{_datadir}/Modello/Common/
 
+%fdupes %{buildroot}%{_datadir}
+
 %files
 %defattr(-,root,root,-)
+%manifest %{name}.manifest
 %{_datadir}/Modello/Common/js
 %{_datadir}/Modello/Common/css