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 Summary: GUI Tool for Editing Enlightenment e16 Keybindings
Name: @PACKAGE@ Name: @PACKAGE@
Version: @VERSION@ Version: @VERSION@
Release: @E_RPM_REVISION@%{?_vendorsuffix:.%{_vendorsuffix}} Release: @E_RPM_REVISION@%{?_vendorsuffix:.%{_vendorsuffix}}
License: BSD-like License: BSD-like
Group: User Interface/Desktops Group: User Interface/Desktops
URL: http://www.enlightenment.org/ URL: http://www.enlightenment.org/
Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} Vendor: The Enlightenment Project (http://www.enlightenment.org/)
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} BuildRoot: %{_tmppath}/%{name}-%{version}-root
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} Requires: e16 >= 1.0.1
Prefix: %{_prefix} Obsoletes: e16keyedit
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: e16 >= 1.0.1
Obsoletes: e16keyedit
%description %description
e16-keyedit provides a graphical interface for managing keybindings in e16-keyedit provides a graphical interface for managing keybindings in
@ -22,18 +19,17 @@ Enlightenment e16.
%setup -q %setup -q
%build %build
%configure %{?acflags} %configure
%{__make} %{?_smp_mflags} %{?mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install} make install DESTDIR=$RPM_BUILD_ROOT
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root)
%doc README COPYING AUTHORS ChangeLog %doc README COPYING AUTHORS ChangeLog
%{_bindir}/* %{_bindir}/*
%{_datadir}/applications/@PACKAGE@.desktop %{_datadir}/applications/@PACKAGE@.desktop