adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] Release_0-3-3 04514cb 30/50: New Debian p


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] Release_0-3-3 04514cb 30/50: New Debian packaging files
Date: Mon, 25 Jul 2016 18:15:32 +0000 (UTC)

tag: Release_0-3-3
commit 04514cbbcba5d2b695d93a6c4ee0844e32574dc5
Author: Gordon Fraser <address@hidden>
Commit: Gordon Fraser <address@hidden>

    New Debian packaging files
---
 debian/README.debian |   10 +++--
 debian/changelog     |   25 ++++++++---
 debian/control       |   19 ++++----
 debian/copyright     |   17 ++++----
 debian/dirs          |    4 +-
 debian/menu          |    2 +-
 debian/rules         |  117 ++++++++++++++++++++++++++++++++------------------
 7 files changed, 122 insertions(+), 72 deletions(-)

diff --git a/debian/README.debian b/debian/README.debian
index 37e2430..ed35050 100644
--- a/debian/README.debian
+++ b/debian/README.debian
@@ -1,6 +1,8 @@
-wastesedge for Debian
-----------------------
+adonthell-data for Debian
+-------------------------
 
-Comments regarding the Package
+This is the official game-data for Adonthell 0.3, and it is
+a demo of the current engine. Story and gameplay will change
+with newer releases.
 
-Alexandre Courbot <address@hidden>, Sat,  2 Feb 2002 17:59:49 +0100
+ -- Gordon Fraser <address@hidden>, Tue, 17 Sep 2002 15:16:21 +0200
diff --git a/debian/changelog b/debian/changelog
index fe2f525..69480b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,13 +1,26 @@
-wastesedge (0.3.1-1) unstable; urgency=low
+adonthell-data (0.3.3-1) unstable; urgency=low
 
-  * Using code base 0.3.1.
+  * New upstream release
 
- -- Alexandre Courbot <address@hidden>  Tue,  5 Feb 2002 13:33:47 +0100
+ -- Gordon Fraser <address@hidden>  Thu, 19 Sep 2002 16:28:26 +0200
 
-wastesedge (0.3-1) unstable; urgency=low
+adonthell-data (0.3.1.cvs.20020917-2) unstable; urgency=low
 
-  * Initial release.
+  * Change Architecture to all
 
- -- Alexandre Courbot <address@hidden>  Sat,  2 Feb 2002 17:59:49 +0100
+ -- Gordon Fraser <address@hidden>  Wed, 18 Sep 2002 22:23:40 +0200
 
+adonthell-data (0.3.1.cvs.20020917-1) unstable; urgency=low
 
