--- tdl-1.5.2.orig/debian/control
+++ tdl-1.5.2/debian/control
@@ -0,0 +1,16 @@
+Source: tdl
+Section: utils
+Priority: extra
+Maintainer: Pedro Zorzenon Neto <pzn@debian.org>
+Build-Depends: debhelper (>> 4.0.0), libreadline-dev
+Standards-Version: 3.7.3
+Homepage: http://www.rc0.org.uk/tdl/
+
+Package: tdl
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: To-do list manager
+ tdl is a lightweight program for managing a 'to-do' list of pending
+ jobs that you have. It is command line driven.
+ .
+ You can see a screenshot at tdl homepage.
--- tdl-1.5.2.orig/debian/docs
+++ tdl-1.5.2/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- tdl-1.5.2.orig/debian/dirs
+++ tdl-1.5.2/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
--- tdl-1.5.2.orig/debian/copyright
+++ tdl-1.5.2/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Graeme Mathieson <mathie@wossname.org.uk> on
+Mon, 4 Feb 2002 04:08:57 +0000.
+
+It was downloaded from http://www.rc0.org.uk/tdl/
+
+Copyright (C) 2001-2004 Richard P. Curnow
+
+ 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.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL
--- tdl-1.5.2.orig/debian/menu
+++ tdl-1.5.2/debian/menu
@@ -0,0 +1,5 @@
+?package(tdl): \
+ needs="text" \
+ section="Applications/Project Management" \
+ title="Tdl" \
+ command="/usr/bin/tdl"
--- tdl-1.5.2.orig/debian/postrm
+++ tdl-1.5.2/debian/postrm
@@ -0,0 +1,13 @@
+#! /bin/sh
+# postrm script for tdl
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- tdl-1.5.2.orig/debian/compat
+++ tdl-1.5.2/debian/compat
@@ -0,0 +1 @@
+4
--- tdl-1.5.2.orig/debian/changelog
+++ tdl-1.5.2/debian/changelog
@@ -0,0 +1,57 @@
+tdl (1.5.2-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "replacing libreadline5-dev build dependency with libreadline-dev":
+ remove libreadline5-dev alternative build dependency, leaves only
+ libreadline-dev (closes: #553863).
+
+ -- gregor herrmann <gregoa@debian.org> Sat, 17 Sep 2011 14:30:51 +0200
+
+tdl (1.5.2-3) unstable; urgency=low
+
+ * fixed bug that shows one more level of information than user requested.
+ Closes: #364083
+ * abort program (and also removes lockfile) if running interactively and
+ tried to access the database file, but the file was not created before.
+ Closes: #410271
+ * removed reference from info page that does not exist. Closes: #423135
+ * implemented functions to handle symlinks. Closes: #473512
+ * some packaging fixes and updated standards version
+ * moved menu from Apps/Tools to Applications/Project Management to comply
+ with the current menu policy
+ * all above fixes were made by me, and a patch was sent to upstream author.
+
+ -- Pedro Zorzenon Neto <pzn@debian.org> Mon, 21 Apr 2008 18:52:53 -0300
+
+tdl (1.5.2-2) unstable; urgency=low
+
+ * Replace Build-Depends of libreadline4-dev to libreadline5-dev.
+ (Closes: #326291)
+
+ -- Pedro Zorzenon Neto <pzn@debian.org> Tue, 11 Oct 2005 12:41:50 -0300
+
+tdl (1.5.2-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #223457)
+
+ -- Pedro Zorzenon Neto <pzn@debian.org> Tue, 8 Jun 2004 17:18:59 -0300
+
+tdl (1.4.1-2) unstable; urgency=low
+
+ * Added an menu entry. (dh_installmenu)
+
+ -- Pedro Zorzenon Neto <pzn@debian.org> Sun, 1 Jun 2003 09:04:25 -0300
+
+tdl (1.4.1-1) unstable; urgency=low
+
+ * New upstream version. (Closes: #182554)
+
+ * Keep old permission of database file (Closes: #192707)
+
+ -- Pedro Zorzenon Neto <pzn@debian.org> Thu, 15 May 2003 17:07:12 -0300
+
+tdl (1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Graeme Mathieson <mathie@wossname.org.uk> Mon, 4 Feb 2002 04:14:57 +0000
--- tdl-1.5.2.orig/debian/rules
+++ tdl-1.5.2/debian/rules
@@ -0,0 +1,110 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ #./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+ #./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/tdl.sgml > tdl.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tdl.
+# $(MAKE) install prefix=$(CURDIR)/debian/tdl/usr
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tdl
+
+
+# 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_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- tdl-1.5.2.orig/debian/postinst
+++ tdl-1.5.2/debian/postinst
@@ -0,0 +1,13 @@
+#! /bin/sh
+# postinst script for tdl
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0