# # spec file for package xmlto (Version 0.0.18) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: xmlto BuildRequires: docbook-xsl-stylesheets libxslt sgml-skel Summary: Tool for Converting XML Files to Various Formats Version: 0.0.18 Release: 182 License: GPL v2 or later Group: Productivity/Publishing/XML Url: http://cyberelk.net/tim/xmlto/ Source0: ftp://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2 Source10: %{name}-README.SuSE Patch: xmlto-nonvoid.patch Patch1: xmlto-0.0.18-overflow.patch Patch2: xmlto-find-cmd.diff Patch3: xmlto-0.0.18-xsltopts.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build # We rely entirely on the DocBook XSL stylesheets! Requires: docbook-xsl-stylesheets >= 1.56.0 # For full functionality, we need passivetex. Requires: texlive-xmltex >= 2007 Requires: libxslt #Does not work; split libxml2 and libxslt #Requires: /usr/bin/xsltproc #Requires: /usr/bin/xmllint Requires: docbook_4 %description This is a package for converting XML files to various formats using XSL stylesheets. As a processor it depends on xsltproc and as a formatter for print output it makes use of passivetex. %prep %setup -q %patch %patch -p 1 -P 1 -p 1 -P 2 -p 1 -P 3 cp %{S:10} README.SuSE %build %configure make %check make check %install rm -rf %{buildroot} %makeinstall [ -d %{buildroot}%{_datadir}/xmlto/xsl ] || \ mkdir %{buildroot}%{_datadir}/xmlto/xsl %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README.SuSE %{_bindir}/* %{_mandir}/*/* %{_datadir}/xmlto %changelog * Tue Sep 09 2008 ke@suse.de - Improve README.SUSE; bnc#67190. * Mon Mar 17 2008 werner@suse.de - Use texlive-xmltex instead of passivetex * Fri Dec 14 2007 ke@suse.de - Require libxslt again. * Wed Dec 12 2007 ke@suse.de - Cleanup spec file. - Apply xmlto-0.0.18-xsltopts.diff to provide a command line switch for specifying the HTML output encoding; see # 197484 (thanks to Thomas Schraitle). * Mon Aug 28 2006 ke@suse.de - Fix find argument sequence; reported by Marcus Rueckert [#201749]. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Sep 29 2005 dmueller@suse.de - add norootforbuild * Wed Jul 06 2005 ke@suse.de - xmlto-0.0.18-overflow.patch: Include more *.h to avoid potential buffer overflows. * Thu Mar 03 2005 ke@suse.de - Add README.SuSE to address issues producing PDF output; [# 67190]. * Wed Oct 13 2004 ke@suse.de - Add libgpg-error and libgcrypt to neededforbuild. * Wed May 19 2004 ro@suse.de - added return to non-void function (main) * Tue Feb 24 2004 ke@suse.de - New package: version 0.0.18. Proposed by Richard Bos [# 34918].