From a6b184adb61c815161e8d632b51577fbe8d0660f Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Fri, 13 Jul 2018 07:20:49 +0200 Subject: [PATCH] Spec file cleanups --- e16-keyedit.spec.in | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/e16-keyedit.spec.in b/e16-keyedit.spec.in index ed063c3..f24b8a5 100644 --- a/e16-keyedit.spec.in +++ b/e16-keyedit.spec.in @@ -1,18 +1,15 @@ -Summary: GUI Tool for Editing Enlightenment e16 Keybindings -Name: @PACKAGE@ -Version: @VERSION@ -Release: @E_RPM_REVISION@%{?_vendorsuffix:.%{_vendorsuffix}} -License: BSD-like -Group: User Interface/Desktops -URL: http://www.enlightenment.org/ -Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz -Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings } -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -Requires: e16 >= 1.0.1 -Obsoletes: e16keyedit +Summary: GUI Tool for Editing Enlightenment e16 Keybindings +Name: @PACKAGE@ +Version: @VERSION@ +Release: @E_RPM_REVISION@%{?_vendorsuffix:.%{_vendorsuffix}} +License: BSD-like +Group: User Interface/Desktops +URL: http://www.enlightenment.org/ +Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz +Vendor: The Enlightenment Project (http://www.enlightenment.org/) +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: e16 >= 1.0.1 +Obsoletes: e16keyedit %description e16-keyedit provides a graphical interface for managing keybindings in @@ -22,18 +19,17 @@ Enlightenment e16. %setup -q %build -%configure %{?acflags} -%{__make} %{?_smp_mflags} %{?mflags} +%configure +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install} +make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(-, root, root) %doc README COPYING AUTHORS ChangeLog %{_bindir}/* %{_datadir}/applications/@PACKAGE@.desktop