new release 0.0.24, basic support for docbook->epub conversion, use backend extensions by default (--noextensions) to disable it

This commit is contained in:
Ondřej Vašík 2011-07-14 13:47:19 +02:00
parent d3c593e015
commit f95a953e88
4 changed files with 10 additions and 51 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
xmlto-0.0.23.tar.bz2 xmlto-0.0.23.tar.bz2
/xmlto-0.0.24.tar.bz2

View File

@ -1 +1 @@
3001d6bb2bbc2c8f6c2301f05120f074 xmlto-0.0.23.tar.bz2 9d45bbe43f7c66c6bf585ba6635df31a xmlto-0.0.24.tar.bz2

View File

@ -1,45 +0,0 @@
diff -urNp xmlto-0.0.23-orig/format/fo/dvi xmlto-0.0.23/format/fo/dvi
--- xmlto-0.0.23-orig/format/fo/dvi 2009-09-18 12:06:23.000000000 +0200
+++ xmlto-0.0.23/format/fo/dvi 2009-10-13 14:08:46.000000000 +0200
@@ -13,7 +13,10 @@ post-process)
fi
# Work around stupid tetex bug with '_' in filenames
# Also work around stupid tetex limitation with long lines (bug #101055)
- sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
+ # and workaround passivetex limitation for chapter titles starting with L
+ # (#526273)
+ sed -e "s,/>,/>\n,g" \
+ -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
OUT=output
TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
export TEXINPUTS
diff -urNp xmlto-0.0.23-orig/format/fo/pdf xmlto-0.0.23/format/fo/pdf
--- xmlto-0.0.23-orig/format/fo/pdf 2009-09-18 12:06:23.000000000 +0200
+++ xmlto-0.0.23/format/fo/pdf 2009-10-13 14:09:08.000000000 +0200
@@ -15,7 +15,10 @@ DEFAULT|DBLATEX)
fi
# Work around stupid tetex bug with '_' in filenames
# Also work around stupid tetex limitation with long lines (bug #101055)
- sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
+ # and workaround passivetex limitation for chapter titles starting with L
+ # (#526273)
+ sed -e "s,/>,/>\n,g" \
+ -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
OUT=output
TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
export TEXINPUTS
diff -urNp xmlto-0.0.23-orig/format/fo/ps xmlto-0.0.23/format/fo/ps
--- xmlto-0.0.23-orig/format/fo/ps 2009-03-17 17:39:52.000000000 +0100
+++ xmlto-0.0.23/format/fo/ps 2009-10-13 14:01:39.000000000 +0200
@@ -10,7 +10,10 @@ DEFAULT|DBLATEX)
fi
# Work around stupid tetex bug with '_' in filenames
# Also work around stupid tetex limitation with long lines (bug #101055)
- sed -e "s,/>,\n/>,g" "$XSLT_PROCESSED" >tmp.fo
+ # and workaround passivetex limitation for chapter titles starting with L
+ # (#526273)
+ sed -e "s,/>,/>\n,g" \
+ -e "s,block>,&\n,g" "$XSLT_PROCESSED" >tmp.fo
OUT=output
TEXINPUTS="$(dirname "$INPUT_FILE")::$SEARCHPATH"
export TEXINPUTS

View File

@ -1,7 +1,7 @@
Summary: A tool for converting XML files to various formats Summary: A tool for converting XML files to various formats
Name: xmlto Name: xmlto
Version: 0.0.23 Version: 0.0.24
Release: 4%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
#Older versions up to xmlto-0.0.20 #Older versions up to xmlto-0.0.20
@ -17,12 +17,11 @@ BuildRequires: libxslt
BuildRequires: util-linux, flex BuildRequires: util-linux, flex
# We rely heavily on the DocBook XSL stylesheets! # We rely heavily on the DocBook XSL stylesheets!
Requires: docbook-xsl >= 1.56.0 Requires: docbook-xsl >= 1.74.2
Requires: text-www-browser Requires: text-www-browser
Requires: libxslt Requires: libxslt
Requires: docbook-dtds Requires: docbook-dtds
Requires: util-linux, flex Requires: util-linux, flex
Patch1: xmlto-0.0.23-Lchapterpassivetex.patch
%description %description
This is a package for converting XML files to various formats using XSL This is a package for converting XML files to various formats using XSL
@ -59,7 +58,6 @@ xhtml1 source format.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%configure BASH=/bin/bash %configure BASH=/bin/bash
@ -101,6 +99,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Jul 14 2011 Ondrej Vasik <ovasik@redhat.com> - 0.0.24-1
- new release 0.0.24, basic support for docbook->epub
conversion, use backend extensions by default
(--noextensions) to disable it
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.23-4 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild