From 3aa0716b405f10db919a3a712fd0b02adc6dfeb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Mon, 29 Sep 2014 11:40:39 +0200 Subject: [PATCH] Packaging: clean spec file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Set a valid license tag. * Set a valid group tag. * Use rpm macros. Change-Id: Ia9f31123126ab37728a9981b87418d1e857e097a Signed-off-by: Kévin THIERRY --- packaging/edbus.spec | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/packaging/edbus.spec b/packaging/edbus.spec index ece23f7..5ab73df 100644 --- a/packaging/edbus.spec +++ b/packaging/edbus.spec @@ -1,12 +1,12 @@ Name: edbus Version: 1.7.8 -Release: 1 -License: BSD 2-clause +Release: 0 +License: BSD-2-Clause Summary: EFL Wrapper for DBus Url: http://www.enlightenment.org/ -Group: Graphics/EFL +Group: Graphics & UI Framework/EFL Source0: e_dbus-%{version}.tar.bz2 -Source1001: edbus.manifest +Source1001: edbus.manifest BuildRequires: doxygen BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(ecore) @@ -29,31 +29,23 @@ Development files for e_dbus cp %{SOURCE1001} . %build -%configure --disable-static -make %{?_smp_mflags} +%reconfigure --disable-static +%__make %{?_smp_mflags} %install %make_install - - - %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig - - - - %files %manifest %{name}.manifest %defattr(-,root,root,-) %license COPYING %{_bindir}/e_dbus_* -/usr/bin/e-notify-send +%{_bindir}/e-notify-send %{_libdir}/libe*.so.* -/usr/share/e_dbus/logo.png +%{_datadir}/e_dbus/logo.png %files devel %manifest %{name}.manifest @@ -62,7 +54,4 @@ make %{?_smp_mflags} %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/e_dbus-1/connman0_7x/E_Connman.h -/usr/bin/e-notify-send - - -%changelog +%{_bindir}/e-notify-send -- 2.7.4