From 13335e761474e1770e573e47099a254a088b5f6c Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 26 Sep 2014 14:25:56 +0200 Subject: [PATCH] ean the spec file - add manifest file for smack security - improve rpmlint score - improve yocto compliance - change package name for yocto compliance. Change-Id: Ic56603d5cbff2a4ca039f271d82f92b0e852cba8 Bug-Tizen: TC-1686/part Signed-off-by: Ronan Le Martret --- packaging/Modello-Nav.manifest | 5 +++++ packaging/{modello-nav.spec => Modello-Nav.spec} | 25 ++++++++++++++++-------- 2 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 packaging/Modello-Nav.manifest rename packaging/{modello-nav.spec => Modello-Nav.spec} (66%) diff --git a/packaging/Modello-Nav.manifest b/packaging/Modello-Nav.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/Modello-Nav.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/modello-nav.spec b/packaging/Modello-Nav.spec similarity index 66% rename from packaging/modello-nav.spec rename to packaging/Modello-Nav.spec index 059a9d9..a86712c 100644 --- a/packaging/modello-nav.spec +++ b/packaging/Modello-Nav.spec @@ -1,20 +1,28 @@ -Name: Modello_Nav -Summary: A proof of concept pure html5 UI +Name: Modello-Nav +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-Nav.manifest + +Requires: Modello-Common 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} @@ -25,5 +33,6 @@ install -m 0644 Navigation_icon.png %{buildroot}%{_datadir}/Modello/Common/icons %files %defattr(-,root,root,-) -%{TZ_SYS_APP_PREINSTALL}/Modello_Nav.wgt +%manifest %{name}.manifest +%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt %{_datadir}/Modello/Common/icons/Navigation_icon.png -- 2.7.4