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

@ -6,11 +6,8 @@ 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}}
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: e16 >= 1.0.1 Requires: e16 >= 1.0.1
Obsoletes: e16keyedit Obsoletes: e16keyedit
@ -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