--- udo-6.4.1.orig/debian/dirs
+++ udo-6.4.1/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- udo-6.4.1.orig/debian/docs
+++ udo-6.4.1/debian/docs
@@ -0,0 +1 @@
+README
--- udo-6.4.1.orig/debian/control
+++ udo-6.4.1/debian/control
@@ -0,0 +1,43 @@
+Source: udo
+Section: text
+Priority: optional
+Maintainer: Volker Janzen <douglas@voja.org>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.1
+
+Package: udo
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: universal document - text processing utility
+ UDO is a powerful and multipurpose utility for making documentation or any
+ other text file that is needed in one text format or more. UDO documents can
+ be converted to ASCII, HTML, LaTeX, nroff, PostScript, RTF and many more.
+ Though UDO is powerful, it's quite easy to understand and to use.
+
+Package: udo-doc-en
+Section: doc
+Architecture: all
+Suggests: udo, www-browser, editor
+Replaces: udo-doc
+Description: universal document - English documentation
+ UDO is a powerful and multipurpose utility for making documentation or any
+ other text file that is needed in one text format or more. UDO documents can
+ be converted to ASCII, HTML, LaTeX, nroff, PostScript, RTF and many more.
+ Though UDO is powerful, it's quite easy to understand and to use.
+ .
+ This package provides the complete documentation of UDO in the following
+ formats: HTML, txt, udo 
+
+Package: udo-doc-de
+Section: doc
+Architecture: all
+Suggests: udo, www-browser, editor
+Replaces: udo-doc-ger
+Description: universal document - German documentation
+ UDO is a powerful and multipurpose utility for making documentation or any
+ other text file that is needed in one text format or more. UDO documents can
+ be converted to ASCII, HTML, LaTeX, nroff, PostScript, RTF and many more.
+ Though UDO is powerful, it's quite easy to understand and to use.
+ .
+ This package provides the complete documentation of UDO in the following
+ formats: HTML, txt, udo
--- udo-6.4.1.orig/debian/udo-doc-en.dirs
+++ udo-6.4.1/debian/udo-doc-en.dirs
@@ -0,0 +1,2 @@
+usr/share/doc/udo-doc-en/html
+usr/share/doc/udo-doc-en/udo
--- udo-6.4.1.orig/debian/udo-doc-en.docs
+++ udo-6.4.1/debian/udo-doc-en.docs
@@ -0,0 +1 @@
+debian/tmp/eng/udo.txt
--- udo-6.4.1.orig/debian/rules
+++ udo-6.4.1/debian/rules
@@ -0,0 +1,86 @@
+#!/usr/bin/make -f
+# debian/rules file for udo that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
+
+path=$(shell pwd)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE) -C Source -f Makefile.debian
+
+	mkdir -p debian/tmp
+	mkdir -p debian/tmp/eng
+	Source/udo --nroff -q -o $(path)/debian/tmp/eng/udo.1 $(path)/Guide/eng/manual/manpage.u
+	dh_installman -a $(path)/debian/tmp/eng/udo.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	-$(MAKE) -C Source -f Makefile.debian clean
+
+	rm -rf debian/tmp
+
+	dh_clean
+
+install:
+install: build
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+
+	$(MAKE) -C Source -f Makefile.debian install DESTDIR=$(CURDIR)/debian/udo
+
+# Here udo docs need to be build
+binary-indep: build install
+	mkdir -p debian/tmp/eng/html
+	mkdir -p debian/tmp/eng/html/images
+	mkdir -p debian/tmp/ger
+	mkdir -p debian/tmp/ger/html
+	mkdir -p debian/tmp/ger/html/images
+	Source/udo -a -q -o $(path)/debian/tmp/eng/udo.txt $(path)/Guide/eng/manual/index.u
+	Source/udo -a -q -o $(path)/debian/tmp/ger/udo.txt $(path)/Guide/ger/manual/index.u
+	cp Guide/eng/manual/images/*.gif debian/tmp/eng/html/images/
+	Source/udo --html -q -o $(path)/debian/tmp/eng/html/index.html $(path)/Guide/eng/manual/index.u
+	cp Guide/ger/manual/images/*.gif debian/tmp/ger/html/images/
+	Source/udo --html -q -o $(path)/debian/tmp/ger/html/index.html $(path)/Guide/ger/manual/index.u
+
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installman -i
+	dh_link -i
+	dh_install -i
+	dh_compress -i -X.ui -X.u
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_strip -a
+	dh_link -a
+	dh_install -a
+	dh_compress -a -X.ui -X.u
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- udo-6.4.1.orig/debian/changelog
+++ udo-6.4.1/debian/changelog
@@ -0,0 +1,16 @@
+udo (6.4.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #252711)
+  * Fixed rules file for Debian package build
+  * Package sponsored by joergland
+
+ -- Volker Janzen <douglas@voja.org>  Sat, 02 Oct 2004 16:00:00 +0200
+
+udo (6.2.0-1) unstable; urgency=low
+
+  * Initial Release (Closes: #216221)
+  * Changed README, Makefile and makefile.in for compilation under Debian
+  * Package sponsored by joergland
+
+ -- Volker Janzen <douglas@voja.org>  Tue, 20 Oct 2003 19:00:00 +0200
+
--- udo-6.4.1.orig/debian/udo-doc-de.install
+++ udo-6.4.1/debian/udo-doc-de.install
@@ -0,0 +1,2 @@
+Guide/ger/manual/* usr/share/doc/udo-doc-de/udo/
+debian/tmp/ger/html/* usr/share/doc/udo-doc-de/html/
--- udo-6.4.1.orig/debian/compat
+++ udo-6.4.1/debian/compat
@@ -0,0 +1 @@
+4
--- udo-6.4.1.orig/debian/udo-doc-en.install
+++ udo-6.4.1/debian/udo-doc-en.install
@@ -0,0 +1,2 @@
+Guide/eng/manual/* usr/share/doc/udo-doc-en/udo/
+debian/tmp/eng/html/* usr/share/doc/udo-doc-en/html/
--- udo-6.4.1.orig/debian/copyright
+++ udo-6.4.1/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Volker Janzen <douglas@voja.org> on
+Sun, 19 Oct 2003 19:16:06 +0200.
+
+It was downloaded from http://www.udo-open-source.org/download/
+
+Upstream Authors: Volker Janzen (webmaster@udo-open-source.org), Dirk Hagedorn, and many others
+
+Copyright:
+
+Copyright (c) 1995-2001 by Dirk Hagedorn
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
--- udo-6.4.1.orig/debian/udo-doc-de.dirs
+++ udo-6.4.1/debian/udo-doc-de.dirs
@@ -0,0 +1,2 @@
+usr/share/doc/udo-doc-de/html
+usr/share/doc/udo-doc-de/udo
--- udo-6.4.1.orig/debian/udo-doc-de.docs
+++ udo-6.4.1/debian/udo-doc-de.docs
@@ -0,0 +1 @@
+debian/tmp/ger/udo.txt
