862b4ab
Summary: A tool for converting XML files to various formats
cvsdist c8e26f6
Name: xmlto
f95a953
Version: 0.0.24
f8a1435
Release: 2%{?dist}
636d85c
License: GPLv2+
cvsdist c8e26f6
Group: Applications/System
631d8a0
#Older versions up to xmlto-0.0.20
631d8a0
#URL: http://cyberelk.net/tim/xmlto/
631d8a0
#Source0: http://cyberelk.net/tim/data/xmlto/stable/%{name}-%{version}.tar.bz2
631d8a0
URL: https://fedorahosted.org/xmlto/
a735a64
Source0: https://fedorahosted.org/releases/x/m/%{name}/%{name}-%{version}.tar.bz2
f8a1435
Patch1: xmlto-fopextensions.patch
f0775fe
c359ec0
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist c8e26f6
cvsdist d03bfd5
BuildRequires: docbook-xsl >= 1.56.0
60c6e1b
BuildRequires: libxslt
d8dff62
BuildRequires: util-linux, flex
297e1d4
#disable it when removing the patch
297e1d4
BuildRequires: autoconf automake
cvsdist c8e26f6
cvsdist c8e26f6
# We rely heavily on the DocBook XSL stylesheets!
f95a953
Requires: docbook-xsl >= 1.74.2
83ace88
Requires: text-www-browser
60c6e1b
Requires: libxslt
cvsdist c8e26f6
Requires: docbook-dtds
adc8f9a
Requires: util-linux, flex
cvsdist c8e26f6
cvsdist c8e26f6
%description
cvsdist c8e26f6
This is a package for converting XML files to various formats using XSL
cvsdist c8e26f6
stylesheets.
cvsdist c8e26f6
862b4ab
%package tex
862b4ab
Group: Applications/System
a735a64
License: GPLv2+
60c6e1b
Summary: A set of xmlto backends with TeX requirements
862b4ab
# For full functionality, we need passivetex.
862b4ab
Requires: passivetex >= 1.11
862b4ab
# We require main package
ad8d080
Requires: xmlto = %{version}-%{release}
08d0101
BuildArch: noarch
08d0101
862b4ab
862b4ab
%description tex
862b4ab
This subpackage contains xmlto backend scripts which do require
862b4ab
PassiveTeX/TeX for functionality.
862b4ab
0c27b2a
%package xhtml
0c27b2a
Group: Applications/System
0c27b2a
License: GPLv2+
0c27b2a
Summary: A set of xmlto backends for xhtml1 source format
0c27b2a
# For functionality we need stylesheets xhtml2fo-style-xsl
0c27b2a
Requires: xhtml2fo-style-xsl
0c27b2a
# We require main package
0c27b2a
Requires: xmlto = %{version}-%{release}
08d0101
BuildArch: noarch
0c27b2a
0c27b2a
%description xhtml
0c27b2a
This subpackage contains xmlto backend scripts for processing
0c27b2a
xhtml1 source format.
0c27b2a
cvsdist c8e26f6
%prep
cvsdist df6887b
%setup -q
f8a1435
%patch1 -p1 -b .extensions
cvsdist c8e26f6
cvsdist c8e26f6
%build
f8a1435
autoreconf
233096f
%configure BASH=/bin/bash
60c6e1b
make %{?_smp_mflags}
862b4ab
862b4ab
%check
cvsdist d03bfd5
make check
cvsdist c8e26f6
cvsdist c8e26f6
%install
c359ec0
rm -rf $RPM_BUILD_ROOT
08d0101
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
cvsdist c8e26f6
cvsdist c8e26f6
%clean
c359ec0
rm -rf $RPM_BUILD_ROOT
cvsdist c8e26f6
cvsdist c8e26f6
%files
f1b85f7
%defattr(-,root,root,-)
a735a64
%doc COPYING ChangeLog README AUTHORS NEWS
cvsdist d03bfd5
%{_bindir}/*
cvsdist c8e26f6
%{_mandir}/*/*
cvsdist c8e26f6
%{_datadir}/xmlto
862b4ab
%exclude %{_datadir}/xmlto/format/fo/dvi
862b4ab
%exclude %{_datadir}/xmlto/format/fo/ps
862b4ab
%exclude %{_datadir}/xmlto/format/fo/pdf
0c27b2a
%exclude %dir %{_datadir}/xmlto/format/xhtml1/
0c27b2a
%exclude %{_datadir}/xmlto/format/xhtml1
0c27b2a
862b4ab
862b4ab
%files tex
f1b85f7
%defattr(-,root,root,-)
862b4ab
%{_datadir}/xmlto/format/fo/dvi
862b4ab
%{_datadir}/xmlto/format/fo/ps
862b4ab
%{_datadir}/xmlto/format/fo/pdf
cvsdist c8e26f6
0c27b2a
%files xhtml
0c27b2a
%defattr(-,root,root,-)
0c27b2a
%dir %{_datadir}/xmlto/format/xhtml1/
adc8f9a
%{_datadir}/xmlto/format/xhtml1/*
0c27b2a
0c27b2a
cvsdist c8e26f6
%changelog
f8a1435
* Tue Nov 29 2011 Ondrej Vasik <ovasik@redhat.com> - 0.0.24-2
f8a1435
- fix the functionality of fop.extensions (#757035)
f8a1435
f95a953
* Thu Jul 14 2011 Ondrej Vasik <ovasik@redhat.com> - 0.0.24-1
f95a953
- new release 0.0.24, basic support for docbook->epub
f95a953
  conversion, use backend extensions by default
f95a953
  (--noextensions) to disable it
f95a953
d3c593e
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.23-4
d3c593e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d3c593e
b88a1bd
* Tue Oct 13 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-3
b88a1bd
- workaround passivetex limitation for chapter titles starting
b88a1bd
  with L(#526273)
b88a1bd
233096f
* Fri Sep 24 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-2
233096f
- ensure the default shell is /bin/bash instead of /bin/sh
233096f
adc8f9a
* Mon Sep 21 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.23-1
adc8f9a
- New version 0.0.23
adc8f9a
- added autodetection for more common tools like
adc8f9a
  gnu cp or tail
adc8f9a
- added option --noautosize to prevent overriding
adc8f9a
  of user-defined or system-default paper size
adc8f9a
- use shell built-in 'type -t' instead of 'which'
adc8f9a
  utility for detection of file availability
adc8f9a
08d0101
* Sat Aug 01 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.22-3
08d0101
- make subpackages noarch, preserve timestamps - merge
08d0101
  review (#226568)
08d0101
a1d9e19
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.22-2
a1d9e19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a1d9e19
08d0101
* Wed Mar 25 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.22-1
636d85c
- New version 0.0.22
636d85c
- autodetection for tools/program paths, consolidated
636d85c
  error code handling, build warnings cleanup
636d85c
0c27b2a
* Mon Mar 16 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-9
0c27b2a
- reenable noent switch - bug is on lcdproc side
0c27b2a
- add xhtml support(subpackage) (#145140)
0c27b2a
0c27b2a
* Mon Mar 02 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-8
f1b85f7
- temporarily disable noent switch - blocks lcdproc doc build
f1b85f7
  (#488093)
f1b85f7
ace7552
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.21-7
ace7552
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ace7552
fd7c5ff
* Wed Jan 28 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-6
fd7c5ff
- fix cleaning up of temporary files with libpaper(Debian)
fd7c5ff
- fix xmllint postvalid (added noent option), use nonet
fd7c5ff
  switch
fd7c5ff
3075a23
* Mon Jan 05 2009 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-5
3075a23
- fix stringparam option functionality
3075a23
a735a64
* Tue Dec 16 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-4
a735a64
- merge review(#226568)
a735a64
  correct doc filelist attributes, add License GPL+ for xmlif
a735a64
60c6e1b
* Fri Dec 12 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-3
60c6e1b
- merge review(#226568):
60c6e1b
  ship documentation files, fix license tag, use recommended
60c6e1b
  parallel make, make install instead of macro, require libxslt
60c6e1b
  instead of direct binary requirement
60c6e1b
862b4ab
* Fri Jul 11 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-2
60c6e1b
- xmlto-tex subpackage to prevent requirements for
862b4ab
  passivetex/tex for all backends(#454341)
862b4ab
631d8a0
* Mon Jun 20 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.21-1
631d8a0
- new version 0.0.21
631d8a0
f0775fe
* Tue May 13 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-3
f0775fe
- fixed errorneus handling of backend stylesheet(#446092)
f0775fe
- removed unused patches
f0775fe
8d56737
* Mon Feb 11 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-2
8d56737
- gcc4.3 rebuild
8d56737
66a9be6
* Thu Jan 17 2008 Ondrej Vasik <ovasik@redhat.com> - 0.0.20-1
66a9be6
- new version 0.0.20
66a9be6
- added experimental fop support(additional output formats)
66a9be6
- possibility to read stylesheet from STDIN, using recursive
66a9be6
  cp in docbook formats, updated man pages
60c6e1b
c359ec0
* Wed Nov 28 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.19-1
c359ec0
- new version 0.0.19
a1bcf58
- added dist tag
c359ec0
83ace88
* Fri Oct 12 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.18-17
83ace88
- generalized text-www-browser requirements(#174566)
83ace88
0e36511
* Mon Oct  8 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.18-16
0e36511
- fixed warning message from find in usage() display(#322121)
0e36511
f5cae7f
* Wed Sep 19 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.18-15
f5cae7f
- fixed wrong source URL
f5cae7f
453cf15
* Thu Aug 23 2007 Ondrej Vasik <ovasik@redhat.com> - 0.0.18-14
453cf15
- rebuilt for F8
453cf15
- changed License tag to GPLv2
453cf15
898a212
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.0.18-13.1
898a212
- rebuild
898a212
9ef0934
* Thu Jun  8 2006 Tim Waugh <twaugh@redhat.com> 0.0.18-13
9ef0934
- Removed debugging.
9ef0934
f501f19
* Thu Jun  8 2006 Tim Waugh <twaugh@redhat.com> 0.0.18-12
f501f19
- Debug build.
f501f19
939ee10
* Thu Jun  8 2006 Tim Waugh <twaugh@redhat.com> 0.0.18-11
939ee10
- Rebuilt.
939ee10
fcbeb82
* Mon Jun  5 2006 Tim Waugh <twaugh@redhat.com> 0.0.18-10
fcbeb82
- Rebuilt.
fcbeb82
1cea626
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.0.18-9.2.1
1cea626
- bump again for double-long bug on ppc(64)
1cea626
fa7ad44
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.0.18-9.2
fa7ad44
- rebuilt for new gcc4.1 snapshot and glibc changes
fa7ad44
129b3e9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
129b3e9
- rebuilt
129b3e9
b61942f
* Mon Aug  8 2005 Tim Waugh <twaugh@redhat.com> 0.0.18-9
b61942f
- Fixed quoting in scripts (bug #165338).
b61942f
bf75881
* Mon Aug  1 2005 Tim Waugh <twaugh@redhat.com> 0.0.18-8
fa8a958
- Requires w3m (bug #164798).
fa8a958
23eb825
* Mon Jul 25 2005 Tim Waugh <twaugh@redhat.com> 0.0.18-7
23eb825
- Rebuild for new man-pages stylesheet.
23eb825
d8dff62
* Mon Apr  4 2005 Tim Waugh <twaugh@redhat.com>
d8dff62
- Requires util-linux and flex, as does the build.
d8dff62
eb6c2de
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 0.0.18-6
eb6c2de
- Rebuild for new GCC.
eb6c2de
41d6356
* Wed Feb  9 2005 Tim Waugh <twaugh@redhat.com> 0.0.18-5
41d6356
- Rebuilt.
41d6356
cvsdist d20af3e
* Thu Jul  1 2004 Tim Waugh <twaugh@redhat.com> 0.0.18-4
cvsdist d20af3e
- Magic encoding is enabled again (bug #126921).
cvsdist d20af3e
cvsdist d20af3e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d20af3e
- rebuilt
cvsdist d20af3e
cvsdist f2cf839
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f2cf839
- rebuilt
cvsdist f2cf839
cvsdist bf8001b
* Wed Jan 21 2004 Tim Waugh <twaugh@redhat.com> 0.0.18-1
cvsdist bf8001b
- 0.0.18.
cvsdist bf8001b
cvsdist 3e02a9d
* Mon Dec  1 2003 Tim Waugh <twaugh@redhat.com> 0.0.17-1
cvsdist 3e02a9d
- 0.0.17.
cvsdist 3e02a9d
cvsdist 3e02a9d
* Tue Nov 18 2003 Tim Waugh <twaugh@redhat.com> 0.0.16-1
cvsdist 3e02a9d
- 0.0.16.
cvsdist 3e02a9d
cvsdist 8c2dd0e
* Tue Oct  7 2003 Tim Waugh <twaugh@redhat.com> 0.0.15-1
cvsdist 8c2dd0e
- 0.0.15.
cvsdist 8c2dd0e
cvsdist 8c2dd0e
* Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8c2dd0e
- allow compiling without tetex(passivetex) dependency
cvsdist 8c2dd0e
cvsdist 8c2dd0e
* Tue Jun 17 2003 Tim Waugh <twaugh@redhat.com> 0.0.14-3
cvsdist 8c2dd0e
- Rebuilt.
cvsdist 8c2dd0e
cvsdist 8c2dd0e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 8c2dd0e
- rebuilt
cvsdist 8c2dd0e
cvsdist 8c2dd0e
* Fri May 23 2003 Tim Waugh <twaugh@redhat.com> 0.0.14-1
cvsdist 8c2dd0e
- 0.0.14.
cvsdist 8c2dd0e
cvsdist 8c2dd0e
* Sun May 11 2003 Tim Waugh <twaugh@redhat.com> 0.0.13-1
cvsdist 8c2dd0e
- 0.0.13.
cvsdist 8c2dd0e
cvsdist d03bfd5
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist d03bfd5
- rebuilt
cvsdist d03bfd5
cvsdist d03bfd5
* Fri Jan  3 2003 Tim Waugh <twaugh@redhat.com> 0.0.12-2
cvsdist d03bfd5
- Disable magic encoding detection, since the stylesheets don't handle
cvsdist d03bfd5
  it well at all (bug #80732).
cvsdist d03bfd5
cvsdist d03bfd5
* Thu Dec 12 2002 Tim Waugh <twaugh@redhat.com> 0.0.12-1
cvsdist d03bfd5
- 0.0.12.
cvsdist d03bfd5
cvsdist d03bfd5
* Wed Oct 16 2002 Tim Waugh <twaugh@redhat.com> 0.0.11-1
cvsdist d03bfd5
- 0.0.11.
cvsdist d03bfd5
- xmlto.mak no longer needed.
cvsdist d03bfd5
- CVS patch no longer needed.
cvsdist d03bfd5
- Update docbook-xsl requirement.
cvsdist d03bfd5
- Ship xmlif.
cvsdist d03bfd5
- Run tests.
cvsdist d03bfd5
- No longer a noarch package.
cvsdist d03bfd5
cvsdist d48dcc6
* Tue Jul  9 2002 Tim Waugh <twaugh@redhat.com> 0.0.10-4
cvsdist d48dcc6
- Ship xmlto.mak.
cvsdist d48dcc6
cvsdist df6887b
* Thu Jun 27 2002 Tim Waugh <twaugh@redhat.com> 0.0.10-3
cvsdist df6887b
- Some db2man improvements from CVS.
cvsdist df6887b
cvsdist df6887b
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.0.10-2
cvsdist df6887b
- automated rebuild
cvsdist df6887b
cvsdist df6887b
* Tue Jun 18 2002 Tim Waugh <twaugh@redhat.com> 0.0.10-1
cvsdist df6887b
- 0.0.10.
cvsdist df6887b
- No longer need texinputs patch.
cvsdist df6887b
cvsdist df6887b
* Tue Jun 18 2002 Tim Waugh <twaugh@redhat.com> 0.0.9-3
cvsdist df6887b
- Fix TEXINPUTS problem with ps and dvi backends.
cvsdist df6887b
cvsdist df6887b
* Thu May 23 2002 Tim Powers <timp@redhat.com> 0.0.9-2
cvsdist df6887b
- automated rebuild
cvsdist df6887b
cvsdist df6887b
* Wed May  1 2002 Tim Waugh <twaugh@redhat.com> 0.0.9-1
cvsdist df6887b
- 0.0.9.
cvsdist df6887b
- The nonet patch is no longer needed.
cvsdist df6887b
cvsdist 9a41fa7
* Fri Apr 12 2002 Tim Waugh <twaugh@redhat.com> 0.0.8-3
cvsdist 9a41fa7
- Don't fetch entities over the network.
cvsdist 9a41fa7
cvsdist fdcca16
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 0.0.8-2
cvsdist fdcca16
- Rebuild in new environment.
cvsdist fdcca16
cvsdist c8e26f6
* Tue Feb 12 2002 Tim Waugh <twaugh@redhat.com> 0.0.8-1
cvsdist c8e26f6
- 0.0.8.
cvsdist c8e26f6
cvsdist c8e26f6
* Fri Jan 25 2002 Tim Waugh <twaugh@redhat.com> 0.0.7-2
cvsdist c8e26f6
- Require the DocBook DTDs.
cvsdist c8e26f6
cvsdist c8e26f6
* Mon Jan 21 2002 Tim Waugh <twaugh@redhat.com> 0.0.7-1
cvsdist c8e26f6
- 0.0.7 (bug #58624, bug #58625).
cvsdist c8e26f6
cvsdist c8e26f6
* Wed Jan 16 2002 Tim Waugh <twaugh@redhat.com> 0.0.6-1
cvsdist c8e26f6
- 0.0.6.
cvsdist c8e26f6
cvsdist c8e26f6
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.0.5-4
cvsdist c8e26f6
- automated rebuild
cvsdist c8e26f6
cvsdist c8e26f6
* Wed Jan  9 2002 Tim Waugh <twaugh@redhat.com> 0.0.5-3
cvsdist c8e26f6
- 0.0.6pre2.
cvsdist c8e26f6
cvsdist c8e26f6
* Wed Jan  9 2002 Tim Waugh <twaugh@redhat.com> 0.0.5-2
cvsdist c8e26f6
- 0.0.6pre1.
cvsdist c8e26f6
cvsdist c8e26f6
* Tue Jan  8 2002 Tim Waugh <twaugh@redhat.com> 0.0.5-1
cvsdist c8e26f6
- 0.0.5.
cvsdist c8e26f6
cvsdist c8e26f6
* Mon Dec 17 2001 Tim Waugh <twaugh@redhat.com> 0.0.4-2
cvsdist c8e26f6
- 0.0.4.
cvsdist c8e26f6
- Apply patch from CVS to fix silly typos.
cvsdist c8e26f6
cvsdist c8e26f6
* Sat Dec  8 2001 Tim Waugh <twaugh@redhat.com> 0.0.3-1
cvsdist c8e26f6
- 0.0.3.
cvsdist c8e26f6
cvsdist c8e26f6
* Wed Dec  5 2001 Tim Waugh <twaugh@redhat.com>
cvsdist c8e26f6
- Built for Red Hat Linux.
cvsdist c8e26f6
cvsdist c8e26f6
* Fri Nov 23 2001 Tim Waugh <twaugh@redhat.com>
cvsdist c8e26f6
- Initial spec file.