From 897a834f921db39123c7221b137685deba491b72 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Thu, 18 Sep 2014 15:19:19 +0200 Subject: [PATCH] use systemd macro for path. - improve rpmlint score Change-Id: Ic99a9f3fbd6784d5e7992ca4d13688f1eff7170d Signed-off-by: Ronan Le Martret --- packaging/Modello-Homescreen.manifest | 5 +++++ ...llo-homescreen.spec => Modello-Homescreen.spec} | 24 ++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 packaging/Modello-Homescreen.manifest rename packaging/{modello-homescreen.spec => Modello-Homescreen.spec} (79%) diff --git a/packaging/Modello-Homescreen.manifest b/packaging/Modello-Homescreen.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/Modello-Homescreen.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/modello-homescreen.spec b/packaging/Modello-Homescreen.spec similarity index 79% rename from packaging/modello-homescreen.spec rename to packaging/Modello-Homescreen.spec index bc1a318..b5f3292 100644 --- a/packaging/modello-homescreen.spec +++ b/packaging/Modello-Homescreen.spec @@ -1,20 +1,28 @@ -Name: Modello_Homescreen +Name: Modello-Homescreen Summary: A proof of concept 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-Homescreen.manifest + +BuildRequires: zip BuildRequires: pkgconfig(libtzplatform-config) +Requires: Modello-Common + +BuildArchitectures: noarch %description -A proof of concept pure html5 UI +A proof of concept pure html5 UI files %prep %setup -q -n %{name}-%{version} +cp %{SOURCE1001} . + +%build +#empty %install mkdir -p %{buildroot}%{TZ_SYS_APP_PREINSTALL} @@ -31,7 +39,7 @@ A proof of concept pure html5 UI %files %defattr(-,root,root,-) -%{TZ_SYS_APP_PREINSTALL}/Modello_Homescreen.wgt +%{TZ_SYS_APP_PREINSTALL}/%{name}.wgt %{_datadir}/Modello/Common/icons/Homescreen_icon.png %{_unitdir_user}/Modello_Homescreen.service %{_unitdir_user}/Modello_Homescreen-launchpad-ready.path -- 2.7.4