--- libhtml-format-perl-2.04.orig/debian/copyright
+++ libhtml-format-perl-2.04/debian/copyright
@@ -0,0 +1,30 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Author: Gisle Aas <gisle@ActiveState.com>,
+ Sean M. Burke <sburke@cpan.org>
+Packaged-By: Michael Alan Dorman <mdorman@debian.org>
+Original-Source-Location: http://search.cpan.org/dist/HTML-Format/
+Original-Source-Command: uscan --force-download
+Original-Source-Depends: devscripts
+
+Files: *
+Copyright: © 2002-2004 Sean M. Burke. All rights reserved.
+           © 1995-2002 Gisle Aas
+License: Artistic | GPL-1+
+ This library is free software; you can redistribute it and/or modify it under
+ the same terms as Perl itself.
+
+Files: debian/*
+Copyright: © 2008 Debian Perl Group <debian-perl@lists.debian.org>
+           © 2004 Jay Bonci <jaybonci@debian.org>
+           © 2003 Hans Freitag <hafre@debian.org>
+           © 2000 Michael Alan Dorman <mdorman@debian.org>
+License: other
+ It is being assumed that all maintainers did choose a license compatible with
+ the license used by upstream
+
+Perl is distributed under either the Artistic licence or the GPL.
+
+The full text of the GPL is available on Debian systems in
+/usr/share/common-licenses/GPL. The full text of the Artistic Licence is
+available on Debian systems in /usr/share/common-licenses/Artistic.
+
--- libhtml-format-perl-2.04.orig/debian/rules
+++ libhtml-format-perl-2.04/debian/rules
@@ -0,0 +1,57 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	rm -vf test.ps test.rtf
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- libhtml-format-perl-2.04.orig/debian/compat
+++ libhtml-format-perl-2.04/debian/compat
@@ -0,0 +1 @@
+5
--- libhtml-format-perl-2.04.orig/debian/control
+++ libhtml-format-perl-2.04/debian/control
@@ -0,0 +1,32 @@
+Source: libhtml-format-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Jay Bonci <jaybonci@debian.org>, Martín Ferrari <tincho@debian.org>
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>= 5.6.0-16), libhtml-tree-perl (>= 3.15),
+ libfont-afm-perl (>= 1.17)
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/HTML-Format/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhtml-format-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-format-perl/
+
+Package: libhtml-format-perl
+Section: perl
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}, libhtml-tree-perl (>= 3.15),
+ libfont-afm-perl (>= 1.17)
+Description: format HTML syntax trees into text, PostScript or RTF
+ The modules present in this package are:
+ .
+   HTML::Formatter - Base class for various formatters. Formatters
+         traverse a syntax tree and produce some textual output. None
+         of the current formatters handle tables or forms yet.
+ .
+   HTML::FormatText - Formatter that converts a syntax tree to plain
+         readable text.
+ .
+   HTML::FormatPS - Formatter that outputs PostScript code.
+ .
+   HTML::FormatRTF - Formatter that outputs Microsofts RTF Format.
--- libhtml-format-perl-2.04.orig/debian/changelog
+++ libhtml-format-perl-2.04/debian/changelog
@@ -0,0 +1,76 @@
+libhtml-format-perl (2.04-2) unstable; urgency=low
+
+  [ gregor herrmann ]
+  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
+    field (source stanza); Homepage field (source stanza).
+  * Set Maintainer to Debian Perl Group.
+  * Use dist-based URL in debian/watch.
+  * debian/rules: delete /usr/lib/perl5 only if it exists.
+
+  [ Damyan Ivanov ]
+  * redo debian/rules from dh-make-perl template
+
+  [ Martín Ferrari ]
+  * debian/copyright: new format, updated info.
+  * debian/control:
+    - Updated DH version to 5.
+    - Bumped Standards-Version to 3.7.3 (no changes).
+    - Added myself to Uploaders.
+    - Correctly segregated Build-Depends(|-Indep).
+    - Improved short description.
+  * debian/watch: added by-author URL, as there's a nameclash currently.
+  * debian/rules: updated from templates again :).
+  * debian/rules: remove files created during tests.
+
+ -- Martín Ferrari <tincho@debian.org>  Fri, 23 May 2008 09:23:14 -0300
+
+libhtml-format-perl (2.04-1) unstable; urgency=low
+
+  * New Maintainer (Closes: #274130)
+  * New Upstream Version
+  * Close outstanding NMUs (Closes: #195093, #190459, #198527, #157594)
+  * Changed section from interpreters to perl
+  * Added versioned build-dep on debhelper 4
+  * Adds debian/compat file per debhelper best practices
+  * Adds build-dep on perl, per policy
+  * Updated copyright file
+  * Fixes URL in copyright file
+  * Bumped standards-version to 3.6.1 (no other changes)
+  * Updated to my standard rules template
+  * Added Build-Deps on Deps so test suite can run
+
+ -- Jay Bonci <jaybonci@debian.org>  Wed,  6 Oct 2004 03:13:53 -0400
+
+libhtml-format-perl (2.03-0.1) unstable; urgency=low
+
+  * Non Maintainer upload
+  * updated depencies (libhtml-tree-perl (>= 3.15), libfont-afm-perl (>=
+    1.17))
+  * rm -rf debian/libhtml-format-perl/usr/share/perl5/auto/
+    in debian/rules
+  * New Standards Version 3.5.10
+  * Changed install path of the modules from /usr/lib/perl5 to
+    /usr/share/perl5 because the modules are architecture independent
+  * New upstream release (closes: #195093)
+  * Added Build-Depends-Indep: debhelper to control (closes: #190459)
+  * Added links to Copyright / Distribution Licence to copyright 
+    (closes: #157594)
+
+ -- Hans Freitag <hafre@debian.org>  Sun, 22 Jun 2003 13:39:19 +0200
+
+libhtml-format-perl (1.23-1) frozen unstable; urgency=low
+
+  * New upstream release
+
+ -- Michael Alan Dorman <mdorman@debian.org>  Mon,  9 Oct 2000 10:33:10 -0400
+
+libhtml-format-perl (1.22-1) frozen unstable; urgency=low
+
+  * Split from libhtml-tree-perl.  Fixes grave bug, please install in frozen (closes: bug#55859)
+
+ -- Michael Alan Dorman <mdorman@debian.org>  Sun, 23 Jan 2000 16:21:08 -0500
+
+Local variables:
+mode: debian-changelog
+user-mail-address: "mdorman@debian.org"
+End:
--- libhtml-format-perl-2.04.orig/debian/watch
+++ libhtml-format-perl-2.04/debian/watch
@@ -0,0 +1,5 @@
+version=3
+http://search.cpan.org/dist/HTML-Format/ .*/HTML-Format-v?(\d[\d_.]+)\.tar\.gz$
+
+# Until RT#36120 is fixed
+http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/HTML-Format-v?(\d.+)\.tar\.gz
