--- cl-reversi-1.0.14.orig/debian/README.Debian
+++ cl-reversi-1.0.14/debian/README.Debian
@@ -0,0 +1,6 @@
+To use this package in Debian with your Common Lisp Controller
+enabled Lisp implementation, just give the command
+
+(require :reversi)
+
+to your Lisp implementation
--- cl-reversi-1.0.14.orig/debian/copyright
+++ cl-reversi-1.0.14/debian/copyright
@@ -0,0 +1,125 @@
+This package was debianized by Kevin M. Rosenberg <kmr@debian.org> in
+Oct 2002.
+
+It was downloaded from http://reversi.b9.com/
+Upstream Authors: Kevin Rosenberg & Peter Norvig
+
+
+CL-Reversi's Copyright Statement
+--------------------------------
+
+Copyright (c) 2000-2002 Kevin Rosenberg
+Copyright (c) 1998-2002 Peter Norvig
+
+This code is free software; you can redistribute it and/or modify it
+under the terms of the version 2.1 of the GNU Lesser General Public
+License as published by the Free Software Foundation, as clarified by
+the Franz preamble to the LGPL found in
+http://opensource.franz.com/preamble.html. The preambled is copied below.
+
+This code 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
+Lesser General Public License for more details.
+
+The GNU Lessor General Public License can be found in your Debian file
+system in /usr/share/common-licenses/LGPL-3.
+
+
+
+Peter Norvig's Original Copyright
+---------------------------------
+
+Copyright (c) 1998-2002 by Peter Norvig.
+
+Permission is granted to anyone to use this software, in source or
+object code form, on any computer system, and to modify, compile,
+decompile, run, and redistribute it to anyone else, subject to the
+following restrictions:
+
+   1. The author makes no warranty of any kind, either expressed or
+implied, about the suitability of this software for any purpose.
+
+   2. The author accepts no liability of any kind for damages or other
+consequences of the use of this software, even if they arise from
+defects in the software.
+
+   3. The origin of this software must not be misrepresented, either
+by explicit claim or by omission.
+
+   4. Altered versions must be plainly marked as such, and must not be
+misrepresented as being the original software. Altered versions may be
+distributed in packages under other licenses (such as the GNU
+license).
+
+If you find this software useful, it would be nice if you let me
+(peter@norvig.com) know about it, and nicer still if you send me
+modifications that you are willing to share. However, you are not
+required to do so.
+
+
+
+
+Preamble to the Gnu Lesser General Public License
+-------------------------------------------------
+Copyright (c) 2000 Franz Incorporated, Berkeley, CA 94704
+
+The concept of the GNU Lesser General Public License version 2.1
+("LGPL") has been adopted to govern the use and distribution of
+above-mentioned application. However, the LGPL uses terminology that
+is more appropriate for a program written in C than one written in
+Lisp. Nevertheless, the LGPL can still be applied to a Lisp program if
+certain clarifications are made. This document details those
+clarifications. Accordingly, the license for the open-source Lisp
+applications consists of this document plus the LGPL. Wherever there
+is a conflict between this document and the LGPL, this document takes
+precedence over the LGPL.
+
+A "Library" in Lisp is a collection of Lisp functions, data and
+foreign modules. The form of the Library can be Lisp source code (for
+processing by an interpreter) or object code (usually the result of
+compilation of source code or built with some other
+mechanisms). Foreign modules are object code in a form that can be
+linked into a Lisp executable. When we speak of functions we do so in
+the most general way to include, in addition, methods and unnamed
+functions. Lisp "data" is also a general term that includes the data
+structures resulting from defining Lisp classes. A Lisp application
+may include the same set of Lisp objects as does a Library, but this
+does not mean that the application is necessarily a "work based on the
+Library" it contains.
+
+The Library consists of everything in the distribution file set before
+any modifications are made to the files. If any of the functions or
+classes in the Library are redefined in other files, then those
+redefinitions ARE considered a work based on the Library. If
+additional methods are added to generic functions in the Library,
+those additional methods are NOT considered a work based on the
+Library. If Library classes are subclassed, these subclasses are NOT
+considered a work based on the Library. If the Library is modified to
+explicitly call other functions that are neither part of Lisp itself
+nor an available add-on module to Lisp, then the functions called by
+the modified Library ARE considered a work based on the Library. The
+goal is to ensure that the Library will compile and run without
+getting undefined function errors.
+
+It is permitted to add proprietary source code to the Library, but it
+must be done in a way such that the Library will still run without
+that proprietary code present. Section 5 of the LGPL distinguishes
+between the case of a library being dynamically linked at runtime and
+one being statically linked at build time. Section 5 of the LGPL
+states that the former results in an executable that is a "work that
+uses the Library." Section 5 of the LGPL states that the latter
+results in one that is a "derivative of the Library", which is
+therefore covered by the LGPL. Since Lisp only offers one choice,
+which is to link the Library into an executable at build time, we
+declare that, for the purpose applying the LGPL to the Library, an
+executable that results from linking a "work that uses the Library"
+with the Library is considered a "work that uses the Library" and is
+therefore NOT covered by the LGPL.
+
+Because of this declaration, section 6 of LGPL is not applicable to
+the Library. However, in connection with each distribution of this
+executable, you must also deliver, in accordance with the terms and
+conditions of the LGPL, the source code of Library (or your derivative
+thereof) that is incorporated into this executable.
+
--- cl-reversi-1.0.14.orig/debian/docs
+++ cl-reversi-1.0.14/debian/docs
@@ -0,0 +1,2 @@
+README
+debian/README.Debian
--- cl-reversi-1.0.14.orig/debian/rules
+++ cl-reversi-1.0.14/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+
+pkg		:= reversi
+debpkg		:= cl-reversi
+
+clc-source	:= usr/share/common-lisp/source
+clc-systems	:= usr/share/common-lisp/systems
+clc-files	:= $(clc-source)/$(pkg)
+
+
+build:
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	dh_install $(pkg).asd *.lisp *.dat $(clc-files)
+
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs
+	dh_lisp
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch:
+
+binary: binary-indep
+
+
+.PHONY: build clean binary-indep binary-arch binary install
--- cl-reversi-1.0.14.orig/debian/compat
+++ cl-reversi-1.0.14/debian/compat
@@ -0,0 +1 @@
+7
--- cl-reversi-1.0.14.orig/debian/control
+++ cl-reversi-1.0.14/debian/control
@@ -0,0 +1,19 @@
+Source: cl-reversi
+Section: lisp
+Priority: optional
+Maintainer: Kevin M. Rosenberg <kmr@debian.org>
+Build-Depends-Indep: dh-lisp
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.2.0
+Homepage: http://files.b9.com/reversi/
+Vcs-Git: git://git.b9.com/reversi.git
+Vcs-Browser: http://git.b9.com/?p=reversi.git
+
+Package: cl-reversi
+Architecture: all
+Depends: ${misc:Depends}
+Description: Reversi game for Common Lisp
+ This package is based on Peter Norvig's reversi program in the book
+ Paradigms of Artificial Intelligence. Compared to the code in the book,
+ this package employs significant optimizations and includes a CLIM-based
+ graphical user interface.
--- cl-reversi-1.0.14.orig/debian/changelog
+++ cl-reversi-1.0.14/debian/changelog
@@ -0,0 +1,124 @@
+cl-reversi (1.0.14-4) unstable; urgency=low
+
+  * Build with debhelper extension dh-lisp
+  * control: Add Vcs-Browser field. Fix Depends field.
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 03 Aug 2009 18:53:23 -0600
+
+cl-reversi (1.0.14-3) unstable; urgency=low
+
+  * debian/watch: New file
+  * debian/control: Require debhelper 7. Change to new lisp section.
+  Add Vcs-Git and Homepage fields.
+  * debian/compat: Update to version 7
+  * debian/rules: Update for debhelper 7, architecture-independent build
+  * debian/{prerm,postrm}: Remove path from binary function
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 02 Aug 2009 01:18:23 -0600
+
+cl-reversi (1.0.14-2) unstable; urgency=low
+
+  * debian/rules: don't export DH_COMPAT
+  * debian/control: Use build-depends, update standards-version
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 09 Sep 2007 19:24:59 -0600
+
+cl-reversi (1.0.14-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 15 Jan 2006 11:31:56 -0700
+
+cl-reversi (1.0.13-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sat, 30 Apr 2005 04:10:54 -0600
+
+cl-reversi (1.0.12-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sat, 30 Apr 2005 04:02:37 -0600
+
+cl-reversi (1.0.11-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue,  6 Apr 2004 06:35:33 -0600
+
+cl-reversi (1.0.10-1) unstable; urgency=low
+
+  * Add details of loading Reversi to README file.
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon,  5 Apr 2004 10:41:42 -0600
+
+cl-reversi (1.0.9-1) unstable; urgency=low
+
+  * Change recommends to suggests for cl-reversi-clim (closes:216558)
+  * Minor upstream changes
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 19 Oct 2003 17:14:15 -0600
+
+cl-reversi (1.0.8-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 16 Jun 2003 23:46:53 -0600
+
+cl-reversi (1.0.7-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 12 Jun 2003 07:28:39 -0600
+
+cl-reversi (1.0.6-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 12 Jun 2003 07:08:34 -0600
+
+cl-reversi (1.0.5-1) unstable; urgency=low
+
+  * Improve .asd file
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue,  6 May 2003 10:17:24 -0600
+
+cl-reversi (1.0.4-1) unstable; urgency=low
+
+  * Remove the pusing of :reversi onto *features*
+  * Wrap declaim's in eval-when :compile-toplevel
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue,  6 May 2003 09:42:49 -0600
+
+cl-reversi (1.0.3-1) unstable; urgency=low
+
+  * Add patches for McCLIM
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue,  1 Apr 2003 10:53:43 -0700
+
+cl-reversi (1.0.2-1) unstable; urgency=low
+
+  * io-clim.lisp: Change :mnemonic to :keystroke
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Fri, 8 Nov 2002 00:32:20 -0700
+
+cl-reversi (1.0.1-2) unstable; urgency=low
+
+  * copyright: Add Lessor Lisp preamble
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Tue, 29 Oct 2002 11:08:09 -0700
+
+cl-reversi (1.0.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Add binary package for precompiled clim-based executable
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 27 Oct 2002 14:54:00 -0700
+
+cl-reversi (1.0-1) unstable; urgency=low
+
+  * Initial Release (closes: 166290)
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Fri, 25 Oct 2002 01:20:07 -0600
+
--- cl-reversi-1.0.14.orig/debian/watch
+++ cl-reversi-1.0.14/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://files.b9.com/reversi/reversi-([\d\.]*)\.tar\.gz
