--- gnome-mastermind-0.3.1.orig/debian/install
+++ gnome-mastermind-0.3.1/debian/install
@@ -0,0 +1 @@
+icons/32x32/gnome-mastermind.xpm usr/share/pixmaps/
--- gnome-mastermind-0.3.1.orig/debian/watch
+++ gnome-mastermind-0.3.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://download.gna.org/gnome-mastermind/gnome-mastermind-(.*)\.tar\.gz
--- gnome-mastermind-0.3.1.orig/debian/control
+++ gnome-mastermind-0.3.1/debian/control
@@ -0,0 +1,13 @@
+Source: gnome-mastermind
+Section: games
+Priority: optional
+Maintainer: Bart Martens <bartm@debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, imagemagick, pkg-config (>= 0.9.0), libglib2.0-dev (>= 2.8.0), libgtk2.0-dev (>= 2.8.0), libgconf2-dev (>= 2.0.0), libxml-parser-perl, gnome-doc-utils (>= 0.3.2)
+Standards-Version: 3.7.3
+Homepage: http://www.autistici.org/gnome-mastermind/
+
+Package: gnome-mastermind
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Mastermind (TM) clone for GNOME Desktop
+ The goal of this board game is to break a code using obscure hints.
--- gnome-mastermind-0.3.1.orig/debian/menu
+++ gnome-mastermind-0.3.1/debian/menu
@@ -0,0 +1,4 @@
+?package(gnome-mastermind):needs="X11" section="Games/Board"\
+  longtitle="break the code using obscure hints"\
+  icon="gnome-mastermind.xpm"\
+  title="gnome-mastermind" command="/usr/games/gnome-mastermind"
--- gnome-mastermind-0.3.1.orig/debian/compat
+++ gnome-mastermind-0.3.1/debian/compat
@@ -0,0 +1 @@
+5
--- gnome-mastermind-0.3.1.orig/debian/rules
+++ gnome-mastermind-0.3.1/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_INSTALL_DOCS_ALL = TODO
+DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --bindir=/usr/games
+
+CRUFT = \
+	gnome-doc-utils.make \
+	help/fr/gnome-mastermind.xml \
+	help/fr/legal.xml \
+	help/it/gnome-mastermind.xml \
+	help/it/legal.xml \
+	help/id/gnome-mastermind.xml \
+	help/id/legal.xml \
+
+update-config::
+	[ -e icons/32x32/gnome-mastermind.xpm ] || \
+	convert -resize 32x32  icons/32x32/gnome-mastermind.png icons/32x32/gnome-mastermind.xpm
+	for f in $(CRUFT) ; do [ -e $$f.d-r-orig ] || cp -p $$f $$f.d-r-orig ; done
+
+reverse-config::
+	rm -f icons/32x32/gnome-mastermind.xpm
+
+clean::
+	for f in $(CRUFT) ; do [ ! -e $$f.d-r-orig ] || mv $$f.d-r-orig $$f ; done
+	#for f in $(CRUFT) ; do cp -p ../orig/*/$$f $$f ; done
+
--- gnome-mastermind-0.3.1.orig/debian/changelog
+++ gnome-mastermind-0.3.1/debian/changelog
@@ -0,0 +1,25 @@
+gnome-mastermind (0.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/copyright: Updated.
+
+ -- Bart Martens <bartm@debian.org>  Sat, 26 Apr 2008 17:19:23 +0200
+
+gnome-mastermind (0.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/02_dfsg.1.diff, debian/README.Debian-source: Removed.
+  * debian/copyright: Updated.
+
+ -- Bart Martens <bartm@knars.be>  Thu, 31 May 2007 06:55:19 +0200
+
+gnome-mastermind (0.2+dfsg.1-1) unstable; urgency=low
+
+  * Initial package in Debian.  Closes: #422424.  This package was requested
+    by Filippo Argiolas <filippo.argiolas@gmail.com>.
+  * debian/README.Debian-source: Documents how the .orig.tar.gz was made.
+  * debian/patches/02_dfsg.1.diff: Added.  This patch contains the changes
+    that are needed because of the repackaged .orig.tar.gz file.
+
+ -- Bart Martens <bartm@knars.be>  Sat, 12 May 2007 08:59:49 +0200
+
--- gnome-mastermind-0.3.1.orig/debian/copyright
+++ gnome-mastermind-0.3.1/debian/copyright
@@ -0,0 +1,91 @@
+This package was debianized by Bart Martens <bartm@knars.be> on
+Sat, 12 May 2007 08:59:49 +0200.
+
+It was downloaded from: http://autistici.org/gnome-mastermind/
+
+Upstream authors: 
+
+    Filippo Argiolas <filippo.argiolas@gmail.com>
+    Ulisse Perusin <uli.peru@gmail.com>
+
+Copyright: 
+
+    Copyright (c) 2007-2008 Filippo Argiolas
+    Copyright (c) 1971 Invicta Plastics, Ltd. UK
+    Copyright (C) 2007 Thilo Pfennig
+    Copyright (C) 2004-2005 Shaun McCance <shaunm@gnome.org>
+
+License:
+
+    This package 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 package 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 package; 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'.
+
+The Debian packaging is
+Copyright (C) 2007, Bart Martens <bartm@knars.be>
+and is licensed under the GPL, see above.
+
+The upstream author writes:
+
+    Mastermind afaik (just a quick search on google) is a registered
+    trademark of Pressman Toy Corporation, by agreement with Invicta Toys
+    and Games, Ltd., UK or at least it was since 2004.
+    If it is wrong at the moment please let me know since i didn't find
+    better informations.  Filippo Argiolas
+
+Copyright of artwork of this game:
+
+    GNOME Mastermind icon set is designed by Ulisse Perusin <uli.peru@gmail.com>
+    and is
+    Copyright (C) 2007 by Ulisse Perusin <uli.peru@gmail.com>
+
+    Tileset:
+    - tango.svg and tango2.svg are designed by Ulisse Perusin and are
+      Copyright (C) 2007 by Ulisse Perusin <uli.peru@gmail.com>
+    - simple.svg and star.svg are designed by Filippo Argiolas and are
+      Copyright (C) 2007 Filippo Argiolas
+    - fruit.svg is designed by Sean Wilson and is
+      Copyright (C) 2007 Sean Wilson
+
+License of artwork of this game:
+
+    This package 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; version 2 of the License.
+ 
+    This package 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 package; 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 version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The files in the directory named "help" have this license information:
+
+           Permission is granted to copy, distribute and/or modify this
+           document under the terms of the GNU Free Documentation
+           License (GFDL), Version 1.1 or any later version published
+           by the Free Software Foundation with no Invariant Sections,
+           no Front-Cover Texts, and no Back-Cover Texts.
+
+On Debian systems, the complete text of the GNU Free Documentation License
+can be found in `/usr/share/common-licenses/GFDL'.
+
--- gnome-mastermind-0.3.1.orig/debian/patches/01_docs.diff
+++ gnome-mastermind-0.3.1/debian/patches/01_docs.diff
@@ -0,0 +1,17 @@
+--- ../orig/gnome-mastermind-0.3.1/Makefile.in	2008-04-26 12:58:10.000000000 +0200
++++ Makefile.in	2008-04-26 17:36:44.000000000 +0200
+@@ -268,13 +268,7 @@
+ 	         intltool-update \
+ 		 gnome-doc-utils.make 
+ 
+-pkgdata_DATA = AUTHORS    \
+-	   	BUGS       \
+-	COPYING    \
+-	copyright  \
+-	copyright-artwork \
+-	NEWS       \
+-	README     \
++pkgdata_DATA = \
+ 	TODO       
+ 
+ ACLOCAL_AMFLAGS = -I m4
