forked from pool/xmlto
86 lines
2.4 KiB
RPMSpec
86 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package xmlto (Version 0.0.18)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# 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
|
|
Release: 43
|
|
License: GPL
|
|
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
|
|
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
|
|
Requires: libxslt
|
|
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
|
|
cp %{S:10} README.SuSE
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
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 -n xmlto
|
|
* 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].
|