--- zec-0.12.orig/debian/dirs +++ zec-0.12/debian/dirs @@ -0,0 +1,4 @@ +usr/games +usr/share/games/zec +usr/share/doc/zec +usr/share/menu --- zec-0.12.orig/debian/prerm +++ zec-0.12/debian/prerm @@ -0,0 +1,18 @@ +#!/bin/sh -e + +case "$1" in + remove|deconfigure) + ;; + upgrade) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +exit 0 --- zec-0.12.orig/debian/menu +++ zec-0.12/debian/menu @@ -0,0 +1,2 @@ +?package(zec):needs="text" section="Games/Strategy" \ + title="zec" command="/usr/games/zec" --- zec-0.12.orig/debian/rules +++ zec-0.12/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +package=zec + +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 +INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 +INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 + +build: + $(checkdir) + ./configure --prefix=/usr --bindir=/usr/games --mandir=/usr/share/man --datadir=/usr/share/games/zec + $(MAKE) + touch build + +clean: + $(checkdir) + [ ! -f Makefile ] || $(MAKE) distclean + -rm -f build build-static + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core debian/substvars stamp-configure stamp-configure-static config.cache config.status obj obj-static + +binary-indep: checkroot build + $(checkdir) + -rm -rf debian/tmp + $(INSTALL_DIR) debian/tmp + cd debian/tmp && $(INSTALL_DIR) `cat ../dirs` DEBIAN + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + gzip -9frq debian/tmp/usr/share/man/man6/*.6 + + $(INSTALL_SCRIPT) debian/prerm debian/tmp/DEBIAN/prerm + $(INSTALL_SCRIPT) debian/postinst debian/tmp/DEBIAN/postinst + $(INSTALL_SCRIPT) debian/postrm debian/tmp/DEBIAN/postrm + $(INSTALL_FILE) debian/copyright debian/tmp/usr/share/doc/$(package)/copyright + $(INSTALL_FILE) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian + $(INSTALL_FILE) ChangeLog debian/tmp/usr/share/doc/$(package)/changelog + gzip -9frq debian/tmp/usr/share/doc/$(package)/changelog.Debian \ + debian/tmp/usr/share/doc/$(package)/changelog + $(INSTALL_FILE) debian/menu debian/tmp/usr/share/menu/$(package) + + $(INSTALL_FILE) AUTHORS NEWS README debian/tmp/usr/share/doc/$(package) + + cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + + dpkg-gencontrol -isp -p$(package) -Pdebian/tmp + chown -R root.root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +binary-arch: + +define checkdir + test -f debian/rules +endef + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot --- zec-0.12.orig/debian/control +++ zec-0.12/debian/control @@ -0,0 +1,26 @@ +Source: zec +Section: games +Priority: optional +Maintainer: Clint Adams +Standards-Version: 3.8.0 + +Package: zec +Architecture: all +Section: games +Priority: optional +Depends: zsh (>= 4.2.1-9) +Description: Z-Shell Empire client + zec is a client for Empire (http://www.wolfpackempire.com/), + a real time, multiplayer, internet-based game, featuring military, + diplomatic, and economic goals. + . + Currently there are two incarnations of zec: zec, and zecsh. + . + zec itself is a traditional script in the style of pei. While it is not + as full-featured as pei, it does have the advantage of ZLE support. + . + zecsh is an experimental script, intended to be sourced from a running + shell instance, in order to give the user the ability to intersperse + normal shell constructs with Empire commands. + . + At this time, zecsh is considerably less stable than zec. --- zec-0.12.orig/debian/copyright +++ zec-0.12/debian/copyright @@ -0,0 +1,6 @@ +This package was put together by Clint Adams + +Source can currently be obtained from http://sourceforge.net/projects/zec + +zec is distributed under the terms of the GNU GPL v2. +See /usr/share/common-licenses/GPL-2. --- zec-0.12.orig/debian/changelog +++ zec-0.12/debian/changelog @@ -0,0 +1,206 @@ +zec (0.12-1) unstable; urgency=low + + * New upstream release. + * Bump to Standards-Version 3.8.0. + + -- Clint Adams Fri, 14 Nov 2008 18:33:46 -0500 + +zec (0.11.1-3) unstable; urgency=low + + * Bump to Standards-Version 3.7.3. + * Call $(MAKE) distclean instead of $(MAKE) clean, and only do + so if Makefile exists. + + -- Clint Adams Wed, 12 Dec 2007 18:35:24 -0500 + +zec (0.11.1-2) unstable; urgency=low + + * Invoke $(MAKE) instead of make. + + -- Clint Adams Sun, 02 Dec 2007 18:13:19 -0500 + +zec (0.11.1-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams Thu, 3 Nov 2005 13:33:05 -0500 + +zec (0.11.0-1) unstable; urgency=medium + + * New upstream release. + - Add -K option and better error reporting when a country + is in use. closes: #335895. + + -- Clint Adams Wed, 26 Oct 2005 22:07:27 -0400 + +zec (0.10.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Tue, 25 Oct 2005 15:22:24 -0400 + +zec (0.9.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Thu, 13 Oct 2005 13:37:51 -0400 + +zec (0.8.0-2) unstable; urgency=low + + * Bump Standards-Version to 3.6.2. + * Move menu file to /usr/share/menu. + + -- Clint Adams Sat, 6 Aug 2005 11:46:30 -0400 + +zec (0.8.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Sat, 23 Apr 2005 10:14:16 -0400 + +zec (0.7.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Wed, 6 Apr 2005 21:15:12 -0400 + +zec (0.6.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Mon, 1 Nov 2004 15:11:28 -0500 + +zec (0.5.1-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Fri, 29 Oct 2004 10:27:33 -0400 + +zec (0.5.0-2) unstable; urgency=high + + * Tighten dependency on zsh to ensure that exec fd>>(list) + doesn't hang. closes: #278678. + + -- Clint Adams Fri, 29 Oct 2004 10:16:14 -0400 + +zec (0.5.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Thu, 28 Oct 2004 12:01:09 -0400 + +zec (0.4.0-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams Sun, 24 Oct 2004 21:34:55 -0400 + +zec (0.3.3-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams Fri, 15 Oct 2004 20:20:06 -0400 + +zec (0.3.2-1) unstable; urgency=high + + * New upstream release. + - Fixes inability to log into newer Wolfpack servers. + closes: #276233. + + -- Clint Adams Tue, 12 Oct 2004 19:08:46 -0400 + +zec (0.3.1-2) unstable; urgency=low + + * Use zsh (>> 4.1.1-1) rather than zsh-beta. + * Bump to Standards-Version 3.6.1. + * Quote values in menu file. + + -- Clint Adams Tue, 4 May 2004 10:30:53 -0400 + +zec (0.3.1-1) unstable; urgency=low + + * http://www.empire.cx/ doesn't work anymore, so change URL to + http://www.wolfpackempire.com/ . + + -- Clint Adams Mon, 28 Apr 2003 14:19:41 -0400 + +zec (0.3-2) unstable; urgency=low + + * Include md5sums. + + -- Clint Adams Mon, 17 Mar 2003 14:37:27 -0500 + +zec (0.3-1) unstable; urgency=medium + + * Rudimentary alias support. + * Fix jack tool cruft problem. closes: #175551. + + -- Clint Adams Mon, 6 Jan 2003 18:42:16 -0500 + +zec (0.2.4-1) unstable; urgency=low + + * Don't choke on flash telegrams and such. (Thanks to Harry Ford). + + -- Clint Adams Mon, 6 Jan 2003 09:47:20 -0500 + +zec (0.2.3-1) unstable; urgency=low + + * Don't choke on output beginning with hyphens. + + -- Clint Adams Fri, 3 Jan 2003 17:44:46 -0500 + +zec (0.2.2-1) unstable; urgency=low + + * Don't keep blank lines in history. closes: #174725. + + -- Clint Adams Wed, 1 Jan 2003 20:55:27 -0500 + +zec (0.2.1-1) unstable; urgency=medium + + * New version with typo fix. + + -- Clint Adams Tue, 19 Nov 2002 03:41:33 -0500 + +zec (0.2.0-1) unstable; urgency=medium + + * New version with redirection and piping support. + + -- Clint Adams Tue, 19 Nov 2002 01:41:55 -0500 + +zec (0.1.5.0-1) unstable; urgency=low + + * New version with rudimentary ~/.zecrc support. + + -- Clint Adams Fri, 11 Oct 2002 00:07:26 -0400 + +zec (0.1.0.0-2) unstable; urgency=low + + * Update to Standards-Version 3.5.7.0. + * Ditch /usr/doc symlink. + + -- Clint Adams Mon, 2 Sep 2002 22:21:25 -0400 + +zec (0.1.0.0-1) unstable; urgency=low + + * New version, now using automake. + + -- Clint Adams Mon, 10 Jun 2002 03:36:41 -0400 + +zec (0.0.0.0.0+cvs20020606-2) unstable; urgency=medium + + * Change Depends from >> to >=. + + -- Clint Adams Sun, 9 Jun 2002 16:21:22 -0400 + +zec (0.0.0.0.0+cvs20020606-1) unstable; urgency=low + + * New snapshot. + + -- Clint Adams Thu, 6 Jun 2002 14:18:38 -0400 + +zec (0.0.0.0.0+cvs20020604-1) unstable; urgency=low + + * Initial Release. + + -- Clint Adams Tue, 4 Jun 2002 11:56:35 -0400 + --- zec-0.12.orig/debian/README.Debian +++ zec-0.12/debian/README.Debian @@ -0,0 +1,18 @@ +In the absence of useful documentation: + +To invoke zec: + +/usr/games/zec host port country password + + +To invoke zecsh: + +(from a running zsh instance) +source /usr/share/games/zec/zecsh + zec hostname_or_ip tcpportnum country password + +(where M-x is Meta-x) + +You are advised not to run zecsh unless you know what you're doing. + +Clint Adams --- zec-0.12.orig/debian/manpage.sgml +++ zec-0.12/debian/manpage.sgml @@ -0,0 +1,89 @@ +June 9, 2002"> + +]> + + + +
+ schizo@debian.org +
+ + Clint + Adams + + + 2001 + Clint Adams + + &mandate; +
+ + Z-Shell Empire Client + 6 + + + zec + + Empire client for Z-Shell + + + + zec + + host + + port + + country + + representative + + + + DESCRIPTION + + This manual page documents briefly the + zec command. + + zec is a client for the game + Empire. + + For more information about Empire, see http://www.empire.cx . + + + + SEE ALSO + + /usr/share/doc/zec/README.Debian + + + + AUTHOR + + zec was written by Clint Adams schizo@debian.org. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public + License, Version 2, or (at your option) any later version + published by the Free Software Foundation. + + +
+ + --- zec-0.12.orig/debian/postinst +++ zec-0.12/debian/postinst @@ -0,0 +1,20 @@ +#!/bin/sh -e + +case "$1" in + configure) + # continue below + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +if test -x /usr/bin/update-menus ; then update-menus ; fi + +exit 0 --- zec-0.12.orig/debian/postrm +++ zec-0.12/debian/postrm @@ -0,0 +1,3 @@ +#!/bin/sh -e + +if test -x /usr/bin/update-menus ; then update-menus ; fi