2006-12-18 23:16:43 +00:00
|
|
|
#
|
2011-03-15 09:19:26 +00:00
|
|
|
# spec file for package groff
|
2006-12-18 23:16:43 +00:00
|
|
|
#
|
2019-01-03 12:55:24 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2006-12-18 23:16:43 +00:00
|
|
|
#
|
2008-10-07 09:23:35 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-03 12:55:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-18 23:16:43 +00:00
|
|
|
#
|
2012-09-07 13:32:41 +00:00
|
|
|
|
|
|
|
|
2019-01-03 12:55:24 +00:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "full"
|
2019-01-11 14:08:54 +00:00
|
|
|
%define name_ext -full
|
2019-01-03 12:55:24 +00:00
|
|
|
%bcond_without full_build
|
|
|
|
%else
|
2019-01-11 14:08:54 +00:00
|
|
|
%define name_ext %nil
|
2019-01-03 12:55:24 +00:00
|
|
|
%bcond_with full_build
|
|
|
|
%endif
|
2019-01-11 14:08:54 +00:00
|
|
|
Name: groff%{name_ext}
|
2019-01-04 14:23:17 +00:00
|
|
|
Version: 1.22.4
|
2012-03-18 02:58:53 +00:00
|
|
|
Release: 0
|
2006-12-18 23:16:43 +00:00
|
|
|
Summary: GNU troff Document Formatting System
|
2018-03-19 11:01:50 +00:00
|
|
|
License: GPL-3.0-or-later
|
2012-03-18 02:58:53 +00:00
|
|
|
Group: Productivity/Publishing/Troff
|
2019-01-03 12:59:41 +00:00
|
|
|
URL: http://www.gnu.org/software/groff/groff.html
|
2011-06-27 12:59:56 +00:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
2013-05-09 09:33:29 +00:00
|
|
|
Source1: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz.sig
|
2019-01-03 12:55:24 +00:00
|
|
|
Source2: groff.keyring
|
2008-11-28 14:07:38 +00:00
|
|
|
Source3: zzz-groff.sh
|
|
|
|
Source4: zzz-groff.csh
|
2019-01-04 14:23:17 +00:00
|
|
|
Patch0: groff-1.20.1-nroff-empty-LANGUAGE.patch
|
|
|
|
Patch1: groff-1.20.1-deunicode.patch
|
|
|
|
Patch2: groff-1.21-CVE-2009-5044.patch
|
|
|
|
# http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff?rev=1.2;content-type=text%2Fplain
|
|
|
|
Patch3: groff-1.21-CVE-2009-5081.patch
|
|
|
|
# PATCH-FIX-OPENSUSE: FATE#312586
|
|
|
|
# sent upstream http://lists.gnu.org/archive/html/bug-groff/2011-09/msg00002.html
|
|
|
|
Patch4: 0001-locale-support-in-papersize-definition.patch
|
|
|
|
Patch5: 0002-documentation-for-the-locale-keyword.patch
|
2011-09-29 08:23:09 +00:00
|
|
|
# change the papersize definition to force the locale usage
|
|
|
|
# it can be supressed by /etc/papersize if needed
|
2019-01-04 14:23:17 +00:00
|
|
|
Patch6: groff-force-locale-usage.patch
|
|
|
|
Patch7: 0004-don-t-use-usr-bin-env-in-shebang.patch
|
|
|
|
# Patches from debian
|
|
|
|
Patch100: https://salsa.debian.org/debian/groff/raw/master/debian/patches/bash-scripts.patch
|
|
|
|
Patch101: https://salsa.debian.org/debian/groff/raw/master/debian/patches/sort-perl-hash-keys.patch
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2011-03-15 08:36:36 +00:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
2012-03-18 02:58:53 +00:00
|
|
|
BuildRequires: gcc-c++
|
2019-01-04 14:23:17 +00:00
|
|
|
BuildRequires: libtool
|
2012-09-07 13:32:41 +00:00
|
|
|
BuildRequires: makeinfo
|
2019-01-04 14:23:17 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%if %{with full_build}
|
2013-05-09 09:33:29 +00:00
|
|
|
BuildRequires: ghostscript-library
|
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: netpbm
|
|
|
|
BuildRequires: psutils
|
2019-01-04 14:23:17 +00:00
|
|
|
BuildRequires: pkgconfig(uchardet)
|
2013-05-09 09:33:29 +00:00
|
|
|
# for gxditview and X fontx
|
2017-12-14 18:58:16 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xaw7)
|
|
|
|
BuildRequires: pkgconfig(xmu)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
2019-01-11 13:57:55 +00:00
|
|
|
Requires: ghostscript-library
|
|
|
|
# requires the -base package
|
|
|
|
Requires: groff = %{version}
|
|
|
|
Requires: netpbm
|
|
|
|
Requires: psutils
|
|
|
|
Requires(post): %{install_info_prereq}
|
|
|
|
Provides: jgroff = %{version}-%{release}
|
|
|
|
Provides: normal-groff = %{version}-%{release}
|
|
|
|
Obsoletes: jgroff < %{version}
|
|
|
|
# X fonts were moved back
|
|
|
|
Provides: groff-devx = %{version}-%{release}
|
|
|
|
Obsoletes: groff-devx <= 1.21
|
2019-01-11 14:08:54 +00:00
|
|
|
%else
|
|
|
|
Recommends: groff-full
|
|
|
|
%endif
|
2019-01-03 12:59:41 +00:00
|
|
|
|
2019-01-11 14:08:54 +00:00
|
|
|
%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).
|
2006-12-18 23:16:43 +00:00
|
|
|
|
2013-05-09 09:33:29 +00:00
|
|
|
%package -n groff-doc
|
2011-03-15 08:36:36 +00:00
|
|
|
Summary: HTML documentation and examples for groff
|
2012-03-18 02:58:53 +00:00
|
|
|
Group: Productivity/Publishing/Troff
|
2013-06-17 10:26:22 +00:00
|
|
|
BuildArch: noarch
|
2011-03-15 08:36:36 +00:00
|
|
|
|
2013-05-09 09:33:29 +00:00
|
|
|
%description -n groff-doc
|
2011-03-15 08:36:36 +00:00
|
|
|
The groff package provides compatible versions of troff, nroff, eqn,
|
|
|
|
tbl, and other Unix text formatting utilities.
|
|
|
|
|
|
|
|
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
|
2019-01-13 10:48:47 +00:00
|
|
|
PostScript format for printing on a PostScript printer.
|
2006-12-18 23:16:43 +00:00
|
|
|
|
2013-05-09 09:33:29 +00:00
|
|
|
%package -n gxditview
|
|
|
|
Summary: Ditroff Output Displayer for Groff
|
|
|
|
Group: Productivity/Publishing/Troff
|
|
|
|
Requires: groff-full = %{version}
|
|
|
|
# bnc#668254
|
|
|
|
Supplements: packageand(groff:xorg-x11-libX11)
|
2016-07-21 11:33:47 +00:00
|
|
|
Conflicts: jgxdview
|
2013-05-09 09:33:29 +00:00
|
|
|
Provides: gxdview = %{version}-%{release}
|
|
|
|
Obsoletes: gxdview < %{version}
|
|
|
|
|
|
|
|
%description -n gxditview
|
|
|
|
This version of xditview is called gxditview and has some extensions
|
|
|
|
used by the groff command. gxditview is used by groff if called with
|
|
|
|
the -X option.
|
|
|
|
|
2006-12-18 23:16:43 +00:00
|
|
|
%prep
|
2013-05-09 09:33:29 +00:00
|
|
|
%setup -q -n groff-%{version}
|
2019-01-04 14:23:17 +00:00
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
# remove hardcoded docdir
|
|
|
|
sed -i \
|
|
|
|
-e '/^docdir=/d' \
|
|
|
|
Makefile.am
|
2006-12-18 23:16:43 +00:00
|
|
|
|
|
|
|
%build
|
2019-01-04 14:23:17 +00:00
|
|
|
autoreconf -fvi
|
|
|
|
# libdir redefined as it is just bunch of perl scripts
|
- Version bump to latest release 1.22.3:
* X11 resources for `gxditview', which were previously installed in
/usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
now installed in appresdir=$prefix/lib/X11/app-defaults. If
`appresdir' is not a standard X11 resource directory, the environment
variable XFILESEARCHPATH should be set to this path. The standard
default directories depends on the system `libXt'.
* This new preprocessor (contributed by Bernd Warken) allows embedding of
code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The
data gets automatically processed and embedded as EPS images.
* Bernd Warken contributed a new preprocessor to handle Perl code that can
be evaluated and then processed by groff.
* Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
like `guo2wang2' as `guówáng'.
* The pdfroff utility script now activates its `--no-toc-relocation' option
by default, unless a request similar to:
.if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled
is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
that the effect of the `.tm' request is restricted to the document setup
phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
but leaves it unset in the setup phase).
The bundled `spdf.tmac' macro package, which implicitly activates
`-mpdfmark' for `ms' macro users, ensures that TOC relocation is
appropriately enabled, when the `.TC' macro is invoked.
* The -mom macro package now has full support for eqn, pic, and tbl, as well
as captioning and labelling of pdf images and preprocessor output. Lists
of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has
a new FRAME option.
* A French introduction to the -me macro package has been added (file
`meintro_fr.me').
OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=54
2015-02-04 12:11:48 +00:00
|
|
|
%configure \
|
2019-01-04 14:23:17 +00:00
|
|
|
--disable-silent-rules \
|
|
|
|
--docdir=%{_defaultdocdir}/groff \
|
2016-07-21 11:33:47 +00:00
|
|
|
--libdir=%{_libexecdir} \
|
2013-05-09 13:01:06 +00:00
|
|
|
--with-appresdir=%{_datadir}/X11/app-defaults \
|
|
|
|
--with-grofferdir=%{_libexecdir}/groff/groffer
|
2012-03-18 02:58:53 +00:00
|
|
|
make %{?_smp_mflags}
|
2013-05-09 09:33:29 +00:00
|
|
|
|
2006-12-18 23:16:43 +00:00
|
|
|
%install
|
2019-01-04 14:23:17 +00:00
|
|
|
%make_install
|
2016-07-21 11:33:47 +00:00
|
|
|
|
2019-01-04 14:23:17 +00:00
|
|
|
%if %{with full_build}
|
|
|
|
# remove groff basic files from bellow
|
2019-01-07 12:27:53 +00:00
|
|
|
rm -f %{buildroot}%{_sysconfdir}/profile.d/zzz-groff.csh
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/profile.d/zzz-groff.sh
|
|
|
|
rm -f %{buildroot}%{_bindir}/eqn
|
|
|
|
rm -f %{buildroot}%{_bindir}/groff
|
|
|
|
rm -f %{buildroot}%{_bindir}/grog
|
|
|
|
rm -f %{buildroot}%{_bindir}/grops
|
|
|
|
rm -f %{buildroot}%{_bindir}/grotty
|
|
|
|
rm -f %{buildroot}%{_bindir}/mmroff
|
|
|
|
rm -f %{buildroot}%{_bindir}/neqn
|
|
|
|
rm -f %{buildroot}%{_bindir}/nroff
|
|
|
|
rm -f %{buildroot}%{_bindir}/pic
|
|
|
|
rm -f %{buildroot}%{_bindir}/preconv
|
|
|
|
rm -f %{buildroot}%{_bindir}/soelim
|
|
|
|
rm -f %{buildroot}%{_bindir}/tbl
|
|
|
|
rm -f %{buildroot}%{_bindir}/troff
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/groff/grog/subs.pl
|
|
|
|
rm -f %{buildroot}%{_datadir}/groff/1.22.4/eign
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devascii
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devlatin1
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devps
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/font/devutf8
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/pic
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/1.22.4/tmac
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/site-tmac
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/site-font
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/eqn.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/groff.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/grog.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/grops.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/grotty.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/mmroff.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/neqn.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/nroff.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/pic.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/preconv.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/soelim.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/tbl.1*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/troff.1*
|
2013-05-09 09:33:29 +00:00
|
|
|
%else
|
2019-02-18 04:07:42 +00:00
|
|
|
# fix permission for devps/generate/afmname
|
|
|
|
# used by ghostscript-fonts-grops
|
|
|
|
chmod +x %{buildroot}%{_datadir}/groff/%{version}/font/devps/generate/afmname
|
|
|
|
# install files needed by ghostscript-fonts-grops
|
|
|
|
install -m 0644 font/devps/generate/symbolsl.awk %{buildroot}%{_datadir}/groff/%{version}/font/devps/generate
|
|
|
|
install -m 0644 font/devps/generate/zapfdr.sed %{buildroot}%{_datadir}/groff/%{version}/font/devps/generate
|
|
|
|
install -m 0644 font/devps/generate/freeeuro.sfd %{buildroot}%{_datadir}/groff/%{version}/font/devps/generate
|
|
|
|
install -m 0644 font/devps/generate/sfdtopfa.pe %{buildroot}%{_datadir}/groff/%{version}/font/devps/generate
|
|
|
|
install -m 0644 font/devps/symbolsl.ps %{buildroot}%{_datadir}/groff/%{version}/font/devps/
|
2019-01-07 10:11:24 +00:00
|
|
|
# remove all not really wanted files (they are present in -full variant)
|
2019-01-04 14:23:17 +00:00
|
|
|
rm -rf %{buildroot}%{_mandir}/man5/
|
|
|
|
rm -rf %{buildroot}%{_mandir}/man7/
|
|
|
|
rm -rf %{buildroot}%{_infodir}/
|
2013-05-09 09:33:29 +00:00
|
|
|
|
2019-01-04 14:23:17 +00:00
|
|
|
rm -rf %{buildroot}%{_libexecdir}/groff/groffer/
|
|
|
|
rm -rf %{buildroot}%{_libexecdir}/groff/gpinyin/
|
|
|
|
rm -rf %{buildroot}%{_libexecdir}/groff/glilypond/
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/groff/{groff_opts_no_arg.txt,groff_opts_with_arg.txt}
|
2013-05-09 09:33:29 +00:00
|
|
|
|
2019-01-04 14:23:17 +00:00
|
|
|
rm -rf %{buildroot}%{_docdir}/groff
|
2011-03-15 08:36:36 +00:00
|
|
|
|
2019-01-07 10:11:24 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devcp1047
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devdvi
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devhtml
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devlbp
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devlj4
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/font/devpdf
|
2019-01-07 12:27:53 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/%{version}/oldfont/
|
2019-01-07 10:11:24 +00:00
|
|
|
|
|
|
|
for i in addftinfo afmtodit chem eqn2graph gdiffmk glilypond gperl gpinyin grap2graph grn grodvi groffer grolbp grolj4 gropdf hpftodit indxbib lkbib lookbib pdfmom pdfroff pfbtops pic2graph post-grohtml pre-grohtml refer roff2dvi roff2html roff2pdf roff2ps roff2text roff2x tfmtodit; do
|
|
|
|
rm -f %{buildroot}%{_bindir}/$i
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/$i.1*
|
|
|
|
done
|
|
|
|
# this man does werdly not have reflecting binary
|
|
|
|
rm -f %{buildroot}%{_mandir}/man1/grohtml.1*
|
|
|
|
|
2011-03-15 08:36:36 +00:00
|
|
|
# compat symlinks
|
2019-01-04 14:23:17 +00:00
|
|
|
ln -s -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
- Version bump to latest release 1.22.3:
* X11 resources for `gxditview', which were previously installed in
/usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
now installed in appresdir=$prefix/lib/X11/app-defaults. If
`appresdir' is not a standard X11 resource directory, the environment
variable XFILESEARCHPATH should be set to this path. The standard
default directories depends on the system `libXt'.
* This new preprocessor (contributed by Bernd Warken) allows embedding of
code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The
data gets automatically processed and embedded as EPS images.
* Bernd Warken contributed a new preprocessor to handle Perl code that can
be evaluated and then processed by groff.
* Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
like `guo2wang2' as `guówáng'.
* The pdfroff utility script now activates its `--no-toc-relocation' option
by default, unless a request similar to:
.if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled
is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
that the effect of the `.tm' request is restricted to the document setup
phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
but leaves it unset in the setup phase).
The bundled `spdf.tmac' macro package, which implicitly activates
`-mpdfmark' for `ms' macro users, ensures that TOC relocation is
appropriately enabled, when the `.TC' macro is invoked.
* The -mom macro package now has full support for eqn, pic, and tbl, as well
as captioning and labelling of pdf images and preprocessor output. Lists
of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has
a new FRAME option.
* A French introduction to the -me macro package has been added (file
`meintro_fr.me').
OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=54
2015-02-04 12:11:48 +00:00
|
|
|
ln -s -f eqn %{buildroot}%{_bindir}/geqn
|
|
|
|
ln -s -f tbl %{buildroot}%{_bindir}/gtbl
|
2011-03-15 08:36:36 +00:00
|
|
|
|
2006-12-18 23:16:43 +00:00
|
|
|
# install profiles to disable the use of ANSI colour sequences by default:
|
- Version bump to latest release 1.22.3:
* X11 resources for `gxditview', which were previously installed in
/usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
now installed in appresdir=$prefix/lib/X11/app-defaults. If
`appresdir' is not a standard X11 resource directory, the environment
variable XFILESEARCHPATH should be set to this path. The standard
default directories depends on the system `libXt'.
* This new preprocessor (contributed by Bernd Warken) allows embedding of
code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The
data gets automatically processed and embedded as EPS images.
* Bernd Warken contributed a new preprocessor to handle Perl code that can
be evaluated and then processed by groff.
* Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
like `guo2wang2' as `guówáng'.
* The pdfroff utility script now activates its `--no-toc-relocation' option
by default, unless a request similar to:
.if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled
is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
that the effect of the `.tm' request is restricted to the document setup
phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
but leaves it unset in the setup phase).
The bundled `spdf.tmac' macro package, which implicitly activates
`-mpdfmark' for `ms' macro users, ensures that TOC relocation is
appropriately enabled, when the `.TC' macro is invoked.
* The -mom macro package now has full support for eqn, pic, and tbl, as well
as captioning and labelling of pdf images and preprocessor output. Lists
of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has
a new FRAME option.
* A French introduction to the -me macro package has been added (file
`meintro_fr.me').
OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=54
2015-02-04 12:11:48 +00:00
|
|
|
install -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
|
|
|
install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
2019-01-04 14:23:17 +00:00
|
|
|
%endif
|
2013-05-09 09:33:29 +00:00
|
|
|
|
2011-03-15 08:36:36 +00:00
|
|
|
%fdupes -s %{buildroot}
|
2006-12-18 23:16:43 +00:00
|
|
|
|
2019-01-03 12:55:24 +00:00
|
|
|
%if %{with full_build}
|
2019-01-03 12:59:41 +00:00
|
|
|
%post -n groff-full
|
2013-05-09 09:33:29 +00:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
2006-12-18 23:16:43 +00:00
|
|
|
|
2019-01-03 12:59:41 +00:00
|
|
|
%preun -n groff-full
|
2013-05-09 09:33:29 +00:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
|
|
|
%endif
|
2006-12-18 23:16:43 +00:00
|
|
|
|
2019-01-03 12:55:24 +00:00
|
|
|
%if !%{with full_build}
|
2006-12-18 23:16:43 +00:00
|
|
|
%files
|
2018-03-19 11:01:50 +00:00
|
|
|
%license COPYING FDL LICENSES
|
2019-01-04 14:23:17 +00:00
|
|
|
%doc BUG-REPORT ChangeLog* MANIFEST MORE.STUFF NEWS PROBLEMS PROJECTS README
|
2019-01-07 10:11:24 +00:00
|
|
|
%{_bindir}/eqn
|
|
|
|
%{_bindir}/geqn
|
|
|
|
%{_bindir}/groff
|
|
|
|
%{_bindir}/grog
|
|
|
|
%{_bindir}/grops
|
|
|
|
%{_bindir}/grotty
|
|
|
|
%{_bindir}/gtbl
|
|
|
|
%{_bindir}/mmroff
|
|
|
|
%{_bindir}/neqn
|
|
|
|
%{_bindir}/nroff
|
|
|
|
%{_bindir}/pic
|
|
|
|
%{_bindir}/preconv
|
|
|
|
%{_bindir}/soelim
|
|
|
|
%{_bindir}/tbl
|
|
|
|
%{_bindir}/troff
|
|
|
|
%{_mandir}/man1/eqn.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/groff.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/grog.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/grops.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/grotty.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/mmroff.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/neqn.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/nroff.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/pic.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/preconv.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/soelim.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/tbl.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/troff.1%{?ext_man}
|
2011-03-15 08:36:36 +00:00
|
|
|
%config %{_sysconfdir}/profile.d/zzz-%{name}.*sh
|
|
|
|
%{_datadir}/%{name}
|
2016-07-21 11:33:47 +00:00
|
|
|
%dir %{_libexecdir}/groff
|
|
|
|
%dir %{_libexecdir}/groff/grog
|
|
|
|
%{_libexecdir}/groff/grog/subs.pl
|
2011-03-15 08:36:36 +00:00
|
|
|
|
2013-05-09 09:33:29 +00:00
|
|
|
%else #groff_base_only
|
2019-01-03 12:59:41 +00:00
|
|
|
%files -n groff-full
|
2013-05-09 09:33:29 +00:00
|
|
|
%dir %{_datadir}/groff/%{version}
|
2013-05-09 13:01:06 +00:00
|
|
|
%dir %{_libexecdir}/groff
|
2013-05-09 09:33:29 +00:00
|
|
|
%doc %{_docdir}/groff
|
2016-07-21 11:33:47 +00:00
|
|
|
%dir %{_libexecdir}/groff
|
|
|
|
%dir %{_libexecdir}/groff/glilypond
|
|
|
|
%{_libexecdir}/groff/glilypond/args.pl
|
|
|
|
%{_libexecdir}/groff/glilypond/oop_fh.pl
|
|
|
|
%{_libexecdir}/groff/glilypond/subs.pl
|
|
|
|
%dir %{_libexecdir}/groff/gpinyin
|
|
|
|
%{_libexecdir}/groff/gpinyin/subs.pl
|
|
|
|
%{_libexecdir}/groff/groff_opts_no_arg.txt
|
|
|
|
%{_libexecdir}/groff/groff_opts_with_arg.txt
|
2013-05-09 09:33:29 +00:00
|
|
|
%exclude %{_docdir}/groff/html
|
|
|
|
%exclude %{_docdir}/groff/examples
|
2016-07-21 11:33:47 +00:00
|
|
|
%{_infodir}/groff*
|
2019-01-07 12:27:53 +00:00
|
|
|
%{_mandir}/man1/*
|
2019-01-04 14:23:17 +00:00
|
|
|
%{_mandir}/man5/*
|
|
|
|
%{_mandir}/man7/*
|
2013-05-09 09:33:29 +00:00
|
|
|
%exclude %{_mandir}/man1/gxditview.1*
|
|
|
|
%{_bindir}/*
|
|
|
|
%exclude %{_bindir}/gxditview
|
- Version bump to latest release 1.22.3:
* X11 resources for `gxditview', which were previously installed in
/usr/X11/lib/X11/app-defaults no matter which `prefix' was set, are
now installed in appresdir=$prefix/lib/X11/app-defaults. If
`appresdir' is not a standard X11 resource directory, the environment
variable XFILESEARCHPATH should be set to this path. The standard
default directories depends on the system `libXt'.
* This new preprocessor (contributed by Bernd Warken) allows embedding of
code for GNU LilyPond (http://www.lilypond.org), a music typesetter. The
data gets automatically processed and embedded as EPS images.
* Bernd Warken contributed a new preprocessor to handle Perl code that can
be evaluated and then processed by groff.
* Another preprocessor from Bernd Warken to pretty-print Pinyin syllables
like `guo2wang2' as `guówáng'.
* The pdfroff utility script now activates its `--no-toc-relocation' option
by default, unless a request similar to:
.if !\n[PHASE] .tm pdfroff-option:set toc_relocation=enabled
is invoked during input file processing; (`.if !\n[PHASE] ...' ensures
that the effect of the `.tm' request is restricted to the document setup
phase of processing, as pdfroff sets it to 1 or 2 in the output phase,
but leaves it unset in the setup phase).
The bundled `spdf.tmac' macro package, which implicitly activates
`-mpdfmark' for `ms' macro users, ensures that TOC relocation is
appropriately enabled, when the `.TC' macro is invoked.
* The -mom macro package now has full support for eqn, pic, and tbl, as well
as captioning and labelling of pdf images and preprocessor output. Lists
of Figures, Equations, and Tables can now be autogenerated. PDF_IMAGE has
a new FRAME option.
* A French introduction to the -me macro package has been added (file
`meintro_fr.me').
OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=54
2015-02-04 12:11:48 +00:00
|
|
|
%dir %{_datadir}/groff
|
2013-05-09 09:33:29 +00:00
|
|
|
%{_datadir}/groff/%{version}/font
|
|
|
|
%{_datadir}/groff/%{version}/oldfont
|
|
|
|
%{_datadir}/groff/current
|
|
|
|
%{_libexecdir}/groff/groffer
|
|
|
|
|
|
|
|
%files -n groff-doc
|
|
|
|
%dir %{_docdir}/groff
|
|
|
|
%doc %{_docdir}/groff/html
|
|
|
|
%doc %{_docdir}/groff/examples
|
|
|
|
|
|
|
|
%files -n gxditview
|
|
|
|
%dir %{_datadir}/X11/app-defaults
|
|
|
|
%doc src/devices/xditview/ChangeLog
|
|
|
|
%doc src/devices/xditview/README
|
|
|
|
%doc src/devices/xditview/TODO
|
|
|
|
%{_bindir}/gxditview
|
2019-01-03 12:59:41 +00:00
|
|
|
%{_mandir}/man1/gxditview.1%{?ext_man}
|
2013-05-09 09:33:29 +00:00
|
|
|
%{_datadir}/X11/app-defaults/GXditview
|
|
|
|
%{_datadir}/X11/app-defaults/GXditview-color
|
|
|
|
|
|
|
|
%endif #groff_base_only
|
2008-03-26 15:13:23 +00:00
|
|
|
|
2007-03-26 23:31:43 +00:00
|
|
|
%changelog
|