diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4d78e77 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +trader (7.0-1) unstable; urgency=low + + * Initial release of the Debian version of Star Traders, a simple game + of interstellar trading. + + -- John Zaitseff Tue, 26 Jul 2011 11:51:56 +1000 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1b6ace8 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: trader +Section: games +Priority: optional +Maintainer: John Zaitseff +Build-Depends: debhelper (>= 7), quilt, libncursesw5-dev +Standards-Version: 3.9.2 +Homepage: http://www.zap.org.au/software/trader/ +Vcs-Svn: http://svn.zap.org.au/svn/trader/unix/trunk/ +Vcs-Browser: http://www.zap.org.au/viewvc/trader/trunk/ + +Package: trader +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: a simple game of interstellar trading + Star Traders is a simple game of interstellar trading, where the + objective is to create companies, buy and sell shares, borrow and repay + money, in order to become the wealthiest player (the winner). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..61c6986 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +This package was Debianised by John Zaitseff , who +also wrote the original package. It was downloaded from: + + http://www.zap.org.au/software/trader/ + +Copyright: + + Copyright (C) 1990-2011, John Zaitseff. + +License: + + Star Traders is free software that is distributed under the terms of + the GNU General Public License. You can redistribute it and/or modify + it under the terms of that License as published by the Free Software + Foundation, either version 3 or (at your option) any later version. + + This game 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 in the file COPYING for more details. + +Debian packaging: + + Copyright (C) 2011, John Zaitseff. + + The Debian packaging is licensed under the GNU General Public License, + version 3 or later, as referenced in /usr/share/common-licenses/GPL-3. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..94eb01a --- /dev/null +++ b/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +# debian/rules: Create the Debian package for Star Traders +# Copyright (C) 2011, John Zaitseff + + +# Uncomment the following line for verbose Debhelper mode +#export DH_VERBOSE=1 + +STAMP_PATCH ?= debian/stamp-patch +STAMP_BUILD ?= debian/stamp-build + +CFLAGS = -g -Wall + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif + + +default: binary + + +# Include the quilt targets "patch" and "unpatch" +include /usr/share/quilt/quilt.make + + +build: $(STAMP_BUILD) +$(STAMP_BUILD): patch + dh_testdir + dh_auto_configure + dh_auto_build -- CFLAGS="$(CFLAGS)" + touch $(STAMP_BUILD) + +clean: unpatch + dh_testdir + dh_testroot + dh_auto_clean + rm -f $(STAMP_BUILD) + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_auto_install + +binary: binary-arch binary-indep +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +.PHONY: default build clean install binary binary-arch binary-indep diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/trader.dirs b/debian/trader.dirs new file mode 100644 index 0000000..415f082 --- /dev/null +++ b/debian/trader.dirs @@ -0,0 +1 @@ +/usr/bin diff --git a/debian/trader.docs b/debian/trader.docs new file mode 100644 index 0000000..9eafbe1 --- /dev/null +++ b/debian/trader.docs @@ -0,0 +1,2 @@ +README +NEWS