From 867feb1d8942c184fe47a622a62a699ea529068d Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 1 Oct 2014 08:51:13 +0200 Subject: [PATCH] clean spec file - Add manifest file for smack security - Improve rpmlint score Change-Id: If0664db53d68978bb857db9aec860f88fdf6e706 Signed-off-by: Ronan Le Martret --- packaging/Modello-Hvac.manifest | 5 +++++ packaging/{modello-hvac.spec => Modello-Hvac.spec} | 24 ++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 packaging/Modello-Hvac.manifest rename packaging/{modello-hvac.spec => Modello-Hvac.spec} (63%) diff --git a/packaging/Modello-Hvac.manifest b/packaging/Modello-Hvac.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/Modello-Hvac.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/modello-hvac.spec b/packaging/Modello-Hvac.spec similarity index 63% rename from packaging/modello-hvac.spec rename to packaging/Modello-Hvac.spec index bb12d5e..9bd883b 100644 --- a/packaging/modello-hvac.spec +++ b/packaging/Modello-Hvac.spec @@ -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 -- 2.7.4