r3622 - in packages/boswars/trunk: . debian

Cyril Brulebois kibi-guest at alioth.debian.org
Sun Aug 12 14:36:06 UTC 2007


Author: kibi-guest
Date: 2007-08-12 14:36:06 +0000 (Sun, 12 Aug 2007)
New Revision: 3622

Added:
   packages/boswars/trunk/debian/
   packages/boswars/trunk/debian/changelog
   packages/boswars/trunk/debian/compat
   packages/boswars/trunk/debian/control
   packages/boswars/trunk/debian/copyright
   packages/boswars/trunk/debian/docs
   packages/boswars/trunk/debian/manpage.1.ex
   packages/boswars/trunk/debian/menu.ex
   packages/boswars/trunk/debian/rules
   packages/boswars/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/boswars/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/boswars/trunk/debian/changelog
===================================================================
--- packages/boswars/trunk/debian/changelog	                        (rev 0)
+++ packages/boswars/trunk/debian/changelog	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,8 @@
+boswars (2.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #437382).
+  * Note: upstream says both lua5.0 and lua5.1 should be fine, hence the
+    alternative in Build-Depends.
+
+ -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Sun, 12 Aug 2007 09:16:35 +0000
+

Added: packages/boswars/trunk/debian/compat
===================================================================
--- packages/boswars/trunk/debian/compat	                        (rev 0)
+++ packages/boswars/trunk/debian/compat	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1 @@
+5

Added: packages/boswars/trunk/debian/control
===================================================================
--- packages/boswars/trunk/debian/control	                        (rev 0)
+++ packages/boswars/trunk/debian/control	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,28 @@
+Source: boswars
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>
+Build-Depends: debhelper (>= 5), scons, libpng12-dev, libsdl1.2-dev, libvorbis-dev, liblua5.1-0-dev | liblua50-dev, quilt
+Standards-Version: 3.7.2
+
+Package: boswars
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, boswars-data (= ${source:Version})
+Description: futuristic real-time strategy game
+ Bos Wars is a futuristic real-time strategy game. It is possible to play
+ against human opponents over local network (LA), internet, or against the
+ computer.
+ .
+  Homepage: http://www.boswars.org/
+
+Package: boswars-data
+Architecture: all
+Description: futuristic real-time strategy game - data
+ Bos Wars is a futuristic real-time strategy game. It is possible to play
+ against human opponents over local network (LA), internet, or against the
+ computer.
+ .
+ This package includes boswars data.
+ .
+  http://www.boswars.org/

Added: packages/boswars/trunk/debian/copyright
===================================================================
--- packages/boswars/trunk/debian/copyright	                        (rev 0)
+++ packages/boswars/trunk/debian/copyright	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,40 @@
+This package was debianized by unknown <cyri.brulebois at enst-bretagne.fr> on
+Sun, 12 Aug 2007 09:16:35 +0000.
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+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 for more details.
+ 
+    You should have received a copy of the GNU General Public License
+    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 can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, unknown <cyri.brulebois at enst-bretagne.fr> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added: packages/boswars/trunk/debian/docs
===================================================================
--- packages/boswars/trunk/debian/docs	                        (rev 0)
+++ packages/boswars/trunk/debian/docs	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,4 @@
+COPYRIGHT.txt
+LICENSE.txt
+README.txt
+README.txt

Added: packages/boswars/trunk/debian/manpage.1.ex
===================================================================
--- packages/boswars/trunk/debian/manpage.1.ex	                        (rev 0)
+++ packages/boswars/trunk/debian/manpage.1.ex	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,59 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH BOSWARS SECTION "August 12, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+boswars \- program to do something
+.SH SYNOPSIS
+.B boswars
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B boswars
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBboswars\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+boswars was written by <upstream author>.
+.PP
+This manual page was written by unknown <cyri.brulebois at enst-bretagne.fr>,
+for the Debian project (but may be used by others).

Added: packages/boswars/trunk/debian/menu.ex
===================================================================
--- packages/boswars/trunk/debian/menu.ex	                        (rev 0)
+++ packages/boswars/trunk/debian/menu.ex	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,2 @@
+?package(boswars):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
+  title="boswars" command="/usr/bin/boswars"

Added: packages/boswars/trunk/debian/rules
===================================================================
--- packages/boswars/trunk/debian/rules	                        (rev 0)
+++ packages/boswars/trunk/debian/rules	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,141 @@
+#!/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.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+DATA_DIR=/usr/share/games/boswars
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	
+	touch configure-stamp
+
+
+#Architecture 
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp 
+	
+	# Add here commands to compile the arch part of the package.
+	scons CCFLAGS=-DSTRATAGUS_LIB_PATH=\\\"/usr/share/games/boswars\\\"
+	
+	touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp: configure-stamp 
+	
+	# Add here commands to compile the indep part of the package.
+	#$(MAKE) doc
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+	
+	# Add here commands to clean up after the build process.
+	-scons -c
+	-rm build_conf_cache.py
+	-rm build_options.py
+	-rm .sconsign.dblite
+	-rm -rf .sconf_temp
+	-rm config.log
+	
+	dh_clean 
+
+install: install-indep install-arch
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i 
+	dh_installdirs -i
+	
+	# Add here commands to install the indep part of the package
+	install -d debian/boswars-data/$(DATA_DIR)
+	for i in campaigns graphics languages maps scripts sounds units video; do \
+		cp -r $$i debian/boswars-data/$(DATA_DIR); \
+	done
+	
+	install -d debian/boswars/usr/share/doc/html
+	cp -r doc/* debian/boswars/usr/share/doc/html
+	
+	dh_install -i
+
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s 
+	dh_installdirs -s
+	
+	# Add here commands to install the arch part of the package into 
+	# debian/tmp.
+	install -d debian/boswars/usr/games
+	install boswars debian/boswars/usr/games
+	
+	dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGELOG
+	dh_installdocs -XLICENSE.txt -XCOPYRIGHT.txt
+	dh_installexamples
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate	
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+#	dh_perl
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure


Property changes on: packages/boswars/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/boswars/trunk/debian/watch
===================================================================
--- packages/boswars/trunk/debian/watch	                        (rev 0)
+++ packages/boswars/trunk/debian/watch	2007-08-12 14:36:06 UTC (rev 3622)
@@ -0,0 +1,7 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+# <Webpage URL> <string match>
+#http://www.boswars.org/dist/releases/ boswars-(.*)-linux\.tar\.gz
+http://www.boswars.org/download.shtml dist/releases/boswars-([0-9.]*)-src\.tar\.gz
+




More information about the Pkg-games-commits mailing list