Spec file cleanups

This commit is contained in:
Kim Woelders 2018-07-13 07:20:49 +02:00
parent ceebebe2b7
commit a6b184adb6
1 changed files with 15 additions and 19 deletions

View File

@ -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 <mej@eterm.org>}
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