--- wmpuzzle-0.5.0.orig/debian/changelog
+++ wmpuzzle-0.5.0/debian/changelog
@@ -0,0 +1,102 @@
+wmpuzzle (0.5.0-3) unstable; urgency=low
+
+  * Fixed watch file, closes: #450352.
+  * Updated standards version.
+
+ -- Martin A. Godisch <godisch@debian.org>  Tue, 11 Dec 2007 19:02:10 +0100
+
+wmpuzzle (0.5.0-2) unstable; urgency=low
+
+  * Debian maintenance release.
+  * Fixed timestamps.
+  * Fixed clean target.
+  * Updated standards version.
+
+ -- Martin A. Godisch <godisch@debian.org>  Sat, 03 Nov 2007 10:49:38 +0100
+
+wmpuzzle (0.5.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Acknowledging NMU, thanks to Marc Brockschmidt, closes: #346961.
+  * Added source xpm files to Debian package.
+  * Added watch file.
+  * Fixed menu file.
+  * Fixed POSIX compliance of debian/rules.
+  * Updated standards version.
+  * Updated FSF addresse.
+
+ -- Martin A. Godisch <godisch@debian.org>  Sun, 16 Apr 2006 10:28:40 +0200
+
+wmpuzzle (0.4.0-1.1) unstable; urgency=low
+
+  * Non-maitnainer upload to help xlibs-dev transition.
+  * debian/control: Replaced xlibs-dev build-dep. (Closes: #346961)
+
+ -- Marc 'HE' Brockschmidt <he@debian.org>  Thu, 19 Jan 2006 23:57:14 +0100
+
+wmpuzzle (0.4.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Martin A. Godisch <godisch@debian.org>  Thu, 01 May 2003 12:40:20 +0200
+
+wmpuzzle (0.3.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Martin A. Godisch <godisch@debian.org>  Mon, 24 Mar 2003 17:37:35 +0100
+
+wmpuzzle (0.2.1-3) unstable; urgency=low
+
+  * Re-added lost debian/watch.
+  * Updated package description.
+  * Updated standards version.
+
+ -- Martin A. Godisch <godisch@debian.org>  Tue, 11 Mar 2003 00:56:53 +0100
+
+wmpuzzle (0.2.1-2) unstable; urgency=low
+
+  * Fixed update-menus in debian/postinst and debian/postrm.
+
+ -- Martin A. Godisch <godisch@debian.org>  Sat, 01 Mar 2003 11:22:10 +0100
+
+wmpuzzle (0.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed build-dependency on debhelper.
+  * Updated Debian standards version.
+  * Updated maintainer email address.
+
+ -- Martin A. Godisch <godisch@debian.org>  Fri, 21 Feb 2003 09:20:25 +0100
+
+wmpuzzle (0.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated debian directory.
+
+ -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Mon, 21 Oct 2002 22:29:43 +0200
+
+wmpuzzle (0.1.1-2) unstable; urgency=medium
+
+  * Fixed bindir /usr/bin -> /usr/games (closes: #143926).
+
+ -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Mon, 22 Apr 2002 08:41:40 +0200
+
+wmpuzzle (0.1.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Added debian/compat, debian/watch; updated debian/rules.
+
+ -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Wed, 17 Apr 2002 19:09:33 +0200
+
+wmpuzzle (0.1.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Thu, 14 Mar 2002 19:01:21 +0100
+
+wmpuzzle (0.0.2-1) unstable; urgency=low
+
+  * Initial release (closes: #137729).
+
+ -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Sun, 10 Mar 2002 18:32:16 +0100
--- wmpuzzle-0.5.0.orig/debian/control
+++ wmpuzzle-0.5.0/debian/control
@@ -0,0 +1,16 @@
+Source: wmpuzzle
+Section: games
+Priority: optional
+Maintainer: Martin A. Godisch <godisch@debian.org>
+Build-Depends: libx11-dev, libxext-dev, libxpm-dev
+Standards-Version: 3.7.3
+
+Package: wmpuzzle
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: wmaker | afterstep
+Description: WindowMaker dock app 4x4 puzzle
+ wmpuzzle provides a 4x4 puzzle on a 64x64 mini window. You can puzzle any
+ XPM image you wish. wmpuzzle is designed to work with the WindowMaker dock,
+ but will work with other window managers as well. wmpuzzle's upstream
+ homepage can be found at http://people.debian.org/~godisch/wmpuzzle/.
--- wmpuzzle-0.5.0.orig/debian/copyright
+++ wmpuzzle-0.5.0/debian/copyright
@@ -0,0 +1,21 @@
+This is wmpuzzle, written by Martin A. Godisch <martin@godisch.de>. The
+source code can be found at http://www.godisch.de/debian/wmpuzzle/.
+
+Copyright (c) 2002-2006 Martin A. Godisch <martin@godisch.de>.
+
+  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 GNU/Linux systems, the complete text of the GNU General Public
+License can be found in '/usr/share/common-licenses/GPL'.
--- wmpuzzle-0.5.0.orig/debian/menu
+++ wmpuzzle-0.5.0/debian/menu
@@ -0,0 +1,2 @@
+?package(wmpuzzle):needs="X11" section="Games/Puzzles" \
+  title="wmpuzzle" command="/usr/games/wmpuzzle"
--- wmpuzzle-0.5.0.orig/debian/postinst
+++ wmpuzzle-0.5.0/debian/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /usr/bin/update-menus -a "$1" = configure ]; then
+	update-menus
+fi
+
+exit 0
--- wmpuzzle-0.5.0.orig/debian/postrm
+++ wmpuzzle-0.5.0/debian/postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /usr/bin/update-menus ]; then
+	update-menus
+fi
+
+exit 0
--- wmpuzzle-0.5.0.orig/debian/rules
+++ wmpuzzle-0.5.0/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+# $Id: rules,v 1.21 2007/11/03 09:53:08 godisch Exp $
+
+BUILDDIR = debian/wmpuzzle
+DEBDIR   = $(BUILDDIR)/DEBIAN
+DOCDIR   = $(BUILDDIR)/usr/share/doc/wmpuzzle
+testdir  = test -f src/wmpuzzle.c && test -f debian/rules
+testroot = test x`whoami` = xroot
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+	CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
+else
+	CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+export CFLAGS
+
+clean:
+	$(testdir)
+	rm -f build debian/files debian/substvars
+	[ ! -f src/Makefile ] || $(MAKE) -C src distclean
+	rm -rf debian/wmpuzzle
+
+build:
+	$(testdir)
+	cd src && ./configure $(CONFFLAGS) --prefix=/usr --bindir=/usr/games --mandir=/usr/share/man
+	$(MAKE) -C src
+	touch build
+
+binary: binary-arch
+
+binary-indep:
+
+binary-arch: build
+	$(testdir)
+	$(testroot)
+	rm -rf debian/wmpuzle
+
+	$(MAKE) -C src install DESTDIR=$(CURDIR)/debian/wmpuzzle
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	strip -R .comment -R .note $(BUILDDIR)/usr/games/wmpuzzle
+endif
+	gzip -9 $(BUILDDIR)/usr/share/man/man6/wmpuzzle.6
+	install -D -p -o root -g root -m 0644 debian/menu $(BUILDDIR)/usr/share/menu/wmpuzzle
+
+	install -D -p -o root -g root -m 0644 CHANGES $(DOCDIR)/changelog
+	install -D -p -o root -g root -m 0644 CHANGES $(DOCDIR)/changelog
+	install -D -p -o root -g root -m 0644 debian/changelog $(DOCDIR)/changelog.Debian
+	install    -p -o root -g root -m 0644 README debian/copyright $(DOCDIR)
+	install -d -p -o root -g root -m 0755 $(DOCDIR)/puzzles
+	install    -p -o root -g root -m 0644 src/*.xpm $(DOCDIR)/puzzles
+	gzip -9 $(DOCDIR)/changelog*
+
+	install -d -p -o root -g root -m 0755 $(DEBDIR)
+	install    -p -o root -g root -m 0644 debian/control $(DEBDIR)
+	install    -p -o root -g root -m 0755 debian/postinst debian/postrm $(DEBDIR)
+	cd $(BUILDDIR) && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums
+	chmod 0644 $(DEBDIR)/md5sums
+
+	dpkg-shlibdeps $(BUILDDIR)/usr/games/wmpuzzle
+	dpkg-gencontrol -isp -pwmpuzzle -P$(BUILDDIR)
+	dpkg --build $(BUILDDIR) ..
+
+.PHONY: clean binary binary-indep binary-arch
--- wmpuzzle-0.5.0.orig/debian/watch
+++ wmpuzzle-0.5.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://people.debian.org/~godisch/wmpuzzle/wmpuzzle-(.*)\.tar\.gz debian
