Summary: A document formatting system. Name: groff Version: 1.17.2 Release: 4 Copyright: GPL Group: Applications/Publishing Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz Source1: mf40-groff_filters Source2: README.A4 # Japanese sources Source3: mandocj.tar.gz Source4: man-pages-ja-GNU_groff-20000115.tar.gz Source5: groff.test Source6: hyphen.cs Patch1: groff-1.16-safer.patch Patch2: groff-1.17.2-6.patch Patch3: groff-1.17.2-6.diff Requires: mktemp Buildroot: %{_tmppath}/%{name}-root Obsoletes: groff-tools %description Groff is a document formatting system. Groff takes standard text and formatting commands as input and produces formatted output. The created documents can be shown on a display or printed on a printer. Groff's formatting commands allow you to specify font type and size, bold type, italic type, the number and size of columns on a page, and more. Groff can also be used to format man pages. If you are going to use groff with the X Window System, you will also need to install the groff-gxditview package. %package perl Summary: Parts of the groff formatting system that require Perl. Group: Applications/Publishing %description perl The groff-perl package contains the parts of the groff text processor package that require Perl. These include the afmtodit font processor for creating PostScript font files, the grog utility that can be used to automatically determine groff command-line options, and the troff-to-ps print filter. %package gxditview Summary: An X previewer for groff text processor output. Group: Applications/Publishing %description gxditview Gxditview displays the groff text processor's output on an X Window System display. %prep %setup -q -a 4 %patch1 -p1 -b .safer %patch2 -p1 -b .japanese cp %{SOURCE2} . %build PATH=$PATH:%{_prefix}/X11R6/bin #autoconf %configure --enable-japanese make cd src/xditview xmkmf && make %install rm -rf ${RPM_BUILD_ROOT} PATH=$PATH:%{_prefix}/X11R6/bin mkdir -p ${RPM_BUILD_ROOT}%{_prefix} %makeinstall manroot=${RPM_BUILD_ROOT}/%{_mandir} cd src/xditview %makeinstall DESTDIR=$RPM_BUILD_ROOT cd ../.. #mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_prefix}/share ln -s s.tmac ${RPM_BUILD_ROOT}%{_prefix}/share/groff/%version/tmac/gs.tmac ln -s mse.tmac ${RPM_BUILD_ROOT}%{_prefix}/share/groff/%version/tmac/gmse.tmac ln -s m.tmac ${RPM_BUILD_ROOT}%{_prefix}/share/groff/%version/tmac/gm.tmac ln -s troff ${RPM_BUILD_ROOT}%{_prefix}/bin/gtroff ln -s tbl ${RPM_BUILD_ROOT}%{_prefix}/bin/gtbl ln -s pic ${RPM_BUILD_ROOT}%{_prefix}/bin/gpic ln -s eqn ${RPM_BUILD_ROOT}%{_prefix}/bin/geqn ln -s neqn ${RPM_BUILD_ROOT}%{_prefix}/bin/gneqn ln -s refer ${RPM_BUILD_ROOT}%{_prefix}/bin/grefer ln -s lookbib ${RPM_BUILD_ROOT}%{_prefix}/bin/glookbib ln -s indxbib ${RPM_BUILD_ROOT}%{_prefix}/bin/gindxbib ln -s soelim ${RPM_BUILD_ROOT}%{_prefix}/bin/gsoelim ln -s soelim ${RPM_BUILD_ROOT}%{_prefix}/bin/zsoelim ln -s nroff ${RPM_BUILD_ROOT}%{_prefix}/bin/gnroff # Build system is compressing man-pages ln -s eqn.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/geqn.1.gz ln -s indxbib.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gindxbib.1.gz ln -s lookbib.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/glookbib.1.gz ln -s nroff.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gnroff.1.gz ln -s pic.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gpic.1.gz ln -s refer.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/grefer.1.gz ln -s soelim.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gsoelim.1.gz ln -s soelim.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/zsoelim.1.gz ln -s tbl.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gtbl.1.gz ln -s troff.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/gtroff.1.gz mkdir -p ${RPM_BUILD_ROOT}/usr/share/printconf/mf_rules cp %{SOURCE1} ${RPM_BUILD_ROOT}/usr/share/printconf/mf_rules/ mkdir -p ${RPM_BUILD_ROOT}/usr/share/printconf/tests cp %{SOURCE5} ${RPM_BUILD_ROOT}/usr/share/printconf/tests/ find ${RPM_BUILD_ROOT}%{_prefix}/bin ${RPM_BUILD_ROOT}%{_mandir} -type f -o -type l | \ grep -v afmtodit | grep -v grog | grep -v mdoc.samples |\ grep -v mmroff |\ sed "s|${RPM_BUILD_ROOT}||g" | sed "s|\.[0-9]|\.*|g" > groff-files install -m 644 %SOURCE6 $RPM_BUILD_ROOT/usr/share/groff/%version/tmac/hyphen.cs %clean rm -rf ${RPM_BUILD_ROOT} %files -f groff-files %defattr(-,root,root) %doc BUG-REPORT NEWS PROBLEMS README README.A4 TODO VERSION %{_prefix}/share/groff /usr/share/printconf/tests/* /usr/share/printconf/mf_rules/* %files perl %defattr(-,root,root) %{_prefix}/bin/grog %{_prefix}/bin/mmroff %{_prefix}/bin/afmtodit %{_mandir}/man1/afmtodit.* %{_mandir}/man1/grog.* %{_mandir}/man7/mmroff* %files gxditview %defattr(-,root,root) %{_prefix}/X11R6/bin/gxditview %{_prefix}/X11R6/lib/X11/app-defaults/GXditview #/etc/X11/app-defaults/GXditview %changelog * Wed Sep 12 2001 Tim Powers - rebuild with new gcc and binutils * Wed Aug 15 2001 Mike A. Harris 1.17.2-3 - Added symlink from soelim to zsoelim, fixing bug (#51037) * Tue Aug 14 2001 Florian La Roche - fixes security bug #50494 * Sun Aug 12 2001 Florian La Roche - update to 1.17.2 - strerror patch is not needed anymore - apply newest debian patch * Fri Apr 27 2001 Bill Nottingham - rebuild for C++ exception handling on ia64 * Tue Apr 03 2001 Florian La Roche - do not change groff to use /etc/papersize. Deleted the changes in the debian patch. * Fri Mar 30 2001 Trond Eivind Glomsrød - Add hyphen.cs - file generated as described in Czech how-to, 6.7 * Wed Mar 28 2001 Florian La Roche - updated to newest debian patch to get nippon/ascii8 support better working * Fri Feb 9 2001 Crutcher Dunnavant - switch to printconf filtration rules * Tue Jan 09 2001 Florian La Roche - change app-defaults to /usr/X11R6/lib/X11/app-defaults/ and do not mark it as config file * Thu Dec 14 2000 Yukihiro Nakai - Add Japanese patch from RHL7J * Fri Aug 4 2000 Florian La Roche - update to bug-fix release 1.16.1 * Fri Jul 28 2000 Tim Waugh - Install troff-to-ps.fpi in /usr/lib/rhs-printfilters (#13634). * Wed Jul 19 2000 Jeff Johnson - rebuild with gcc-2.96-41. * Mon Jul 17 2000 Jeff Johnson - rebuild to fix miscompilation manifesting in alpha build of tcltk. * Thu Jul 13 2000 Prospector - automatic rebuild * Tue Jul 4 2000 Jakub Jelinek - Rebuild with new C++ * Fri Jun 9 2000 Bill Nottingham - move mmroff to -perl * Wed Jun 7 2000 Bernhard Rosenkraenzer - Fix build - FHS - 1.16 * Sun May 14 2000 Jeff Johnson - install tmac.mse (FWIW tmac.se looks broken) to fix dangling symlink (#10757). - add README.A4, how to set up for A4 paper (#8276). - add other documents to package. * Thu Mar 2 2000 Jeff Johnson - permit sourcing on regular files within cwd tree (unless -U specified). * Wed Feb 9 2000 Jeff Johnson - fix incorrectly installed tmac.m file (#8362). * Mon Feb 7 2000 Florian La Roche - check if build system is sane again * Thu Feb 03 2000 Cristian Gafton - fix description and summary - man pages are compressed. This is ugly. * Mon Jan 31 2000 Bill Nottingham - put the binaries actually in the package *oops* * Fri Jan 28 2000 Bill Nottingham - split perl components into separate subpackage * Wed Dec 29 1999 Bill Nottingham - update to 1.15 * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 9) * Tue Feb 16 1999 Cristian Gafton - glibc 2.1 patch for xditview (#992) * Thu Oct 22 1998 Bill Nottingham - build for Raw Hide * Thu Sep 10 1998 Cristian Gafton - fix makefiles to work with bash2 * Fri May 08 1998 Prospector System - translations modified for de, fr, tr * Thu Apr 30 1998 Cristian Gafton - use g++ for C++ code * Wed Apr 08 1998 Cristian Gafton - manhattan and buildroot * Mon Nov 3 1997 Michael Fulbright - made xdefaults file a config file * Thu Oct 23 1997 Erik Troan - split perl components into separate subpackage * Tue Oct 21 1997 Michael Fulbright - updated to 1.11a - added safe troff-to-ps.fpi * Tue Oct 14 1997 Michael Fulbright - removed troff-to-ps.fpi for security reasons. * Fri Jun 13 1997 Erik Troan - built against glibc