--- qprint-1.0.dfsg.2.orig/debian/changelog
+++ qprint-1.0.dfsg.2/debian/changelog
@@ -0,0 +1,22 @@
+qprint (1.0.dfsg.2-2) unstable; urgency=low
+
+  * debian/README.source added.
+  * Added source lintian override file.
+  [unera]
+  * Fixed debian/rules:clean (rm -f config.log), closes lintian warning.
+
+ -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sun, 30 Nov 2008 23:50:06 +0200
+
+qprint (1.0.dfsg.2-1) unstable; urgency=low
+
+  * Re-added unneeded, but DFSG-free files to upstream tarball.
+  * debian/copyright:
+    - Stated what files and why were removed from pristine tarball.
+
+ -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Tue, 25 Nov 2008 00:10:02 +0200
+
+qprint (1.0.dfsg-1) unstable; urgency=low
+
+  * Initial release. (Closes: #506461)
+
+ -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sat, 22 Nov 2008 00:17:22 +0200
--- qprint-1.0.dfsg.2.orig/debian/compat
+++ qprint-1.0.dfsg.2/debian/compat
@@ -0,0 +1 @@
+7
--- qprint-1.0.dfsg.2.orig/debian/qprint.manpages
+++ qprint-1.0.dfsg.2/debian/qprint.manpages
@@ -0,0 +1 @@
+qprint.1
--- qprint-1.0.dfsg.2.orig/debian/qprint.install
+++ qprint-1.0.dfsg.2/debian/qprint.install
@@ -0,0 +1 @@
+qprint usr/bin
--- qprint-1.0.dfsg.2.orig/debian/copyright
+++ qprint-1.0.dfsg.2/debian/copyright
@@ -0,0 +1,21 @@
+This package was debianized by Eugene V. Lyubimkin <jackyf.devel@gmail.com> on
+Sun, 22 Nov 2008 01:12:49 +0200.
+
+It was downloaded from http://www.fourmilab.ch/webtools/qprint/
+
+Upstream Author:
+
+    John Walker (http://www.fourmilab.ch/)
+
+License:
+
+    Public Domain
+
+This package builds from repackaged tar.gz.
+Files that were removed:
+ - rfc1251.*, that contain portions of RFC1251 under non-DFSG license (see
+   http://wiki.debian.org/NonFreeIETFDocuments);
+ - qprint.exe, Win32 PE binary.
+
+The Debian packaging is (C) 2008, Eugene V. Lyubimkin <jackyf.devel@gmail.com>
+and is licensed under the GPLv3, see `/usr/share/common-licenses/GPL-3'.
--- qprint-1.0.dfsg.2.orig/debian/README.source
+++ qprint-1.0.dfsg.2/debian/README.source
@@ -0,0 +1,10 @@
+This Debian package builds from modified sources due to several files present
+in upstream tar.gz which don't satisfy Debian Free Software Guidelines.
+
+Files that were removed:
+ - rfc1251.*, that contain portions of RFC1251 under non-DFSG license (see
+   http://wiki.debian.org/NonFreeIETFDocuments);
+ - qprint.exe, Win32 PE binary.
+
+--
+Eugene V. Lyubimkin
--- qprint-1.0.dfsg.2.orig/debian/rules
+++ qprint-1.0.dfsg.2/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+
+%:
+	dh $@
+
+clean:
+	rm -f qprint config.h Makefile \
+		config.log config.cache config.status
+	dh clean
+
+build: build-stamp
+build-stamp:
+	dh build --before dh_auto_build
+	rm -f Makefile
+	gcc $(CFLAGS) qprint.c getopt.c -o qprint
+	dh build --after dh_auto_build
+	touch build-stamp
+
+binary-arch: build
+	dh binary-arch
+	
+binary: binary-arch binary-indep
+.PHONY: binary binary-arch build clean
--- qprint-1.0.dfsg.2.orig/debian/qprint-doc.install
+++ qprint-1.0.dfsg.2/debian/qprint-doc.install
@@ -0,0 +1,3 @@
+index.html usr/share/doc/qprint-doc
+logo.gif usr/share/doc/qprint-doc
+qprint.pdf usr/share/doc/qprint-doc
--- qprint-1.0.dfsg.2.orig/debian/watch
+++ qprint-1.0.dfsg.2/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\.dfsg.*// \
+	http://www.fourmilab.ch/webtools/qprint/ qprint-(.*)\.tar.gz
--- qprint-1.0.dfsg.2.orig/debian/qprint.docs
+++ qprint-1.0.dfsg.2/debian/qprint.docs
@@ -0,0 +1 @@
+README
--- qprint-1.0.dfsg.2.orig/debian/qprint.dirs
+++ qprint-1.0.dfsg.2/debian/qprint.dirs
@@ -0,0 +1 @@
+usr/bin
--- qprint-1.0.dfsg.2.orig/debian/control
+++ qprint-1.0.dfsg.2/debian/control
@@ -0,0 +1,27 @@
+Source: qprint
+Section: utils
+Priority: optional
+Build-Depends: debhelper (>= 7)
+Maintainer: Eugene V. Lyubimkin <jackyf.devel@gmail.com>
+Standards-Version: 3.8.0
+Homepage: http://www.fourmilab.ch/webtools/qprint/
+
+Package: qprint
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: encoder and decoder for quoted-printable encoding
+ Qprint is a command-line program that can encode or decode files from/to
+ quoted-printable encoding (RFC1521). It can work with both text and binary
+ data.
+
+Package: qprint-doc
+Architecture: all
+Section: doc
+Suggests: qprint (>= ${binary:Version})
+Description: qprint quoted-printable encoder/decoder (documentation)
+ Qprint is a command-line program that can encode or decode files from/to
+ quoted-printable encoding (RFC1521). It can work with both text and binary
+ data.
+ .
+ This package contains documentation for quoted-printable encoding and qprint
+ program in PDF format and html version of qprint manual page.
--- qprint-1.0.dfsg.2.orig/debian/source.lintian-overrides
+++ qprint-1.0.dfsg.2/debian/source.lintian-overrides
@@ -0,0 +1 @@
+qprint source: debhelper-but-no-misc-depends qprint-doc
--- qprint-1.0.dfsg.2.orig/debian/qprint-doc.dirs
+++ qprint-1.0.dfsg.2/debian/qprint-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/qprint-doc