+  * New CVS snapshot:
+    Lady Silverhair now follows to the cellar (Closes: #160820)
+  * Includes PLAYING file (Closes: #160814)
+  * Updated Debian standards version
+
+ -- Gordon Fraser <address@hidden>  Tue, 17 Sep 2002 15:16:21 +0200
+
+adonthell-data (0.3.1.cvs.20020906-1) unstable; urgency=low
+
+  * Initial Debian upload (Closes: #158681)
+
+ -- Gordon Fraser <address@hidden>  Wed, 28 Aug 2002 22:43:42 +0200
diff --git a/debian/control b/debian/control
index 9c25144..b08c3a1 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,16 @@
-Source: wastesedge
+Source: adonthell-data
 Section: games
-Priority: extra
-Maintainer: Alexandre Courbot <address@hidden>
-Standards-Version: 3.2.1
+Priority: optional
+Maintainer: Gordon Fraser <address@hidden>
+Build-Depends-Indep: debhelper (>= 4), adonthell (>= 0.3), adonthell (<< 0.4)
+Standards-Version: 3.5.7
 
-Package: wastesedge
+Package: adonthell-data
 Architecture: all
-Depends: adonthell (>= 0.3), adonthell(<< 0.4)
-Description: Official game for Adonthell 0.3 
- Official game for Adonthell 0.3
- . 
+Depends: adonthell (>= 0.3), adonthell (<< 0.4)
+Description: Data files needed by Adonthell
+ This is the official game for Adonthell 0.3
+ .
  As a loyal servant of the elven Lady Silverhair, you arrive at the remote
  trading post of Waste's Edge, where she is engaged in negotiations with the
  dwarish merchant Bjarn Fingolson. But not all is well at Waste's Edge, and
diff --git a/debian/copyright b/debian/copyright
index e88a24a..181c50e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,21 +1,20 @@
-This package was debianized by Alexandre Courbot address@hidden on
-Sat,  2 Feb 2002 17:59:49 +0100.
+This package was debianized by Gordon Fraser <address@hidden> on
+Wed, 28 Aug 2002 20:37:34 +0200.
 
 It was downloaded from http://adonthell.linuxgames.com/download/
 
-Copyright: (c) 2000/2001 Kai Sterker & the Adonthell team.
+Upstream Authors: Kai Sterker & the Adonthell team <address@hidden>
+
+Copyright:
 
 This program 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, or (at your option)
 any later version.
- 
+
 This program 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 Debian system; see the file /usr/doc/copyright/GPL. If not,
-write to the Free Software Foundation, Inc., 59 Temple Place - Suite
-330, Boston, MA 02111-1307, USA.
+
+The GNU GPL may be viewed on Debian systems in /usr/share/common-licenses/GPL
diff --git a/debian/dirs b/debian/dirs
index e777271..78584ac 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1 +1,3 @@
-usr/share/adonthell/games/wastesedge
+usr/games
+usr/share/games/adonthell/games/wastesedge
+usr/share/man/man6
diff --git a/debian/menu b/debian/menu
index 6bdcc13..004b631 100644
--- a/debian/menu
+++ b/debian/menu
@@ -1,3 +1,3 @@
-?package(wastesedge):needs=X11 section=Games/Adventure \
+?package(adonthell-data):needs=X11 section=Games/Adventure \
   title="Adonthell - Waste's Edge" \
   command="/usr/games/adonthell-wastesedge"
diff --git a/debian/rules b/debian/rules
index 706c9f1..2c3e813 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,52 +1,85 @@
 #!/usr/bin/make -f
-# Made with the aid of debmake, by Christoph Lameter,
-# based on the sample debian/rules file for GNU hello by Ian Jackson.
+#export DH_VERBOSE=1
 
-package=wastesedge
 
-build:
-       $(checkdir)
-       ./configure --prefix=/usr --with-data-dir='$${datadir}/adonthell' \
-                       --with-adonthell-binary=/usr/games/adonthell \
-                       --bindir='$${prefix}/games'
-       $(MAKE) CFLAGS="-O2 -g -Wall"
-       touch build
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+INSTALL = /usr/bin/install -c
+INSTALL_PROGRAM = ${INSTALL} -p -o root -g root  -m 755
+
+#ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+#      CFLAGS += -g
+#endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+       dh_testdir
+       ./configure --host=$(DEB_HOST_GNU_TYPE) \
+                    --build=$(DEB_BUILD_GNU_TYPE) \
+                    --prefix=/usr \
+                    --mandir=\$${prefix}/share/man \
+                    --with-data-dir=\$${prefix}/share/games/adonthell \
+                    --with-adonthell-binary=/usr/games/adonthell \
+                    --bindir=\$${prefix}/games
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+       $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
+                DESTDIR="$(CURDIR)/debian/adonthell-data"
+       touch build-stamp
 
 clean:
-       $(checkdir)
-       -rm -f build
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
        -$(MAKE) distclean
+       -test -r /usr/share/misc/config.sub && \
+         cp -f /usr/share/misc/config.sub config.sub
+       -test -r /usr/share/misc/config.guess && \
+         cp -f /usr/share/misc/config.guess config.guess
+       -rm -f config.status
        -rm -f `find . -name "*~"`
-       -rm -rf debian/tmp debian/files* core debian/substvars
-
-binary-indep: checkroot build
-       $(checkdir)
-# There are no architecture-independent files to be uploaded
-# generated by this package.  If there were any they would be
-# made here.
-
-binary-arch: checkroot build
-       $(checkdir)
-       -rm -rf debian/tmp
-       install -d debian/tmp
-       cd debian/tmp && install -d `cat ../dirs`
-       $(MAKE) install prefix=`pwd`/debian/tmp/usr
-# Must have debmake installed for this to work. Otherwise please copy
-# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
-       debstd ChangeLog NEWS README 
-       dpkg-gencontrol -isp
-       chown -R root.root debian/tmp
-       chmod -R go=rX debian/tmp
-       dpkg --build debian/tmp ..
-
-define checkdir
-       test -f debian/rules
-endef
+       -rm -f `find . -name "*.pyc"`
 
-binary: binary-indep binary-arch
+       dh_clean
 
-checkroot:
-       $(checkdir)
-       test root = "`whoami`"
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
 
-.PHONY: binary binary-arch binary-indep clean checkroot
+       $(MAKE) install DESTDIR="$(CURDIR)/debian/adonthell-data" \
+                INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
+#                
gamedatadir="$(CURDIR)/debian/adonthell-data/usr/share/games/adonthell-data"
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installdocs
+       dh_installmenu
+       dh_installman debian/adonthell-wastesedge.6
+       dh_installchangelogs ChangeLog
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]