specfile: new 'tools-dvipdf' subpackage

This commit is contained in:
David Kaspar [Dee'Kej] 2018-01-18 14:40:57 +01:00
parent e71e86bcf9
commit 770acd3ace

View File

@ -50,8 +50,6 @@ License: AGPLv3+
URL: https://ghostscript.com/
Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%{version_short}/ghostscript-%{version}.tar.xz
# NOTE: The 'dvipdf' utility in 'ghostscript' package invokes 'dvips'.
Requires: texlive-dvips
Requires: libgs%{?_isa} = %{version}-%{release}
# Auxiliary build requirements:
@ -172,6 +170,25 @@ against Ghostscript's library, which provides Ghostscript's core functionality.
# ---------------
# NOTE: The 'dvipdf' utility invokes 'dvips', which is part of 'texlive-dvips'.
# This requirement pulls in a lot of texlive subpackages. Not all users
# need to use this utility, nor they wish to have a lot of disk space to
# be used by 'texlive'. Therefore the specific subpackage is necessary.
#
# Previously, the 'dvips' was moving between packages before, so it's
# more convenient (even for users) to have a direct requiremnt for the
# executable instead of package.
%package tools-dvipdf
Summary: Ghostscript's 'dvipdf' utility
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{_bindir}/dvips
%description tools-dvipdf
This package provides the utility 'dvipdf' for converting of TeX DVI files into
PDF files using Ghostscript and dvips.
# ---------------
%package tools-fonts
Summary: Ghostscript's font utilities
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -393,7 +410,6 @@ done
%{_bindir}/ghostscript
# Useful conversion scripts:
%{_bindir}/dvipdf
%{_bindir}/eps2*
%{_bindir}/pdf2*
%{_bindir}/ps2*
@ -401,19 +417,26 @@ done
%{_mandir}/man1/gs.1*
%{_mandir}/man1/gsnd*
%{_mandir}/man1/ghostscript*
%{_mandir}/man1/dvipdf*
%{_mandir}/man1/eps2*
%{_mandir}/man1/pdf2*
%{_mandir}/man1/ps2*
%lang(de) %{_mandir}/de/man1/gsnd*
%lang(de) %{_mandir}/de/man1/dvipdf*
%lang(de) %{_mandir}/de/man1/eps2*
%lang(de) %{_mandir}/de/man1/pdf2*
%lang(de) %{_mandir}/de/man1/ps2*
# ---------------
%files tools-dvipdf
%{_bindir}/dvipdf
%{_mandir}/man1/dvipdf*
%lang(de) %{_mandir}/de/man1/dvipdf*
# ---------------
%files tools-fonts
%{_bindir}/pf2afm
%{_bindir}/pfbtopfa