Tomáš Chvátal 2019-01-11 14:08:54 +00:00 committed by Git OBS Bridge
parent 4618a74c4e
commit f579393a13

View File

@ -18,11 +18,13 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "full" %if "%{flavor}" == "full"
%define name_ext -full
%bcond_without full_build %bcond_without full_build
%else %else
%define name_ext %nil
%bcond_with full_build %bcond_with full_build
%endif %endif
Name: groff Name: groff%{name_ext}
Version: 1.22.4 Version: 1.22.4
Release: 0 Release: 0
Summary: GNU troff Document Formatting System Summary: GNU troff Document Formatting System
@ -69,21 +71,6 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7) BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xmu) BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(xt)
%else
Recommends: groff-full
%endif
%description
The groff package is a stripped-down package containing the necessary
components to read manual pages in ASCII, Latin-1, and UTF-8, plus the
PostScript device (groff's default). Users who want a full groff installation,
with the standard set of devices, fonts, macros, and documentation, should
install the groff-full package.
%package -n groff-full
Summary: GNU troff Document Formatting System - full variant
# for pre-grohtml and pdfroff
Group: Productivity/Publishing/Troff
Requires: ghostscript-library Requires: ghostscript-library
# requires the -base package # requires the -base package
Requires: groff = %{version} Requires: groff = %{version}
@ -96,14 +83,14 @@ Obsoletes: jgroff < %{version}
# X fonts were moved back # X fonts were moved back
Provides: groff-devx = %{version}-%{release} Provides: groff-devx = %{version}-%{release}
Obsoletes: groff-devx <= 1.21 Obsoletes: groff-devx <= 1.21
%else
Recommends: groff-full
%endif
%description -n groff-full %description
The groff-full package provides aditional tools excluded from base groff The groff package is a stripped-down package containing the necessary
package, like grohtml, X fonts et. all. components to read manual pages in ASCII, Latin-1, and UTF-8, plus the
PostScript device (groff's default).
Groff is used to "compile" man pages stored in groff or nroff format
for different output devices, for example, displaying to a screen or in
PostScript(tm) format for printing on a PostScript(tm) printer.
%package -n groff-doc %package -n groff-doc
Summary: HTML documentation and examples for groff Summary: HTML documentation and examples for groff