debian/0000755000000000000000000000000011725726443007201 5ustar debian/README.Debian0000644000000000000000000000204611706755417011246 0ustar gnuchess-book - Opening book for gnuchess The opening book has been split from the binary gnuchess package. The format of the binary book is now entirely architecture independent and not bound to change with every new version of gnuchess. If you want to build your own books, just create it from PGN [1] by calling gnuchess and entering 'book add foobar.pgn'. If you want to use this as the default opening book, copy the resulting book.bin file to /usr/share/games/gnuchess/book.bin. If you only want to use your own book temporarily, put it in the current working directory, this is the first default location where gnuchess looks for the book. Lukas Geyer Wed Oct 9 19:02:54 EDT 2002 [1] Actually, you have to use a sort of restricted PGN, as gnuchess does not yet have a real PGN parser. This means in particular that the PGN should have no comments and variations. Also gnuchess does only add games to the opening book if it knows one of the players, i.e. it checks the names of the players against a hardcoded list of grandmasters. debian/compat0000644000000000000000000000000211706543514010372 0ustar 9 debian/rules0000755000000000000000000000236011725726442010261 0ustar #! /usr/bin/make -f SHELL = /bin/bash VERSION = 1.02 PGNBOOK := book_$(VERSION).pgn %: dh $@ override_dh_auto_build: dh_testdir $(PGNBOOK) # Spam only if stdout is a tty @ if /usr/bin/tty -s 0>&1; then ( \ echo "---------------------------------------------------------------"; \ echo "Building book, this may take some time. There will be a counter"; \ echo "running to keep you entertained. The PGN file seems to contain "; \ echo -n "`grep -c '^\[White' $(PGNBOOK) 2> /dev/null` games. " ; \ echo "The actual count will probably be a little less" ; \ echo "because gnuchess only accepts games played by some hardcoded" ; \ echo "list of players." ; \ echo "---------------------------------------------------------------"; \ /usr/games/gnuchess --addbook $(PGNBOOK) ); \ else ( \ echo "Building book."; \ /usr/games/gnuchess --addbook $(PGNBOOK) &> /dev/null ); \ fi get-orig-source: wget http://ftp.gnu.org/pub/gnu/chess/$(PGNBOOK).gz gunzip $(PGNBOOK).gz mkdir gnuchess-book-$(VERSION) mv $(PGNBOOK) gnuchess-book-$(VERSION) tar czf gnuchess-book_$(VERSION).orig.tar.gz gnuchess-book-$(VERSION) rm -rf gnuchess-book-$(VERSION)/ debian/watch0000644000000000000000000000007611702053201010211 0ustar version=3 http://ftp.gnu.org/gnu/chess/book_(\d\.\d\d).pgn.gz debian/gnuchess-book.install0000644000000000000000000000004311706756152013334 0ustar book.bin /usr/share/games/gnuchess debian/clean0000644000000000000000000000001111706755757010207 0ustar book.bin debian/copyright0000644000000000000000000000170611706756231011135 0ustar This is the opening book of gnuchess. It used to be distributed together with gnuchess up to version 5.02. The Debian package was prepared by Lukas Geyer Upstream location of the book is ftp://ftp.gnu.org/pub/gnu/chess/book_1.02.pgn.gz This opening book is in the public domain. It was put together and cleaned up by Stuart Cracraft and Simon Waters . Stuart wrote the following in email, when asked about copyright. I personally built the GNU Chess book from a large set of FREE game collections from the University of Pittsburgh chess server. These are NOT copyrighted and are PUBLIC. I also wrote the code for the GNU Chess book without any reference at all to any other author. It is GNU Chess code and PUBLIC book that is non-copyrightable. --Stuart Note that all the code is in gnuchess, so this package itself is purely public domain. Lukas Geyer debian/source/0000755000000000000000000000000011725464266010503 5ustar debian/source/format0000644000000000000000000000001411706543664011710 0ustar 3.0 (quilt) debian/control0000644000000000000000000000141111725465553010603 0ustar Source: gnuchess-book Section: games Priority: optional Maintainer: Oliver Korff Uploaders: Vincent Legout Build-Depends: debhelper (>= 9) Build-Depends-Indep: gnuchess (>= 6.0.2) Standards-Version: 3.9.3 Homepage: http://www.gnu.org/software/chess/ Vcs-Git: git://git.debian.org/git/collab-maint/gnuchess-book.git Vcs-Browser: http://git.debian.org/?p=collab-maint/gnuchess-book.git Package: gnuchess-book Architecture: all Depends: ${misc:Depends}, gnuchess (>= 6.0.2) Description: Opening book for gnuchess This is the opening book for gnuchess. It was formerly distributed together with gnuchess, now it has been separated due to size and architecture-independence. It is recommended that you install it if you want to use gnuchess. debian/changelog0000644000000000000000000000314611725726241011053 0ustar gnuchess-book (1.02-1) unstable; urgency=low * New upstream release * New maintainers: Oliver Korff and Vincent Legout * Use 3.0 (quilt) format * Update debhelper compatibility to 9 - Update debian/compat and debhelper Build-Depends * debian/rules: Use dh - Use gnuchess new --addbook option to build the book - Add debian/clean and debian/gnuchess.install - Add get-orig-source target * debian/control: - Add ${misc:Depends} - Standards-Version 3.9.3 (No changes needed) - Depends on gnuchess (>= 6.0.2) - Update Vcs-* fields * README.Debian: the book file has been renamed book.bin * debian/copyright: update upstream location -- Vincent Legout Wed, 07 Mar 2012 19:44:47 +0100 gnuchess-book (1.01-2) unstable; urgency=low * Actually add watch file. -- Bradley Smith Mon, 01 Jun 2009 01:50:50 +0100 gnuchess-book (1.01-1) unstable; urgency=low * New upstream release. * New maintainer. Closes: #503525. * Update compat version to 7 and upgrade debhelper depenency to (>= 7). * Update Standards-Version to 3.8.0. (No changes). * Add Homepage field. * Add Vcs-* fields. * Add watch file. -- Bradley Smith Sun, 26 Oct 2008 20:17:23 +0000 gnuchess-book (1.00-2) unstable; urgency=low * Require bash for debian/rules, because we are using echo -e. (closes: #264430) -- Lukas Geyer Wed, 11 Aug 2004 22:15:04 -0400 gnuchess-book (1.00-1) unstable; urgency=low * Initial release (closes: #163455) -- Lukas Geyer Wed, 9 Oct 2002 19:53:27 -0400