Name: docbook-style-xsl Version: 1.61.2 Release: 2.1 Group: Applications/Text Summary: Norman Walsh's XSL stylesheets for DocBook XML. License: Distributable URL: http://docbook.sourceforge.net/projects/xsl/ Provides: docbook-xsl = %{version} PreReq: docbook-dtd-xml # xml-common was using /usr/share/xml until 0.6.3-8. PreReq: xml-common >= 0.6.3-8 # PassiveTeX before 1.21 can't handle the newer stylesheets. Conflicts: passivetex < 1.21 BuildRoot: %{_tmppath}/%{name}-%{version} BuildArch: noarch Source0: http://prdownloads.sourceforge.net/docbook/docbook-xsl-%{version}.tar.gz Source1: %{name}.Makefile Patch0: docbook-xsl-1.61.0-hyphens.patch %description These XSL stylesheets allow you to transform any DocBook XML document to other formats, such as HTML, FO, and XHMTL. They are highly customizable. %prep %setup -q -n docbook-xsl-%{version} %patch0 -p1 -b .hyphens cp %{SOURCE1} Makefile %build %install DESTDIR=$RPM_BUILD_ROOT rm -rf $DESTDIR make install BINDIR=$DESTDIR/usr/bin DESTDIR=$DESTDIR/usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release} ln -s xsl-stylesheets-%{version}-%{release} \ $DESTDIR/usr/share/sgml/docbook/xsl-stylesheets %clean DESTDIR=$RPM_BUILD_ROOT rm -rf $DESTDIR %files %defattr (-,root,root) %doc BUGS %doc ChangeLog %doc README %doc TODO %doc WhatsNew %doc doc %doc docsrc /usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release} /usr/share/sgml/docbook/xsl-stylesheets %post CATALOG=/etc/xml/catalog /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/%{version}" \ "file:///usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG /usr/bin/xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/%{version}" \ "file:///usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG /usr/bin/xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/current" \ "file:///usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG /usr/bin/xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/current" \ "file:///usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG %postun CATALOG=/etc/xml/catalog /usr/bin/xmlcatalog --noout --del \ "file:///usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release}" $CATALOG %changelog * Fri Jul 4 2003 Tim Waugh 1.61.2-2.1 - Rebuilt. * Fri Jul 4 2003 Tim Waugh 1.61.2-2 - Rebuilt. * Fri May 23 2003 Tim Waugh 1.61.2-1 - 1.61.2. * Sun May 18 2003 Tim Waugh 1.61.1-1 - 1.61.1. * Fri May 9 2003 Tim Waugh 1.61.0-1 - Prevent hyphenation-character confusing passivetex. - 1.61.0. * Thu Mar 6 2003 Tim Waugh 1.60.1-1 - 1.60.1. * Wed Jan 22 2003 Tim Powers - rebuilt * Mon Dec 2 2002 Tim Waugh 1.58.1-1 - 1.58.1. - No longer need marker patch. * Mon Nov 4 2002 Tim Waugh 1.57.0-2 - Ship profiling directory (bug #77191). * Tue Oct 22 2002 Tim Waugh 1.57.0-1 - 1.57.0. * Wed Oct 16 2002 Tim Waugh 1.56.1-1 - 1.56.1. - Use value-of not copy-of for fo:marker content. - Conflict with passivetex < 1.21. * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Wed May 1 2002 Tim Waugh 1.50.0-1 - 1.50.0. * Thu Feb 21 2002 Tim Waugh 1.49-1 - 1.49. - Rebuild in new environment. * Fri Feb 1 2002 Tim Waugh 1.48-4 - Put URIs instead of pathnames in the XML catalog. * Thu Jan 17 2002 Tim Waugh 1.48-3 - Back to /usr/share/sgml. * Wed Jan 09 2002 Tim Powers 1.48-2 - automated rebuild * Mon Jan 7 2002 Tim Waugh 1.48-1 - 1.48. * Sat Dec 8 2001 Tim Waugh 1.47-2 - Conflict with PassiveTeX before 1.11. * Tue Oct 16 2001 Tim Waugh 1.47-1 - 1.47-experimental. * Tue Oct 9 2001 Tim Waugh 1.45-2 - Fix unversioned symlink. * Mon Oct 8 2001 Tim Waugh 1.45-1 - XML Catalog entries. - Move files to /usr/share/xml. * Mon Oct 1 2001 Tim Waugh 1.45-0.1 - 1.45. - Built for Red Hat Linux. * Tue Jun 26 2001 Chris Runge - 1.40 * Fri Jun 09 2001 Chris Runge - added extensions and additional doc - bin added to doc; the Perl files are for Win32 Perl and so need some conversion first * Fri Jun 08 2001 Chris Runge - Initial RPM (based on docbook-style-dsssl RPM) - note: no catalog right now (I don't know how to do it; and not sure why it is necessary)