--- groff.spec.dist Tue Apr 3 12:31:40 2001 +++ groff.spec Sun Aug 12 17:15:52 2001 @@ -1,7 +1,9 @@ +%define version 1.17.2 +%define release 0 Summary: A document formatting system. Name: groff -Version: 1.16.1 -Release: 7 +Version: %{version} +Release: %{release} Copyright: GPL Group: Applications/Publishing Source0: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz @@ -12,8 +14,8 @@ Source4: man-pages-ja-GNU_groff-20000115.tar.gz Source5: groff.test Source6: hyphen.cs -Patch1: groff-1.16-safer.patch -Patch2: groff-1.16-debian.patch +#Patch1: groff-1.16-safer.patch +#Patch2: groff-1.16-debian.patch Requires: mktemp Buildroot: %{_tmppath}/%{name}-root Obsoletes: groff-tools @@ -56,14 +58,14 @@ %prep %setup -q -a 4 -%patch1 -p1 -b .safer -%patch2 -p1 -b .japanese +#%patch1 -p1 -b .safer +#%patch2 -p1 -b .japanese cp %{SOURCE2} . %build PATH=$PATH:%{_prefix}/X11R6/bin -autoconf +[ -f configure.in ] && autoconf %configure --enable-japanese make cd src/xditview @@ -77,20 +79,20 @@ cd src/xditview %makeinstall DESTDIR=$RPM_BUILD_ROOT cd ../.. -#mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_prefix}/share -ln -s tmac.s ${RPM_BUILD_ROOT}%{_prefix}/share/groff/tmac/tmac.gs -ln -s tmac.mse ${RPM_BUILD_ROOT}%{_prefix}/share/groff/tmac/tmac.gmse -ln -s tmac.m ${RPM_BUILD_ROOT}%{_prefix}/share/groff/tmac/tmac.gm -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 nroff ${RPM_BUILD_ROOT}%{_prefix}/bin/gnroff +# this was stolen from 1.17.2-2mdk.spec +ln -s s.tmac ${RPM_BUILD_ROOT}%{_datadir}/groff/%version/tmac/gs.tmac +ln -s mse.tmac ${RPM_BUILD_ROOT}%{_datadir}/groff/%version/tmac/gmse.tmac +ln -s m.tmac ${RPM_BUILD_ROOT}%{_datadir}/groff/%version/tmac/gm.tmac +ln -s troff ${RPM_BUILD_ROOT}%{_bindir}/gtroff +ln -s tbl ${RPM_BUILD_ROOT}%{_bindir}/gtbl +ln -s pic ${RPM_BUILD_ROOT}%{_bindir}/gpic +ln -s eqn ${RPM_BUILD_ROOT}%{_bindir}/geqn +ln -s neqn ${RPM_BUILD_ROOT}%{_bindir}/gneqn +ln -s refer ${RPM_BUILD_ROOT}%{_bindir}/grefer +ln -s lookbib ${RPM_BUILD_ROOT}%{_bindir}/glookbib +ln -s indxbib ${RPM_BUILD_ROOT}%{_bindir}/gindxbib +ln -s soelim ${RPM_BUILD_ROOT}%{_bindir}/gsoelim +ln -s nroff ${RPM_BUILD_ROOT}%{_bindir}/gnroff # Build system is compressing man-pages ln -s eqn.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/geqn.1.gz @@ -113,7 +115,7 @@ 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/tmac/hyphen.cs +install -m 644 %SOURCE6 $RPM_BUILD_ROOT/usr/share/groff/%{version}/tmac/hyphen.cs %clean rm -rf ${RPM_BUILD_ROOT} @@ -141,6 +143,11 @@ #/etc/X11/app-defaults/GXditview %changelog +* Sun Aug 12 2001 Riku Meskanen
+- Updated the source to groff 1.17.2 version, the 1.16.2 had bugs + with processing strings like "ää" and "öö" scandinavian users need. +- small portion snipped from groff-1.17.2-2mdk.src.rpm spec + * Tue Apr 03 2001 Florian La Roche - do not change groff to use /etc/papersize. Deleted the changes in the debian patch.