--- aewan-1.0.01.orig/debian/rules
+++ aewan-1.0.01/debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+
+# 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
+
+config.status: configure
+ dh_testdir
+ ./configure CFLAGS="$(CFLAGS)" --prefix=/usr --mandir=/usr/share/man
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/aewan
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs CHANGELOG
+ dh_installdocs
+ # install the overrides
+ mkdir -p debian/aewan/usr/share/lintian/overrides/
+ cp debian/aewan.lintian_overrides \
+ debian/aewan/usr/share/lintian/overrides/aewan
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- aewan-1.0.01.orig/debian/aewan.lintian_overrides
+++ aewan-1.0.01/debian/aewan.lintian_overrides
@@ -0,0 +1,2 @@
+# this is ok since it's an acronym
+aewan: description-synopsis-starts-with-a-capital-letter
--- aewan-1.0.01.orig/debian/control
+++ aewan-1.0.01/debian/control
@@ -0,0 +1,16 @@
+Source: aewan
+Section: text
+Priority: extra
+Maintainer: Robert Lemmen <robertle@semistable.com>
+Build-Depends: debhelper (>= 7.0.0), libncurses5-dev, zlib1g-dev
+Standards-Version: 3.8.1
+
+Package: aewan
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: ASCII-art Editor Without A Name
+ aewan is an ASCII art editor with support for multiple layers that can be
+ edited individually, colors, rectangular copy and paste, and intelligent
+ horizontal and vertical flipping (converts '\' to '/', etc). It produces
+ both stand-alone art files and an easy-to-parse format for integration
+ into your terminal applications.
--- aewan-1.0.01.orig/debian/menu
+++ aewan-1.0.01/debian/menu
@@ -0,0 +1,2 @@
+?package(aewan):needs="text" section="Apps/Graphics" \
+ title="Aewan" command="/usr/bin/aewan"
--- aewan-1.0.01.orig/debian/docs
+++ aewan-1.0.01/debian/docs
@@ -0,0 +1 @@
+README
--- aewan-1.0.01.orig/debian/changelog
+++ aewan-1.0.01/debian/changelog
@@ -0,0 +1,53 @@
+aewan (1.0.01-3) unstable; urgency=low
+
+ * use sensible-editor instead of vi by default (closes: #505462)
+
+ -- Robert Lemmen <robertle@semistable.com> Thu, 12 Mar 2009 19:06:55 +0000
+
+aewan (1.0.01-2) unstable; urgency=low
+
+ * Fixed at problem that could make aewan crash on 64-bit archs
+ (closes: #332288)
+ * Fixed watch file (closes: #450136)
+
+ -- Robert Lemmen <robertle@semistable.com> Tue, 31 Jan 2006 12:51:33 +0200
+
+aewan (1.0.01-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Robert Lemmen <robertle@semistable.com> Sun, 2 Oct 2005 16:55:03 +0200
+
+aewan (0.9.6-1) unstable; urgency=low
+
+ * New upstream release (closes: #295982)
+
+ -- Robert Lemmen <robertle@semistable.com> Sat, 19 Feb 2005 18:57:42 +0100
+
+aewan (0.9.5-1) unstable; urgency=low
+
+ * New upstream release with a menu and XHTML output
+
+ -- Robert Lemmen <robertle@semistable.com> Sat, 19 Feb 2005 15:18:50 +0100
+
+aewan (0.9.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * fixed package description to be more comprehensible
+ * priority is now "extra"
+ * fixed $(DESTDIR) handling in Makefile
+
+ -- Robert Lemmen <robertle@semistable.com> Mon, 15 Nov 2004 15:19:17 +0100
+
+aewan (0.9.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Robert Lemmen <robertle@semistable.com> Wed, 4 Aug 2004 15:39:35 +0200
+
+aewan (0.8.7-1) unstable; urgency=low
+
+ * Initial release. (closes: #244682)
+
+ -- Robert Lemmen <robertle@semistable.com> Tue, 18 May 2004 18:12:48 +0200
+
--- aewan-1.0.01.orig/debian/compat
+++ aewan-1.0.01/debian/compat
@@ -0,0 +1 @@
+7
--- aewan-1.0.01.orig/debian/watch
+++ aewan-1.0.01/debian/watch
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+version=2
+http://sf.net/aewan/ aewan-(.*)\.tar\.gz
--- aewan-1.0.01.orig/debian/copyright
+++ aewan-1.0.01/debian/copyright
@@ -0,0 +1,16 @@
+This package was debianized by Robert Lemmen <robertle@semistable.com> on
+Tue, 18 May 2004 18:12:48 +0200.
+
+It was downloaded from http://aewan.sourceforge.net/
+
+Upstream Author: Bruno Takahashi C. de Oliveira <btco@linux.ime.usp.br>
+
+Copyright: 2004 Bruno Takahashi C. de Oliveira
+
+ 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.
+
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in the file `/usr/share/common-licenses/GPL-2.