--- simutrans-pak64-100.0.orig/debian/control +++ simutrans-pak64-100.0/debian/control @@ -0,0 +1,23 @@ +Source: simutrans-pak64 +Section: games +Priority: extra +Maintainer: Debian Games Team +Uploaders: Ansgar Burchardt +Build-Depends: debhelper (>= 5), quilt +Build-Depends-Indep: simutrans-makeobj (>= 100.0) +Standards-Version: 3.8.0 +Homepage: http://www.simutrans.com/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/simutrans-pak64/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/simutrans-pak64/?op=log + +Package: simutrans-pak64 +Architecture: all +Depends: ${misc:Depends} +Recommends: simutrans +Description: transportation simulator (data files) + Simutrans is a free transportation simulator: The player operates a + transportation company and has to transport goods and passengers between + factories and different cities. + . + This package contains the PAK64 data set. + --- simutrans-pak64-100.0.orig/debian/compat +++ simutrans-pak64-100.0/debian/compat @@ -0,0 +1 @@ +5 --- simutrans-pak64-100.0.orig/debian/watch +++ simutrans-pak64-100.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/-/./g" http://sf.net/simutrans/(?:simu)?pak64-([0-9].*)\.zip + --- simutrans-pak64-100.0.orig/debian/README.source +++ simutrans-pak64-100.0/debian/README.source @@ -0,0 +1,6 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + --- simutrans-pak64-100.0.orig/debian/changelog +++ simutrans-pak64-100.0/debian/changelog @@ -0,0 +1,15 @@ +simutrans-pak64 (100.0-1) unstable; urgency=low + + * New Upstream release + * add watch file + * Bump Standards Version to 3.8.0 + + Add debian/README.source + + -- Ansgar Burchardt Sun, 29 Jun 2008 16:37:10 +0200 + +simutrans-pak64 (99.18~0.svn26-1) unstable; urgency=low + + * Initial release (Closes: #467549) + + -- Ansgar Burchardt Fri, 29 Feb 2008 12:21:09 +0100 + --- simutrans-pak64-100.0.orig/debian/copyright +++ simutrans-pak64-100.0/debian/copyright @@ -0,0 +1,140 @@ +This package was debianized by Ansgar Burchardt on +Mon, 25 Feb 2008 12:11:11 +0100. + +It was downloaded from +http://simutrans.svn.sourceforge.net/svnroot/simutrans/pak64/. + +Upstream Author: + + Simutrans Team + +Copyright: + + Copyright (C) 1997-2004 Hansjoerg Malthaner + Copyright (C) 2004-2007 Simutrans Team + +License: + + Simutrans source code is provided by the current simutrans team + (team64@simutrans.com) as copyright holder under the artistic licence. + + This includes the translations from: + http://translator.simutrans.com/ + + The file vehicles/water/abo-ships.png is especially under GNU 3. + + ------------------------------------------------------------------------- + + The Artistic License + + Preamble + + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + + Definitions: + + * "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + * "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder. + * "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + * "You" is you, if you're thinking about copying or distributing + this Package. + * "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + * "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as ftp.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or + organization. + + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + + c) accompany any non-standard executables with their corresponding + Standard Version executables, giving the non-standard executables + non-standard names, and clearly documenting the differences in manual + pages (or equivalent), together with instructions on where to get + the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this Package. + You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + + 6. The scripts and library files supplied as input to or produced as + output from the programs of this Package do not automatically fall + under the copyright of this Package, but belong to whomever generated + them, and may be sold commercially, and may be aggregated with this + Package. + + 7. C or perl subroutines supplied by you and linked into this Package + shall not be considered part of this Package. + + 8. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + The End + +On Debian systems, the complete text of the GNU General Public Licence can +be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is (C) 2008, Ansgar Burchardt and is +licensed under the Artistic License, see above. + --- simutrans-pak64-100.0.orig/debian/rules +++ simutrans-pak64-100.0/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules file for simutrans-pak64 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) all + + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) PAKDIR=$(CURDIR)/debian/simutrans-pak64/usr/share/games/simutrans/pak copy + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu + dh_installman + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- simutrans-pak64-100.0.orig/debian/patches/buildsystem +++ simutrans-pak64-100.0/debian/patches/buildsystem @@ -0,0 +1,42 @@ +Index: simutrans-pak64-100.0/Makefile +=================================================================== +--- simutrans-pak64-100.0.orig/Makefile ++++ simutrans-pak64-100.0/Makefile +@@ -2,7 +2,7 @@ + # make clean all archives + # to get fresh and ready to deploy .tbz2 and .zip archives + +-MAKEOBJ ?= ./makeobj ++MAKEOBJ ?= /usr/games/makeobj + + DESTDIR ?= simutrans + PAKDIR ?= $(DESTDIR)/pak +@@ -43,7 +43,7 @@ + + .PHONY: $(DIRS) copy tar zip + +-all: copy $(DIRS) ++all: $(DIRS) + + archives: tar zip + +@@ -60,12 +60,13 @@ + + copy: + @echo "===> COPY" +- @mkdir -p $(PAKDIR)/sound $(PAKDIR)/text $(PAKDIR)/config $(PAKDIR)/scenario +- @cp -p compat/compat.tab $(PAKDIR) +- @cp -p sound/* $(PAKDIR)/sound +- @cp -p config/* $(PAKDIR)/config +- @cp -p scenario/* $(PAKDIR)/scenario +- @cp -p pak.text/* $(PAKDIR)/text ++ install -m 755 -d $(PAKDIR)/sound $(PAKDIR)/text $(PAKDIR)/config $(PAKDIR)/scenario ++ install -m 644 compat/compat.tab $(PAKDIR) ++ install -m 644 sound/* $(PAKDIR)/sound ++ install -m 644 config/* $(PAKDIR)/config ++ install -m 644 scenario/* $(PAKDIR)/scenario ++ install -m 644 pak.text/* $(PAKDIR)/text ++ install -m 644 simutrans/pak/* $(PAKDIR)/ + + $(DIRS64): + @echo "===> PAK64 $@" --- simutrans-pak64-100.0.orig/debian/patches/series +++ simutrans-pak64-100.0/debian/patches/series @@ -0,0 +1 @@ +buildsystem