Spec file cleanups

This commit is contained in:
Kim Woelders 2018-07-13 07:19:40 +02:00
parent 32069f6eed
commit cc17380f93
1 changed files with 11 additions and 14 deletions

View File

@ -1,40 +1,37 @@
Summary: Documentation for the Enlightenment window manager.
Name: @PACKAGE@
Summary: Documentation for Enlightenment, DR16
Name: @PACKAGE@
Version: @VERSION@
Release: @E_RPM_REVISION@%{?_vendorsuffix:.%{_vendorsuffix}}
License: BSD
Group: User Interface/Desktops
Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
Prefix: %{_prefix}
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
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
BuildArch: noarch
Requires: e16-edox
Obsoletes: edox-data
Obsoletes: enlightenment-docs < 0.16.8
%description
These are the DOX data files.
DOX is a very very very simple document viewer for help docs for Enlightenment.
This is part of the Enlightenment distribution.
This package contains documentation for Enlightenment, DR16.
%prep
%setup -n %{name}-%{version}
%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 AUTHORS COPYING README
%{_datadir}/e16/E-docs/*