[open-adventure] 02/02: Initial packaging

Dr. Tobias Quathamer toddy at debian.org
Fri Jul 14 13:21:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

toddy pushed a commit to branch master
in repository open-adventure.

commit 3ada369d0c58003b2714076aff5fbef75aa64199
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date:   Thu Jul 13 14:23:30 2017 +0200

    Initial packaging
---
 debian/advent.desktop          |  8 ++++++++
 debian/changelog               |  5 +++++
 debian/compat                  |  1 +
 debian/control                 | 22 ++++++++++++++++++++++
 debian/copyright               | 36 ++++++++++++++++++++++++++++++++++++
 debian/open-adventure.docs     |  6 ++++++
 debian/open-adventure.install  |  3 +++
 debian/open-adventure.manpages |  1 +
 debian/rules                   | 19 +++++++++++++++++++
 debian/source/format           |  1 +
 debian/watch                   |  3 +++
 11 files changed, 105 insertions(+)

diff --git a/debian/advent.desktop b/debian/advent.desktop
new file mode 100644
index 0000000..d41c896
--- /dev/null
+++ b/debian/advent.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Open Adventure
+Comment=Colossal Cave Adventure, the 1995 430-point version
+Icon=advent
+Exec=advent
+Terminal=true
+Categories=Game;AdventureGame;ConsoleOnly
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..aab413f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+open-adventure (1.2-1) unstable; urgency=medium
+
+  * Initial release (Closes: #868163)
+
+ -- Dr. Tobias Quathamer <toddy at debian.org>  Thu, 13 Jul 2017 14:23:19 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9f7e3d7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: open-adventure
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Dr. Tobias Quathamer <toddy at debian.org>
+Build-Depends: debhelper (>= 10), pkg-config, python3-yaml, libedit-dev,
+# The following packages are needed to build the manpage advent.6
+ asciidoc-base, xsltproc, docbook-xml, docbook-xsl
+Standards-Version: 4.0.0
+Homepage: https://gitlab.com/esr/open-adventure
+Vcs-Git: https://anonscm.debian.org/git/pkg-games/open-adventure.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/open-adventure.git
+
+Package: open-adventure
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: colossal cave adventure, the 1995 430-point version
+ This is the last descendent of the original 1976 Colossal Cave
+ Adventure worked on by the original authors -- Crowther & Woods.
+ It has sometimes been known as Adventure 2.5. The original PDP-10
+ name 'advent' is used for the built program to avoid collision with
+ the BSD Games version.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f3f9f32
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: open-adventure
+Source: https://gitlab.com/esr/open-adventure
+
+Files: *
+Copyright: © 1977, 2005 by Will Crowther and Don Woods
+           © 2017 by Eric S. Raymond <esr at thyrsus.com>
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2017 Dr. Tobias Quathamer <toddy at debian.org>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/open-adventure.docs b/debian/open-adventure.docs
new file mode 100644
index 0000000..1b60f2f
--- /dev/null
+++ b/debian/open-adventure.docs
@@ -0,0 +1,6 @@
+hints.adoc
+history.adoc
+notes.adoc
+README.adoc
+NEWS
+TODO
diff --git a/debian/open-adventure.install b/debian/open-adventure.install
new file mode 100644
index 0000000..b22c4e6
--- /dev/null
+++ b/debian/open-adventure.install
@@ -0,0 +1,3 @@
+advent usr/games
+debian/advent.desktop usr/share/applications
+lamp.png usr/share/icons/hicolor/64x64/apps
diff --git a/debian/open-adventure.manpages b/debian/open-adventure.manpages
new file mode 100644
index 0000000..d39036d
--- /dev/null
+++ b/debian/open-adventure.manpages
@@ -0,0 +1 @@
+advent.6
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b109638
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# package maintainers to append LDFLAGS
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+	dh $@
+
+override_dh_installman:
+	make advent.6
+	dh_installman
+
+override_dh_install:
+	dh_install
+	# Rename the logo
+	mv $(CURDIR)/debian/open-adventure/usr/share/icons/hicolor/64x64/apps/lamp.png $(CURDIR)/debian/open-adventure/usr/share/icons/hicolor/64x64/apps/advent.png
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d4e934f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S+)/open-adventure-$1\.tar\.gz/g \
+  https://gitlab.com/esr/open-adventure/tags?sort=updated_desc .*archive\.tar\.gz\?ref=v?(\d\S+)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/open-adventure.git



More information about the Pkg-games-commits mailing list