2006-12-19 00:16:43 +01:00
|
|
|
#
|
2011-03-15 10:19:26 +01:00
|
|
|
# spec file for package groff
|
2006-12-19 00:16:43 +01:00
|
|
|
#
|
2013-02-04 16:33:01 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:16:43 +01:00
|
|
|
#
|
2008-10-07 11:23:35 +02: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.
|
|
|
|
|
2006-12-19 00:16:43 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2012-09-07 15:32:41 +02:00
|
|
|
|
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%global groff_base_only 1
|
|
|
|
|
2006-12-19 00:16:43 +01:00
|
|
|
Name: groff
|
2013-05-09 11:33:29 +02:00
|
|
|
Version: 1.22.2
|
2012-03-18 03:58:53 +01:00
|
|
|
Release: 0
|
2006-12-19 00:16:43 +01:00
|
|
|
Summary: GNU troff Document Formatting System
|
2013-02-04 16:33:01 +01:00
|
|
|
License: BSD-3-Clause and GPL-2.0+
|
2012-03-18 03:58:53 +01:00
|
|
|
Group: Productivity/Publishing/Troff
|
2007-11-08 23:28:42 +01:00
|
|
|
Url: http://www.gnu.org/software/groff/groff.html
|
2011-06-27 14:59:56 +02:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
|
2013-05-09 11:33:29 +02:00
|
|
|
Source1: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz.sig
|
|
|
|
Source2: groff-full.keyring
|
2008-11-28 15:07:38 +01:00
|
|
|
Source3: zzz-groff.sh
|
|
|
|
Source4: zzz-groff.csh
|
2013-06-05 11:03:20 +02:00
|
|
|
# rm -f foo
|
2011-06-06 12:59:57 +02:00
|
|
|
# for file in `cat series | grep -v '^#' | grep '^[a-z]' `; do
|
2013-06-05 11:03:20 +02:00
|
|
|
# cat $file >> foo
|
2011-03-15 09:36:36 +01:00
|
|
|
# done
|
2013-06-05 11:03:20 +02:00
|
|
|
##remove a part related to src/preproc/html/pre-html.cpp - see bnc#755533
|
|
|
|
# filterdiff -x 'src/preproc/html/pre-html.cpp' foo > groff_1.22.2-2.debian.diff
|
2013-05-09 11:33:29 +02:00
|
|
|
Patch0: groff_1.22.2-2.debian.diff
|
2011-03-15 09:36:36 +01:00
|
|
|
Patch1: groff-1.20.1-destbufferoverflow.patch
|
|
|
|
Patch2: groff-1.20.1-nroff-empty-LANGUAGE.patch
|
2013-05-09 15:01:06 +02:00
|
|
|
Patch3: groff-1.21-groffer-libexecdir.patch
|
2011-04-28 16:40:40 +02:00
|
|
|
Patch4: groff-1.20.1-deunicode.patch
|
2011-06-27 14:59:56 +02:00
|
|
|
Patch5: groff-1.21-CVE-2009-5044.patch
|
2011-09-22 14:52:01 +02:00
|
|
|
#PATCH-FIX-OPENSUSE: splitted patch6 and patch7 from
|
|
|
|
#http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/groff/groff-1.20.1-owl-tmp.diff?rev=1.2;content-type=text%2Fplain
|
|
|
|
Patch6: groff-1.21-CVE-2009-5080.patch
|
|
|
|
Patch7: groff-1.21-CVE-2009-5081.patch
|
2011-09-29 10:23:09 +02:00
|
|
|
#PATCH-FIX-OPENSUSE: FATE#312586
|
|
|
|
#sent upstream http://lists.gnu.org/archive/html/bug-groff/2011-09/msg00002.html
|
|
|
|
#so they would be available on next release of groff
|
|
|
|
Patch8: 0001-locale-support-in-papersize-definition.patch
|
|
|
|
Patch9: 0002-documentation-for-the-locale-keyword.patch
|
|
|
|
# change the papersize definition to force the locale usage
|
|
|
|
# it can be supressed by /etc/papersize if needed
|
|
|
|
Patch10: groff-force-locale-usage.patch
|
2011-04-28 16:40:40 +02:00
|
|
|
|
2006-12-19 00:16:43 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-03-15 09:36:36 +01:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
2012-03-18 03:58:53 +01:00
|
|
|
BuildRequires: gcc-c++
|
2012-09-07 15:32:41 +02:00
|
|
|
%if 0%{suse_version} > 1220
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
%endif
|
2013-05-09 11:33:29 +02:00
|
|
|
|
|
|
|
%if %{groff_base_only}
|
|
|
|
Recommends: groff-full
|
|
|
|
%else
|
|
|
|
BuildRequires: ghostscript-library
|
2013-05-09 11:44:41 +02:00
|
|
|
%if 0%{suse_version} > 1220
|
2013-05-09 11:33:29 +02:00
|
|
|
BuildRequires: gpg-offline
|
2013-05-09 11:44:41 +02:00
|
|
|
%endif
|
2013-05-09 11:33:29 +02:00
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: netpbm
|
|
|
|
BuildRequires: psutils
|
|
|
|
# for gxditview and X fontx
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
|
2011-03-15 09:36:36 +01:00
|
|
|
Provides: jgroff = %{version}-%{release}
|
2012-09-07 15:32:41 +02:00
|
|
|
Provides: normal-groff = %{version}-%{release}
|
2011-03-15 09:36:36 +01:00
|
|
|
Obsoletes: jgroff < %{version}
|
2013-05-09 11:33:29 +02:00
|
|
|
# X fonts were moved back
|
|
|
|
Provides: groff-devx = %{version}-%{release}
|
|
|
|
Obsoletes: groff-devx <= 1.21
|
|
|
|
# requires the -base package
|
|
|
|
Requires: groff = %{version}
|
2011-03-15 09:36:36 +01:00
|
|
|
Requires(pre): %install_info_prereq
|
|
|
|
# for pre-grohtml and pdfroff
|
2013-05-09 11:33:29 +02:00
|
|
|
Requires: ghostscript-library
|
|
|
|
Requires: netpbm
|
|
|
|
Requires: psutils
|
|
|
|
%endif
|
2006-12-19 00:16:43 +01:00
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%if %{groff_base_only}
|
2006-12-19 00:16:43 +01:00
|
|
|
%description
|
2013-05-09 11:33:29 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
%else #groff_base_only
|
|
|
|
|
|
|
|
%description
|
|
|
|
The groff-full package provides aditional tools excluded from base groff
|
|
|
|
package, like grohtml, X fonts et. all.
|
2006-12-19 00:16:43 +01:00
|
|
|
|
|
|
|
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. Most
|
|
|
|
programs store their man pages in either /usr/share/man/ or
|
|
|
|
/usr/X11R6/man/.
|
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%package -n groff-doc
|
2011-03-15 09:36:36 +01:00
|
|
|
Summary: HTML documentation and examples for groff
|
2012-03-18 03:58:53 +01:00
|
|
|
Group: Productivity/Publishing/Troff
|
2013-06-17 12:26:22 +02:00
|
|
|
BuildArch: noarch
|
2011-03-15 09:36:36 +01:00
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%description -n groff-doc
|
2011-03-15 09:36:36 +01: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
|
|
|
|
PostScript(tm) format for printing on a PostScript(tm) printer. Most
|
|
|
|
programs store their man pages in either /usr/share/man/ or
|
|
|
|
/usr/X11R6/man/.
|
2006-12-19 00:16:43 +01:00
|
|
|
|
2013-05-09 11:33:29 +02: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)
|
|
|
|
Conflicts: jgxdview
|
|
|
|
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.
|
|
|
|
|
|
|
|
%endif #groff_base_only
|
|
|
|
|
2006-12-19 00:16:43 +01:00
|
|
|
%prep
|
2013-05-09 11:33:29 +02:00
|
|
|
%if ! %{groff_base_only}
|
2013-05-09 11:44:41 +02:00
|
|
|
%if 0%{suse_version} > 1220
|
2013-05-09 11:33:29 +02:00
|
|
|
# we do a verification on non-base package in order to not add more dependencies to Base:build ...
|
|
|
|
%gpg_verify %{SOURCE1}
|
|
|
|
%endif
|
2013-05-09 11:44:41 +02:00
|
|
|
%endif
|
2013-05-09 11:33:29 +02:00
|
|
|
|
|
|
|
%setup -q -n groff-%{version}
|
2006-12-19 00:16:43 +01:00
|
|
|
%patch0 -p1 -b .debian
|
2011-03-15 09:36:36 +01:00
|
|
|
%patch1
|
|
|
|
%patch2 -p1 -b .bnc540600
|
2013-05-09 15:01:06 +02:00
|
|
|
%patch3 -p1 -b .groffer-libexecdir
|
2011-04-28 16:40:40 +02:00
|
|
|
%patch4 -p1 -b .deunicode
|
2011-06-09 11:45:17 +02:00
|
|
|
%patch5 -p1 -b .CVE-2009-5044
|
2011-09-22 14:52:01 +02:00
|
|
|
%patch6 -p1 -b .CVE-2009-5080
|
2011-09-29 10:23:09 +02:00
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1 -b .locale
|
|
|
|
%patch9 -p1 -b .locale
|
|
|
|
%patch10 -p1 -b .force-locale
|
2013-05-09 15:01:06 +02:00
|
|
|
|
|
|
|
#from patch7
|
|
|
|
rm doc/groff.info-2.orig
|
2006-12-19 00:16:43 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
PATH=$PWD/src/roff/troff:$PWD/src/preproc/pic:$PWD/src/preproc/eqn:$PWD/src/preproc/tbl:$PWDsrc/preproc/refer:$PWD/src/preproc/soelim:$PATH
|
|
|
|
PATH=$PWD/src/roff/grog:$PWD/src/roff/groff:$PWD/src/devices/grops:$PWD/src/devices/grotty:$PWD/src/devices/grodvi:$PWD/src/devices/grohtml:$PATH
|
|
|
|
GROFF_COMMAND_PREFIX=
|
|
|
|
GROFF_FONT_PATH=$PWD
|
|
|
|
GROFF_TMAC_PATH=$PWD/tmac:$PWD/src/roff/troff
|
|
|
|
export PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
|
|
|
|
#
|
|
|
|
#libtoolize --force
|
|
|
|
#autoreconf --force --install
|
2011-09-29 22:08:29 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2013-05-09 11:33:29 +02:00
|
|
|
%{configure} \
|
2013-05-09 15:01:06 +02:00
|
|
|
--with-appresdir=%{_datadir}/X11/app-defaults \
|
|
|
|
--with-grofferdir=%{_libexecdir}/groff/groffer
|
2013-05-09 11:33:29 +02:00
|
|
|
|
|
|
|
#ulimit -c unlimited
|
2012-03-18 03:58:53 +01:00
|
|
|
make %{?_smp_mflags}
|
2013-05-09 11:33:29 +02:00
|
|
|
|
|
|
|
%if ! %{groff_base_only}
|
|
|
|
#pushd doc
|
|
|
|
# make %{?_smp_mflags}
|
|
|
|
# makeinfo groff.texinfo
|
|
|
|
#popd
|
|
|
|
%endif
|
2006-12-19 00:16:43 +01:00
|
|
|
|
|
|
|
%install
|
2013-05-09 11:33:29 +02:00
|
|
|
%if %{groff_base_only}
|
|
|
|
install -d -m 0755 %{buildroot}%{_bindir}
|
|
|
|
install -d -m 0755 %{buildroot}%{_mandir}/man1
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
|
|
|
%else
|
|
|
|
%{makeinstall} docdir=%{_defaultdocdir}/groff
|
|
|
|
%endif
|
|
|
|
|
|
|
|
### see Debian's groff-base.install.in ###
|
|
|
|
for BIN in eqn groff grog grops grotty neqn nroff pic preconv soelim tbl troff; do
|
2011-04-28 16:40:40 +02:00
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%if %{groff_base_only}
|
|
|
|
# install binary
|
|
|
|
install -m 0755 $(find . -type f -name ${BIN}) %{buildroot}/%{_bindir}/
|
|
|
|
|
|
|
|
# install man
|
|
|
|
MAN_SOURCE=$(find src -name "${BIN}.n")
|
|
|
|
MAN_DEST="${MAN_SOURCE%.n}.1" # replace suffix .n by .1
|
|
|
|
MAN_DEST="${MAN_DEST##*/}" # remove the path/before/
|
|
|
|
install -m 0644 "${MAN_SOURCE}" "%{buildroot}%{_mandir}/man1/${MAN_DEST}"
|
|
|
|
%else
|
|
|
|
# remove binary already in groff.rpm
|
|
|
|
rm %{buildroot}/%{_bindir}/${BIN}
|
|
|
|
# remove manual already in groff.rpm
|
|
|
|
rm %{buildroot}/%{_mandir}/man1/${BIN}.*
|
|
|
|
%endif
|
2011-03-15 09:36:36 +01:00
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
%if %{groff_base_only}
|
|
|
|
# datadir
|
|
|
|
install -m 0644 src/utils/indxbib/eign %{buildroot}%{_datadir}/%{name}/%{version}/
|
|
|
|
%else
|
|
|
|
rm %{buildroot}%{_datadir}/groff/%{version}/eign
|
|
|
|
%endif
|
|
|
|
|
|
|
|
for FONT in devascii devlatin1 devps devutf8; do
|
|
|
|
%if %{groff_base_only}
|
|
|
|
cp -pr "font/${FONT}" %{buildroot}%{_datadir}/%{name}/%{version}/font/
|
|
|
|
%else
|
|
|
|
rm -r %{buildroot}%{_datadir}/groff/%{version}/font/${FONT}
|
|
|
|
%endif
|
|
|
|
done
|
|
|
|
|
2013-06-17 12:22:06 +02:00
|
|
|
for TMAC in a4.tmac an-ext.tmac an-old.tmac an.tmac andoc.tmac composite.tmac \
|
|
|
|
cp1047.tmac cs.tmac de.tmac den.tmac devtag.tmac doc.tmac \
|
|
|
|
doc-old.tmac e.tmac eqnrc europs.tmac fallbacks.tmac fr.tmac \
|
|
|
|
hyphen.cs hyphen.den hyphen.det hyphen.fr hyphen.sv hyphen.us \
|
|
|
|
hyphenex.cs hyphenex.det hyphenex.us ja.tmac latin1.tmac latin2.tmac \
|
|
|
|
latin5.tmac latin9.tmac man.tmac mandoc.tmac mdoc.tmac me.tmac \
|
|
|
|
ms.tmac papersize.tmac pic.tmac ps.tmac psatk.tmac psold.tmac \
|
|
|
|
pspic.tmac refer-me.tmac refer-ms.tmac refer.tmac s.tmac \
|
|
|
|
safer.tmac sv.tmac trace.tmac trans.tmac troffrc troffrc-end \
|
|
|
|
tty-char.tmac tty.tmac unicode.tmac www.tmac
|
|
|
|
do
|
2013-05-09 11:33:29 +02:00
|
|
|
%if %{groff_base_only}
|
2013-06-17 12:22:06 +02:00
|
|
|
install -m 0644 tmac/${TMAC} %{buildroot}%{_datadir}/%{name}/%{version}/tmac/
|
2013-05-09 11:33:29 +02:00
|
|
|
%else
|
|
|
|
rm %{buildroot}%{_datadir}/groff/%{version}/tmac/${TMAC}
|
|
|
|
%endif
|
|
|
|
done
|
|
|
|
|
2013-06-17 12:22:06 +02:00
|
|
|
pushd contrib/mm/
|
|
|
|
%if %{groff_base_only}
|
|
|
|
install -d -m 0755 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mm
|
2013-06-17 13:19:11 +02:00
|
|
|
install -c -m 0755 mmroff %{buildroot}%{_bindir}/mmroff
|
2013-06-17 12:22:06 +02:00
|
|
|
install -c -m 0644 mmroff.n %{buildroot}%{_mandir}/man1/mmroff.1
|
|
|
|
for f in 0.MT 5.MT 4.MT ms.cov se_ms.cov ; do
|
|
|
|
install -c -m 644 mm/$f %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mm/$f
|
|
|
|
done
|
|
|
|
for f in locale se_locale; do
|
|
|
|
touch %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mm/$f
|
|
|
|
chmod 0644 %{buildroot}%{_datadir}/%{name}/%{version}/tmac/mm/$f
|
|
|
|
done
|
|
|
|
for f in *.tmac; do
|
|
|
|
install -c -m 644 $f %{buildroot}%{_datadir}/%{name}/%{version}/tmac/$f
|
|
|
|
done
|
|
|
|
%else
|
2013-06-17 13:19:11 +02:00
|
|
|
rm %{buildroot}%{_bindir}/mmroff
|
|
|
|
rm %{buildroot}%{_mandir}/man1/mmroff.1*
|
2013-06-17 12:22:06 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mm/
|
|
|
|
for f in *.tmac; do
|
|
|
|
rm -f %{buildroot}%{_datadir}/groff/%{version}/tmac/$f
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
popd
|
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%if %{groff_base_only}
|
|
|
|
install -m 0644 tmac/doc-common tmac/doc-ditroff tmac/doc-nroff tmac/doc-syms \
|
|
|
|
%{buildroot}%{_datadir}/%{name}/%{version}/tmac/mdoc/
|
|
|
|
%else
|
|
|
|
rm -rf %{buildroot}%{_datadir}/groff/%{version}/tmac/mdoc
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{groff_base_only}
|
|
|
|
|
|
|
|
%{__ln_s} -f current %{buildroot}%{_datadir}/%{name}/%{version}
|
2011-03-15 09:36:36 +01:00
|
|
|
|
|
|
|
# compat symlinks
|
|
|
|
%{__ln_s} -f eqn %{buildroot}%{_bindir}/geqn
|
|
|
|
%{__ln_s} -f tbl %{buildroot}%{_bindir}/gtbl
|
|
|
|
|
2006-12-19 00:16:43 +01:00
|
|
|
# install profiles to disable the use of ANSI colour sequences by default:
|
2011-03-15 09:36:36 +01:00
|
|
|
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/profile.d
|
|
|
|
%{__install} -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}/%{_sysconfdir}/profile.d/
|
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%endif #groff_base_only
|
|
|
|
|
2011-03-15 09:36:36 +01:00
|
|
|
%fdupes -s %{buildroot}
|
2006-12-19 00:16:43 +01:00
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%if ! %{groff_base_only}
|
2006-12-19 00:16:43 +01:00
|
|
|
%post
|
2013-05-09 11:33:29 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
2006-12-19 00:16:43 +01:00
|
|
|
|
|
|
|
%postun
|
2013-05-09 11:33:29 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/groff.info.gz
|
|
|
|
%endif
|
2006-12-19 00:16:43 +01:00
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%if %{groff_base_only}
|
2006-12-19 00:16:43 +01:00
|
|
|
%files
|
2013-05-09 11:33:29 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc BUG-REPORT ChangeLog* COPYING FDL LICENSES MANIFEST MORE.STUFF NEWS PROBLEMS PROJECTS README REVISION VERSION
|
|
|
|
%doc %{_mandir}/man1/*
|
2011-03-15 09:36:36 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%config %{_sysconfdir}/profile.d/zzz-%{name}.*sh
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
2013-05-09 11:33:29 +02:00
|
|
|
%else #groff_base_only
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/groff/%{version}
|
2013-05-09 15:01:06 +02:00
|
|
|
%dir %{_libexecdir}/groff
|
2013-05-09 11:33:29 +02:00
|
|
|
%doc %{_docdir}/groff
|
|
|
|
%exclude %{_docdir}/groff/html
|
|
|
|
%exclude %{_docdir}/groff/examples
|
|
|
|
%doc %{_infodir}/groff*
|
|
|
|
%doc %{_mandir}/man*/*
|
|
|
|
%exclude %{_mandir}/man1/gxditview.1*
|
|
|
|
%{_bindir}/*
|
|
|
|
%exclude %{_bindir}/gxditview
|
|
|
|
%{_datadir}/groff/%{version}/font
|
|
|
|
%{_datadir}/groff/%{version}/oldfont
|
|
|
|
%{_datadir}/groff/%{version}/pic
|
|
|
|
%{_datadir}/groff/%{version}/tmac
|
|
|
|
%{_datadir}/groff/current
|
|
|
|
%{_datadir}/groff/site-tmac
|
|
|
|
%{_libexecdir}/groff/groffer
|
|
|
|
|
|
|
|
%files -n groff-doc
|
2011-03-15 09:36:36 +01:00
|
|
|
%defattr(-, root, root)
|
2013-05-09 11:33:29 +02:00
|
|
|
%dir %{_docdir}/groff
|
|
|
|
%doc %{_docdir}/groff/html
|
|
|
|
%doc %{_docdir}/groff/examples
|
|
|
|
|
|
|
|
%files -n gxditview
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/X11/app-defaults
|
|
|
|
%doc src/devices/xditview/ChangeLog
|
|
|
|
%doc src/devices/xditview/README
|
|
|
|
%doc src/devices/xditview/TODO
|
|
|
|
%{_bindir}/gxditview
|
|
|
|
%doc %{_mandir}/man1/gxditview.1*
|
|
|
|
%{_datadir}/X11/app-defaults/GXditview
|
|
|
|
%{_datadir}/X11/app-defaults/GXditview-color
|
|
|
|
|
|
|
|
%endif #groff_base_only
|
2008-03-26 16:13:23 +01:00
|
|
|
|
2007-03-27 01:31:43 +02:00
|
|
|
%changelog
|