Name: docbook-utils Version: 0.6.9 Release: 24 Group: Applications/Text Summary: Shell scripts for managing DocBook documents. URL: ftp://sources.redhat.com/pub/docbook-tools/new-trials/ License: GPL Requires: docbook-style-dsssl >= 1.72 Requires: docbook-dtds Requires: perl-SGMLSpm >= 1.03ii Requires: which BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch Source0: %{name}-%{version}.tar.gz Source1: db2html Source2: gdp-both.dsl Source3: docbook-utils-automake.tar.gz Patch0: docbook-utils-0.6-..patch Patch1: jw-custom.patch Patch2: docbook-utils-0.6-@.patch Patch3: docbook-utils-0.6-pdf.patch Patch4: docbook-utils-0.6.9-nochunks.patch Patch5: docbook-utils-0.6.9-txt.patch Patch6: docbook-utils-0.6.9--o.patch Patch7: docbook-utils-0.6.9-manpage.patch Patch8: docbook-utils-0.6.9-sdata.patch Patch9: docbook-utils-0.6.9-help.patch Patch10: docbook-utils-0.6.9-ol.patch Patch11: docbook-utils-0.6.9--V.patch Patch12: docbook-utils-0.6.9-sgml_xml.patch Patch13: docbook-utils-0.6.9-excl.patch Patch14: docbook-utils-0.6.9-link.patch Patch15: docbook-utils-0.6.9-pagesize.patch Patch16: docbook-utils-0.6.9-texinputs.patch Obsoletes: stylesheets Provides: stylesheets %Description This package contains scripts are for easy conversion from DocBook files to other formats (for example, HTML, RTF, and PostScript), and for comparing SGML files. %package pdf Requires: tetex-dvips jadetex >= 2.5 Requires: docbook-utils = %{version} Group: Applications/Text Obsoletes: stylesheets-db2pdf Provides: stylesheets-db2pdf Summary: A script for converting DocBook documents to PDF format. URL: ftp://sources.redhat.com/pub/docbook-tools/new-trials/ %description pdf This package contains a script for converting DocBook documents to PDF format. %Prep %setup -q %patch0 -p1 -b .. %patch1 -p1 -b .custom %patch2 -p1 -b .@ %patch3 -p1 -b .pdf %patch4 -p1 -b .nochunks %patch5 -p1 -b .txt %patch6 -p1 -b .-o %patch7 -p1 -b .manpage %patch8 -p1 -b .sdata %patch9 -p1 -b .help %patch10 -p1 -b .ol %patch11 -p1 -b .-V %patch12 -p1 -b .sgml_xml %patch13 -p1 -b .excl %patch14 -p1 -b .link %patch15 -p1 -b .pagesize %patch16 -p1 -b .texinputs %Build # Delinkify COPYING rm COPYING install-sh missing mkinstalldirs tar zxf %{SOURCE3} ./configure --prefix=%{_prefix} --mandir=%{_mandir} make %Install export DESTDIR=$RPM_BUILD_ROOT rm -rf $DESTDIR make install prefix=%{_prefix} mandir=%{_mandir} docdir=$DESTDIR%{_docdir} for util in dvi html pdf ps rtf do ln -s docbook2$util $RPM_BUILD_ROOT%{_bindir}/db2$util ln -s jw.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/db2$util.1 done # db2html is not just a symlink, as it has to create the output directory rm -f $RPM_BUILD_ROOT%{_bindir}/db2html install -c -m 775 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/db2html install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/sgml/docbook/utils-%{version}/docbook-utils.dsl install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/sgml/docbook/utils-%{version}/docbook-utils-a4.dsl perl -pi -e 's/^ "USletter"/ "A4"/' $RPM_BUILD_ROOT/usr/share/sgml/docbook/utils-%{version}/docbook-utils-a4.dsl %Clean DESTDIR=$RPM_BUILD_ROOT rm -rf $DESTDIR %Files %defattr (-,root,root) %doc README COPYING TODO %{_bindir}/jw %{_bindir}/docbook2dvi %{_bindir}/docbook2html %{_bindir}/docbook2man %{_bindir}/docbook2ps %{_bindir}/docbook2rtf %{_bindir}/docbook2tex %{_bindir}/docbook2texi %{_bindir}/docbook2txt %{_bindir}/db2dvi %{_bindir}/db2html %{_bindir}/db2ps %{_bindir}/db2rtf %{_bindir}/sgmldiff /usr/share/sgml/docbook/utils-%{version} %{_mandir}/*/* %files pdf %defattr (-,root,root) %{_bindir}/docbook2pdf %{_bindir}/db2pdf %changelog * Fri Mar 22 2002 Tim Waugh 0.6.9-24 - Pick up images from the right place (bug #61652). * Wed Mar 6 2002 Tim Waugh 0.6.9-23 - Add URL tags, and provide: stylesheets and stylesheets-pdf (bug #60226). * Thu Feb 21 2002 Tim Waugh 0.6.9-22 - Rebuild in new environment. * Tue Feb 5 2002 Tim Waugh 0.6.9-21 - Edited the wrong file when making the patch.. fix breakage introduced by trying to fix bug #58375. * Tue Feb 5 2002 Tim Waugh 0.6.9-20 - Fix docbook frontend (bug #51478). - Make the old db2html script understand the .xml filename extension (bug #59194). - Determine page size to use automatically from LC_PAPER (bug #58375). * Fri Jan 25 2002 Tim Waugh 0.6.9-19 - Require the DocBook DTDs. * Tue Jan 22 2002 Tim Waugh 0.6.9-18 - Fix bug #46913 again, since the last change broke it. * Sun Jan 20 2002 Tim Waugh 0.6.9-16 - Several more fixes that will be in the next upstream version. * Sat Jan 19 2002 Tim Waugh 0.6.9-15 - Support -V (bug #31518). * Wed Jan 09 2002 Tim Powers 0.6.9-14 - automated rebuild * Wed Jan 9 2002 Tim Waugh 0.6.9-13 - Fix generated man output for orderedlists. * Mon Dec 3 2001 Tim Waugh 0.6.9-12 - Fix generated man output for funcprototypes with more than one paramdef. * Wed Nov 28 2001 Tim Waugh 0.6.9-11 - Rebuild to fix man pages (bug #56449). * Thu Nov 22 2001 Tim Waugh 0.6.9-10 - Fix jw behaviour when executed with no parameter. - Fix 'jw --help'. * Wed Nov 14 2001 Tim Waugh 0.6.9-9 - Actually apply the patch that makes man backend understand −. - Also don't redefine and for HTML output either. * Tue Nov 13 2001 Tim Waugh 0.6.9-8 - Default stylesheet: and as rationale markers probably isn't really appropriate for general use. - Default stylesheet: larger top margin to make some RTF readers happy (bug #56011). - Make man backend understand −. - Specfile cleanups (%%{_bindir}, %%{_docdir}). * Mon Nov 12 2001 Tim Waugh 0.6.9-7 - The fix for bug #53546 broke '--dsl none'. Fix it. * Fri Nov 2 2001 Tim Waugh 0.6.9-6 - Explicit synopsis for each docbook2[xxx] command in the jw man page. - Clean up all temporary files in pdf backend. * Mon Oct 1 2001 Tim Waugh 0.6.9-5 - Fix ADDRESS element output (bug #50605). * Fri Sep 28 2001 Tim Waugh 0.6.9-4 - Adjust stylesheet so that it works with docbook-dsssl 1.72. - Fix jw so that -o and -d can be used together (bug #53546). * Thu Sep 6 2001 Tim Waugh 0.6.9-3 - Fix txt backend so that it works. - Fix jw so that it uses the HTML stylesheet for text backends. - Use links if lynx isn't available, in txt backend. * Mon Aug 13 2001 Tim Waugh 0.6.9-2 - Larger bottom margin in gdp-both.dsl to fix RTF output (bug #49677). * Tue Jul 3 2001 Tim Waugh 0.6.9-1 - 0.6.9. - With --nochunks, send output to a file instead of stdout (bug #46913). * Mon Jun 4 2001 Tim Waugh 0.6.8-2 - Make sure COPYING isn't installed as a symlink. * Mon May 21 2001 Tim Waugh 0.6.8-1 - 0.6.8. * Mon May 21 2001 Tim Waugh 0.6-14 - db2html: copy admon graphics to output directory (bug #40143). - Require docbook-style-dsssl 1.64-2 for symbolic link used by db2html. - db2html: handle arguments with spaces better. * Sat Mar 24 2001 Tim Waugh 0.6-13 - Fix man pages (bug #32820). * Mon Mar 12 2001 Tim Waugh - Fix argument parsing in docbook2xxx (bug #31518). - Fix argument passing in db2html (bug #31520). - Fix pdf generation (bug #31524). * Fri Feb 23 2001 Tim Waugh - Allow the use of custom backends and frontends (bug #29067). * Fri Feb 16 2001 Tim Waugh - Use gdp-both.dsl as the default stylesheet. * Mon Feb 12 2001 Tim Waugh - REALLY only create output directory for db2html (duh). - Handle filenames with dots in properly. * Sun Feb 11 2001 Tim Waugh - Only create output directory for db2html (bug #27092). (docbook2html does not create an output directory in the upstream version, but the compatibility script has been made to do so.) * Mon Jan 22 2001 Tim Waugh - Move the jadetex requirement to the -pdf subpackage. * Tue Jan 16 2001 Tim Waugh - Put output files in new directory instead of current directory. * Mon Jan 15 2001 Tim Waugh - Don't play so many macro games. - Be sure to own utils directory. * Fri Jan 12 2001 Tim Waugh - Split off docbook2pdf into subpackage for dependency reasons. * Mon Jan 08 2001 Tim Waugh - Change group. - Use %%{_mandir} and %%{_prefix}. - db2* symlinks. - Obsolete stylesheets (and -db2pdf). - Change Copyright: to License:. - Remove Packager: line. - Reword description. * Mon Jan 08 2001 Tim Waugh - Based on Eric Bischoff's new-trials packages.