2007-01-16 00:43:04 +01:00
|
|
|
#
|
|
|
|
# spec file for package xmlto (Version 0.0.18)
|
|
|
|
#
|
2007-12-12 18:20:00 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:43:04 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# 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
|
2007-12-12 18:20:00 +01:00
|
|
|
Release: 119
|
|
|
|
License: GPL v2 or later
|
2007-01-16 00:43:04 +01:00
|
|
|
Group: Productivity/Publishing/XML
|
2007-12-12 18:20:00 +01:00
|
|
|
Url: http://cyberelk.net/tim/xmlto/
|
2007-01-16 00:43:04 +01:00
|
|
|
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
|
2007-12-12 18:20:00 +01:00
|
|
|
Patch3: xmlto-0.0.18-xsltopts.diff
|
2007-01-16 00:43:04 +01:00
|
|
|
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: passivetex >= 1.11
|
2007-12-12 18:20:00 +01:00
|
|
|
Requires: /usr/bin/xsltproc
|
|
|
|
Requires: /usr/bin/xmllint
|
2007-01-16 00:43:04 +01:00
|
|
|
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
|
2007-12-12 18:20:00 +01:00
|
|
|
%patch -p 1 -P 1 -p 1 -P 2 -p 1 -P 3
|
2007-01-16 00:43:04 +01:00
|
|
|
cp %{S:10} README.SuSE
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make
|
2007-12-12 18:20:00 +01:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:43:04 +01:00
|
|
|
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
|
|
|
|
|
2007-12-12 18:20:00 +01:00
|
|
|
%changelog
|
|
|
|
* 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).
|
2007-01-16 00:43:04 +01:00
|
|
|
* 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].
|