--- gmchess-0.20.2.orig/debian/menu +++ gmchess-0.20.2/debian/menu @@ -0,0 +1,2 @@ +?package(gmchess):needs="X11" section="Games/Simulation"\ + title="gmChess" command="/usr/games/gmchess" --- gmchess-0.20.2.orig/debian/copyright +++ gmchess-0.20.2/debian/copyright @@ -0,0 +1,104 @@ +This package was debianized by Aron Xu on +Sat, 15 Aug 2009 22:11:04 +0800. + +It was downloaded from + +Upstream Authors: + + lerosua + xihes + +Copyright: + + Copyright (C) 2009 lerosua & xihes + +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 version 2 for more details. + + You should have received a copy of the GNU General Public License + version 2 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 Debian packaging is copyright 2009, Aron Xu and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +------------------------------------------------------------------------------- + +data/book.dat, +data/wood/bg.png, +data/wood/black_advisor.png, +data/wood/black_bishop.png, +data/wood/black_cannon.png, +data/wood/black_king_die.png, +data/wood/black_king.png, +data/wood/black_knight.png, +data/wood/black_pawn.png, +data/wood/black_rook.png, +data/wood/null.png, +data/wood/red_advisor.png, +data/wood/red_bishop.png, +data/wood/red_cannon.png, +data/wood/red_king_die.png, +data/wood/red_king.png, +data/wood/red_pawn.png, +data/wood/red_rook.png, +data/wood/select.png, +data/sound/choose.wav, +data/sound/eat.wav, +data/soundmove.wav, +src/engine/base2.h, +src/engine/base.h, +src/engine/book.cpp, +src/engine/book.h, +src/engine/cchess.cpp, +src/engine/cchess.h, +src/engine/ecco.h, +src/engine/eleeye.cpp, +src/engine/evaluate.cpp, +src/engine/genmoves.cpp, +src/engine/hash.cpp, +src/engine/hash.h, +src/engine/movesort.cpp, +src/engine/movesort.h, +src/engine/parse.h, +src/engine/pgnfile.cpp, +src/engine/pgnfile.h, +src/engine/pipe.cpp, +src/engine/pipe.h, +src/engine/position.cpp, +src/engine/preeval.cpp, +src/engine/preeval.h, +src/engine/pregen.cpp, +src/engine/pregen.h, +src/engine/rc4prng.h, +src/engine/search.cpp, +src/engine/search.h, +src/engine/ucci.cpp, +src/engine/ucci.h, +src/engine/x86asm.h, +src/engine/xqffile.h: LGPL (v2.1 or later) + Copyright: 2008 禄脝鲁驴 + +------------------------------------------------------------------------------- + +data/gmchess.png: GPL (v2 or later) + Copyright: 2009 TG + +------------------------------------------------------------------------------- + +data/p1.png, +data/p2.png: GPL (v2 or later) + Copyright: 2009 脌卯脧猫 pengkelee@gmail.com + --- gmchess-0.20.2.orig/debian/clean +++ gmchess-0.20.2/debian/clean @@ -0,0 +1,2 @@ +config.guess +config.sub --- gmchess-0.20.2.orig/debian/docs +++ gmchess-0.20.2/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- gmchess-0.20.2.orig/debian/control +++ gmchess-0.20.2/debian/control @@ -0,0 +1,18 @@ +Source: gmchess +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Aron Xu +Build-Depends: debhelper (>= 7), autotools-dev, intltool (>= 0.35.0), gettext, perl (>= 5.8.1), libxml2, libglademm-2.4-dev (>= 2.6.0), libtool +Standards-Version: 3.8.2 +Homepage: http://code.google.com/p/gmchess/ + +Package: gmchess +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A Chinese chess game (Xiangqi) + gmChess can let you play Chinese chess (Xiangqi) with human + or computer, read many chess manual and improve your skill. + . + Chinese chess (Xiangqi) is one of the most popular chess + games originated in China. --- gmchess-0.20.2.orig/debian/rules +++ gmchess-0.20.2/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# 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) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + + + +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 $(CROSS) --prefix=/usr --bindir=/usr/games --datarootdir=/usr/share --libdir=/usr/lib/libeval CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/gmchess.sgml > gmchess.1 + + 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 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/gmchess. + $(MAKE) DESTDIR=$(CURDIR)/debian/gmchess install + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman doc/convert_pgn.6.in doc/eleeye_engine.6.in doc/gmchess.6.in + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gmchess-0.20.2.orig/debian/changelog +++ gmchess-0.20.2/debian/changelog @@ -0,0 +1,5 @@ +gmchess (0.20.2-0ubuntu1) karmic; urgency=low + + * Initial release (closes: bug#527040) + + -- Aron Xu Sat, 22 Aug 2009 21:40:25 +0800 --- gmchess-0.20.2.orig/debian/compat +++ gmchess-0.20.2/debian/compat @@ -0,0 +1 @@ +7 --- gmchess-0.20.2.orig/debian/dirs +++ gmchess-0.20.2/debian/dirs @@ -0,0 +1 @@ +usr/games/ --- gmchess-0.20.2.orig/debian/watch +++ gmchess-0.20.2/debian/watch @@ -0,0 +1,8 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 +http://code.google.com/p/gmchess/downloads/list .*/gmchess-*\.*(.*)\.tar\.bz2