--- pegsolitaire-0.0.4.orig/debian/docs
+++ pegsolitaire-0.0.4/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- pegsolitaire-0.0.4.orig/debian/pegsolitaire.install
+++ pegsolitaire-0.0.4/debian/pegsolitaire.install
@@ -0,0 +1,2 @@
+debian/pegsolitaire.desktop usr/share/applications
+src/pixmaps/pegsolitaire-icon.png usr/share/pixmaps/
--- pegsolitaire-0.0.4.orig/debian/pegsolitaire.desktop
+++ pegsolitaire-0.0.4/debian/pegsolitaire.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Peg Solitaire
+GenericName=pegsolitaire
+Comment=Play an educational puzzle game similar to Hi-Q
+Type=Application
+Exec=pegsolitaire
+Icon=pegsolitaire-icon
+Terminal=false
+Categories=Game;LogicGame;
--- pegsolitaire-0.0.4.orig/debian/copyright
+++ pegsolitaire-0.0.4/debian/copyright
@@ -0,0 +1,55 @@
+This package was debianized by Barry deFreese <bddebian@comcast.net> on
+Thu, 01 May 2008 22:48:08 -0400.
+
+It was downloaded from http://www.asselstine.com/pegsolitaire/
+
+Upstream Author: Ben Asselstine <benasselstine@gmail.com>
+
+Copyright: 
+src/pegsolitaire.glade:  Copyright 2007 2008 Ben Asselstine
+src/gridframe.h: Copyright 2004 by Callum McKenzie
+src/gridframe.c: Copyright 2004 by Callum McKenzie
+src/preimage.h:   Copyright 2004 Richard Hoelscher
+src/preimage.c:  Copyright 2004 Richard Hoelscher
+The rest of the files are:
+Copyright 2007 2008 Ben Asselstine
+
+License:
+
+    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 package; 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-2'.
+
+help/pegsolitaire.xml:
+License text taken from help/legal.xml:
+
+    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.
+
+    This manual is part of a collection of GNOME manuals
+    distributed under the GFDL.  If you want to distribute this
+    manual separately from the collection, you can do so by
+    adding a copy of the license to the manual, as described in
+    section 6 of the license.
+
+  On Debian GNU/Linux systems, the complete text of the GNU Free
+  Documentation License can be found in `/usr/share/common-licenses/GFDL'.
+
+The Debian packaging is Copyright (C) 2008, Barry deFreese <bdefreese@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- pegsolitaire-0.0.4.orig/debian/menu
+++ pegsolitaire-0.0.4/debian/menu
@@ -0,0 +1,2 @@
+?package(pegsolitaire):needs="X11" section="Games/Puzzles"\
+  title="pegsolitaire" command="/usr/games/pegsolitaire"
--- pegsolitaire-0.0.4.orig/debian/changelog
+++ pegsolitaire-0.0.4/debian/changelog
@@ -0,0 +1,7 @@
+pegsolitaire (0.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #485128)
+    + Add .desktop file.
+    + Add simple man page.
+
+ -- Barry deFreese <bdefreese@debian.org>  Tue, 07 Apr 2009 12:53:10 -0400
--- pegsolitaire-0.0.4.orig/debian/compat
+++ pegsolitaire-0.0.4/debian/compat
@@ -0,0 +1 @@
+5
--- pegsolitaire-0.0.4.orig/debian/watch
+++ pegsolitaire-0.0.4/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.asselstine.com/pegsolitaire/pegsolitaire-([\d.]+)\.tar\.gz
--- pegsolitaire-0.0.4.orig/debian/pegsolitaire.6
+++ pegsolitaire-0.0.4/debian/pegsolitaire.6
@@ -0,0 +1,69 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH PEGSOLITAIRE "6" "May 2008" "pegsolitaire 0.0.4" "User Commands"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+pegsolitaire \- An education game similar to Hi-Q 
+.SH DESCRIPTION
+This manual page was written for the Debian/Ubuntu distributions
+because the original program does not include them.
+Please see the in-game help menu instead.
+.PP
+\fBpegsolitaire\fP is an educational puzzle game.
+
+The goal of the game is to remove pegs from the board leaving a
+single peg in the centre hole.  Pegs are removed from the board
+by making "jumps".  You can jump over a peg with another peg
+horizontally or vertically (not diagonally!).
+When you jump over a peg, it is removed from the board.
+Multiple jumps with one peg are allowed.
+.SS "Usage:"
+.IP
+pegsolitaire [OPTION...]
+.SS "Help Options:"
+.TP
+\-?, \fB\-\-help\fR
+Show help options
+.TP
+\fB\-\-help\-all\fR
+Show all help options
+.TP
+\fB\-\-help\-gtk\fR
+Show GTK+ Options
+.TP
+\fB\-\-help\-bonobo\-activation\fR
+Show Bonobo Activation options
+.TP
+\fB\-\-help\-gnome\fR
+Show GNOME options
+.TP
+\fB\-\-help\-gnome\-session\fR
+Show session management options
+.SS "Application Options:"
+.TP
+\fB\-x\fR, \fB\-\-x\fR=\fIX\fR
+X location of window
+.TP
+\fB\-y\fR, \fB\-\-y\fR=\fIY\fR
+Y location of window
+.TP
+\fB\-\-display\fR=\fIDISPLAY\fR
+X display to use
+.SH AUTHOR
+pegsolitaire was written by Ben Asselstine.
+.PP
+This manual page was written by Barry deFreese <bddebian@comcast.net>.
+
--- pegsolitaire-0.0.4.orig/debian/rules
+++ pegsolitaire-0.0.4/debian/rules
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# 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)
+
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+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
+	./configure --host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--bindir=\$${prefix}/games \
+		--datadir=\$${prefix}/share/games \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+	rm -f intltool-extract intltool-merge intltool-update
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/pegsolitaire.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/pegsolitaire install
+
+	# Remove extra license file.
+	rm -f $(CURDIR)/debian/pegsolitaire/usr/share/games/doc/pegsolitaire/COPYING
+
+# 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 ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installmenu
+	dh_desktop
+	dh_installman debian/pegsolitaire.6
+	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 
--- pegsolitaire-0.0.4.orig/debian/control
+++ pegsolitaire-0.0.4/debian/control
@@ -0,0 +1,17 @@
+Source: pegsolitaire
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Uploaders: Barry deFreese <bdefreese@debian.org>
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, pkg-config, libgnome2-dev, libxml-parser-perl, libgnomeui-dev, libglade2-dev
+Standards-Version: 3.8.1
+Homepage: http://www.asselstine.com/pegsolitaire/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/pegsolitaire/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/pegsolitaire/?op=log
+
+Package: pegsolitaire
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: An education game similar to Hi-Q
+ The object is to jump pegs until a single peg is left in the 
+ centre of the game board.
