From fb4cfe26d6b6294b1726555fdbf647645d499d58 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 26 Sep 2014 14:37:29 +0200 Subject: [PATCH] clean the spec file - add manifest file for smack security - improve rpmlint score - improve yocto compliance - change package name for yocto compliance. Change-Id: If20f18d6e5f120d4b075af3296ab7fc1d10165da Bug-Tizen: TC-1686/part Signed-off-by: Ronan Le Martret --- packaging/Modello-SDL.manifest | 5 +++++ packaging/{modello-sdl.spec => Modello-SDL.spec} | 25 ++++++++++++++++-------- 2 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 packaging/Modello-SDL.manifest rename packaging/{modello-sdl.spec => Modello-SDL.spec} (67%) diff --git a/packaging/Modello-SDL.manifest b/packaging/Modello-SDL.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/Modello-SDL.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/modello-sdl.spec b/packaging/Modello-SDL.spec similarity index 67% rename from packaging/modello-sdl.spec rename to packaging/Modello-SDL.spec index 11084e1..3614c8e 100644 --- a/packaging/modello-sdl.spec +++ b/packaging/Modello-SDL.spec @@ -1,20 +1,28 @@ -Name: Modello_SDL -Summary: A proof of concept pure html5 UI +Name: Modello-SDL +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-SDL.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 SmartDeviceLink_icon.png %{buildroot}%{_datadir}/Modello/Common/ %files %defattr(-,root,root,-) -%{TZ_SYS_APP_PREINSTALL}/Modello_SDL.wgt +%manifest %{name}.manifest +%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt %{_datadir}/Modello/Common/icons/SmartDeviceLink_icon.png -- 2.7.4