--- docbook2odf-0.244.orig/debian/docbook2odf.install
+++ docbook2odf-0.244/debian/docbook2odf.install
@@ -0,0 +1,4 @@
+utils/docbook2odf /usr/bin
+bindings/desktop/docbook2odf.desktop /usr/share/applications
+xsl/ /usr/share/docbook2odf
+examples/ /usr/share/doc/docbook2odf/
--- docbook2odf-0.244.orig/debian/changelog
+++ docbook2odf-0.244/debian/changelog
@@ -0,0 +1,21 @@
+docbook2odf (0.244-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * switch dependency from libxml-sablot-perl (now gone) to
+    libxml-libxslt-perl (Closes: #541610)
+
+ -- Stefano Zacchiroli <zack@debian.org>  Thu, 31 Dec 2009 10:07:57 +0100
+
+docbook2odf (0.244-1) unstable; urgency=low
+
+  * New upstream release
+  * Add perlmagick to depends (Closes: #431542) 
+
+ -- Alexander Wirt <formorer@debian.org>  Mon, 06 Aug 2007 06:52:35 +0200
+
+docbook2odf (0.211-1) unstable; urgency=low
+
+  * Initial release (Closes: #424842)
+
+ -- Alexander Wirt <formorer@debian.org>  Thu, 17 May 2007 11:54:57 +0200
+
--- docbook2odf-0.244.orig/debian/compat
+++ docbook2odf-0.244/debian/compat
@@ -0,0 +1 @@
+5
--- docbook2odf-0.244.orig/debian/rules
+++ docbook2odf-0.244/debian/rules
@@ -0,0 +1,110 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp patch
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#$(MAKE)
+	#docbook-to-man debian/docbook2odf.sgml > docbook2odf.1
+
+	touch $@
+
+clean: clean1 unpatch
+clean1:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	#-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/docbook2odf.
+	#$(MAKE) DESTDIR=$(CURDIR)/debian/docbook2odf install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples 
+	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman docs/docbook2odf.1
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	dpatch cat-all >patch-stamp
+	touch patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+.PHONY: build clean binary-indep binary-arch binary install configure
--- docbook2odf-0.244.orig/debian/copyright
+++ docbook2odf-0.244/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Alexander Wirt <formorer@debian.org> on
+Thu, 17 May 2007 11:54:57 +0200.
+
+It was downloaded from http://open.comsultia.com/docbook2odf/
+
+Upstream Author: Roman Fordinal
+    
+Copyright: 
+
+    Copyright (C) 2006 Roman Fordinal
+
+License:
+
+    This program is free software; you can redistribute it and/or
+    modify it under the terms of the GNU General Public License
+    as published by the Free Software Foundation; either version 2
+    of the License, or (at your option) any later version.
+    
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+On Debian systems, the complete text of the GNU General Public
+License, can be found in /usr/share/common-licenses/GPL.
+
+The Debian packaging is (C) 2007, Alexander Wirt <formorer@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- docbook2odf-0.244.orig/debian/dirs
+++ docbook2odf-0.244/debian/dirs
@@ -0,0 +1,4 @@
+usr/bin
+usr/sbin
+usr/share/docbook2odf
+usr/share/applications
--- docbook2odf-0.244.orig/debian/control
+++ docbook2odf-0.244/debian/control
@@ -0,0 +1,15 @@
+Source: docbook2odf
+Section: text
+Priority: extra
+Maintainer: Alexander Wirt <formorer@debian.org>
+Build-Depends: debhelper (>= 5), dpatch
+Standards-Version: 3.7.2
+
+Package: docbook2odf
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libarchive-zip-perl, libxml-libxslt-perl, zip, perlmagick
+Description: XSLT based conversions from docbook to Oasis Open Document (openoffice.org)
+ toolkit that automaticaly converts DocBook to OASIS OpenDocument (ODF, the ISO
+ standardized format used for texts, spreadsheets and presentations).
+ Conversion is based on a XSLT which makes it easy to convert DocBook->ODF,
+ ODT, ODS and ODP as all these documents are XML based.
--- docbook2odf-0.244.orig/debian/patches/00list
+++ docbook2odf-0.244/debian/patches/00list
@@ -0,0 +1 @@
+fix-manpage.dpatch
--- docbook2odf-0.244.orig/debian/patches/fix-manpage.dpatch
+++ docbook2odf-0.244/debian/patches/fix-manpage.dpatch
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-manpage.dpatch by Alexander Wirt <formorer@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad docbook2odf-0.211~/docs/docbook2odf.1 docbook2odf-0.211/docs/docbook2odf.1
+--- docbook2odf-0.211~/docs/docbook2odf.1	2007-05-17 12:28:16.000000000 +0200
++++ docbook2odf-0.211/docs/docbook2odf.1	2007-05-17 12:31:28.000000000 +0200
+@@ -7,7 +7,7 @@
+ .SH DESCRIPTION
+ Docbook2odf is a toolkit that automaticaly converts DocBook to OASIS OpenDocument. Conversion is based on a XSLT which makes it easy to convert DocBook\->ODF, ODT, ODS and ODP as all these documents are XML based.
+ .PP
+-The result is provided in a one zipped ODF file \(.odt/.odp/.ods\) with all required content. There are group of utilities like docbook2odt, docbook2ods and docbook2odp as docbook2odf is actually universally converting to these respective formats.
++The result is provided in a one zipped ODF file (.odt/.odp/.ods) with all required content. There are group of utilities like docbook2odt, docbook2ods and docbook2odp as docbook2odf is actually universally converting to these respective formats.
+ .SH OPTIONS
+ .TP
+ \-V
+@@ -31,4 +31,4 @@
+ \-\-help
+ prints short help.
+ .SH AUTHOR
+-Roman Fordinal (fordinal (at) webcom.sk)
+\ No newline at end of file
++Roman Fordinal (fordinal (at) webcom.sk)
