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