[SCM] Packaging for quakespasm branch, smcv, updated. upstream/0.85.4-27-g8a018c0
Simon McVittie
smcv at debian.org
Thu Jul 7 17:39:26 UTC 2011
The following commit has been merged in the smcv branch:
commit 8a018c0e46a49d261fd086220879388011aaf65f
Author: Simon McVittie <smcv at debian.org>
Date: Thu Jul 7 18:38:13 2011 +0100
Participate in the quake-engine and quake-engine-server alternatives as defined by the quake package
diff --git a/debian/changelog b/debian/changelog
index 754e103..58bb356 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,5 +19,7 @@ quakespasm (0.85.4-1) UNRELEASED; urgency=low
* Mention the quake package, and OpenQuartz, in the package description
* Attribute copyright for snd_mp3.c more precisely, and reproduce all
necessary copyright notices
+ * Participate in the quake-engine and quake-engine-server alternatives as
+ defined by the quake package
-- David Banks <amoebae at gmail.com> Mon, 04 Apr 2011 07:51:27 +0100
diff --git a/debian/control b/debian/control
index 0f4f949..7333d47 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Package: quakespasm
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
-Provides: quake-engine
+Provides: quake-engine, quake-engine-server
Description: engine for iD software's Quake
QuakeSpasm is a Unix-friendly Quake engine based on the SDL port of the
popular FitzQuake. It includes some new features, important fixes, and aims
@@ -22,3 +22,15 @@ Description: engine for iD software's Quake
.
This engine is typically used via a script that launches it with a particular
data set, such as the one found in the "quake" package.
+
+Package: quakespasm-dbg
+Architecture: any
+Depends: quakespasm (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: engine for iD software's Quake - debug symbols
+ QuakeSpasm is a Unix-friendly Quake engine based on the SDL port of the
+ popular FitzQuake.
+ .
+ This package contains debug symbols, which can be used to debug QuakeSpasm
+ if it crashes.
diff --git a/debian/quakespasm.dirs b/debian/quakespasm.dirs
new file mode 100644
index 0000000..2ee5bfb
--- /dev/null
+++ b/debian/quakespasm.dirs
@@ -0,0 +1 @@
+usr/lib/quake
diff --git a/debian/quakespasm.lintian-overrides b/debian/quakespasm.lintian-overrides
new file mode 100644
index 0000000..5f6fbfb
--- /dev/null
+++ b/debian/quakespasm.lintian-overrides
@@ -0,0 +1,2 @@
+# intentional, to put the quake-engine alternative in
+I: quakespasm: package-contains-empty-directory usr/lib/quake/
diff --git a/debian/quakespasm.postinst b/debian/quakespasm.postinst
new file mode 100644
index 0000000..aaf51ab
--- /dev/null
+++ b/debian/quakespasm.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+update-alternatives --quiet --install /usr/lib/quake/quake-engine \
+ quake-engine /usr/games/quakespasm 0
+update-alternatives --quiet --install /usr/lib/quake/quake-engine-server \
+ quake-engine-server /usr/games/quakespasm 0
+
+#DEBHELPER#
+
+#vim:set sw=4 sts=4 et:
diff --git a/debian/quakespasm.prerm b/debian/quakespasm.prerm
new file mode 100644
index 0000000..76009dc
--- /dev/null
+++ b/debian/quakespasm.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+update-alternatives --remove quake-engine /usr/games/quakespasm
+update-alternatives --remove quake-engine-server /usr/games/quakespasm
+
+#DEBHELPER#
+
+#vim:set sw=4 sts=4 et:
--
Packaging for quakespasm
More information about the Pkg-games-commits
mailing list