--- dangen-0.3.orig/debian/changelog +++ dangen-0.3/debian/changelog @@ -0,0 +1,13 @@ +dangen (0.3-2) unstable; urgency=low + + * debian/copyright: points /usr/share/common-licenses/GPL-2 directly + instead of /usr/share/common-licenses/GPL because the upstream says + "no other version is allowed" + + -- Oohara Yuuma Sat, 8 Oct 2005 16:20:30 +0900 + +dangen (0.3-1) unstable; urgency=low + + * Initial Release. (closes: #332278) + + -- Oohara Yuuma Thu, 6 Oct 2005 01:31:22 +0900 --- dangen-0.3.orig/debian/control +++ dangen-0.3/debian/control @@ -0,0 +1,17 @@ +Source: dangen +Section: games +Priority: optional +Maintainer: Oohara Yuuma +Build-Depends: debhelper (>= 4.1.2), dbs, libsdl1.2-dev (>= 1.2.4-1), libsdl-image1.2-dev (>= 1.2.2-4) +Standards-Version: 3.6.1 + +Package: dangen +Architecture: any +Depends: ${shlibs:Depends} +Description: shoot 'em up game where accurate shooting matters + dangen is a shoot 'em up game that attach importance to accuracy of shooting. + With the combination of the cursor key and the shot button, you can shoot + at your side or even at your back. Get the bonus point by hitting the + enemy without a miss. You can choose stages of different difficulty. + . + Upstream webpage: http://www.interq.or.jp/libra/oohara/dangen/index.html --- dangen-0.3.orig/debian/copyright +++ dangen-0.3/debian/copyright @@ -0,0 +1,242 @@ +This package was debianized by Oohara Yuuma on +Wed, 13 Jul 2005 23:58:02 +0900. + +It was downloaded from http://www.interq.or.jp/libra/oohara/dangen/index.html + +Upstream Author: Oohara Yuuma + +Copyright: + +dangen --- shoot 'em up game where accurate shooting matters +Copyright (C) 2005 Oohara Yuuma + +This program is free software; you can redistribute it and/or modify +it under the terms of either: + +a) the GNU General Public License version 2 as published by the Free Software + Foundation (no other version is allowed), or + +b) the Artistic License Version 2.0beta5. + +A copy of the GNU General Public License version 2 is included in the +source code as GPL-2. A copy of the Artistic License Version 2.0beta5 is +included in the source code as Artistic-2. + +On a Debian system, a copy of the GNU General Public License version 2 is +installed at /usr/share/common-licenses/GPL-2. The text of the Artistic +License Version 2.0beta5 follows: + + The Artistic License + Version 2.0beta5, October 2001 + + Copyright (C) 2000, 2001 Larry Wall, Bradley M. Kuhn. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + +This copyright license states the terms under which a given free software +Package may be copied, modified and/or redistributed, while the +Originator(s) maintain some artistic control over the future development of +that Package (at least as much artistic control as can be given under +copyright law while still making the Package open source and free software). + +This license is bound by copyright law, and thus it legally applies only to +works which the copyright holder has permitted copying, distribution or +modification under the terms of the Artistic License, Version 2.0. + +You are reminded that You are always permitted to make arrangements wholly +outside of a given copyright license directly with the copyright holder(s) +of a given Package. If the terms of this license impede your ability to +make full use of the Package, You are encouraged to contact the copyright +holder(s) and seek a different licensing arrangement. + + + Definitions + +"Package" refers to the collection of files distributed by the + Originator(s), and derivatives of that collection of files created + through textual modification. + +"Standard Version" refers to the Package if it has not been modified, or has + been modified only in ways suggested by the + Originator(s). + +"Modified Version" refers to the Package, if it has been changed by You via + textual modification of the source code, and such changes + were not suggested by the Originator(s). + +"Originator" refers to the author(s) and/or copyright holder(s) of the + Standard Version of the Package. + +"You" and "Your" refers to any person who would like to copy, distribute, or + modify the Package. + +"Distribution Fee" is any fee that You charge for providing a copy of this + Package to another party. It does not refer to licensing + fees. + +"Freely Available" means that: + + (a) no fee is charged for the right to use the item (though a + Distribution Fee may be charged). + + (b) recipients of the item may redistribute it under the same + conditions they received it. + + (c) If the item is a binary, object code, bytecode, the complete + corresponding machine-readable source code is included with the + item. + + + Permission for Use and Modification Without Redistribution + + (1) You are permitted to use the Standard Version and create and use + Modified Versions for any purpose without restriction, provided that + you do not redistribute the Modified Version to others outside of your + company or organization. + + + Permissions for Redistribution of the Standard Version + + (2) You may make available verbatim copies of the source code of the + Standard Version of this Package in any medium without restriction, + either gratis or for a Distribution Fee, provided that you duplicate + all of the original copyright notices and associated disclaimers. At + Your discretion, such verbatim copies may or may not include compiled + bytecode, object code or binary versions of the corresponding source + code in the same medium. + + (3) You may apply any bug fixes, portability changes, and other + modifications made available from any of the Originator(s). The + resulting modified Package will still be considered the Standard + Version, and may be copied, modified and redistributed under the terms + of the original license of the Standard Version as if it were the + Standard Version. + + + Permissions for Redistribution of Modified Versions of the Package as Sour= +ce + + (4) You may modify your copy of the source code of this Package in any way + and distribute that Modified Version (either gratis or for a + Distribution Fee, and with or without a corresponding binary, bytecode + or object code version of the Modified Version) provided that You + clearly indicate what changes You made to the Package, and provided + that You do at least ONE of the following: + + (a) make the Modified Version available to the Originator(s) of the + Standard Version, under the exact license of the Standard + Version, so that the Originator(s) may include your modifications + into the Standard Version (at their discretion). + + (b) modify any installation scripts and procedures so that + installation of the Modified Version will never conflict with an + installation of the Standard Version, include for each program + installed by the Modified Version clear documentation describing + how it differs from the Standard Version, and rename your + Modified Version so that the name is substantially different from + the Standard Version. + + (c) permit and encourage anyone who receives a copy of the Modified + Version to make your modifications Freely Available in some + specific way. + + If Your Modified Version is in turn derived from a Modified Version + made by a third party, then You are still required to ensure that Your + Modified Version complies with the requirements of this license. + + + Permissions for Redistribution of Non-Source Versions of Package + + (5) You may distribute binary, object code, bytecode or other non-source + versions of the Standard Version of the Package, provided that you + include complete instructions on where to get the source code of the + Standard Version. Such instructions must be valid at the time of Your + distribution. If these instructions, at any time while You are + carrying our such distribution, become invalid, you must provide new + instructions on demand or cease further distribution. If You cease + distribution within thirty days after You become aware that the + instructions are invalid, then You do not forfeit any of Your rights + under this license. + + (6) You may distribute binary, object code, bytecode or other non-source + versions of a Modified Version provided that You do at least ONE of + the following: + + (a) include a copy of the corresponding source code for the Modified + Version under the terms indicated in (4). + + (b) ensure that the installation of Your non-source Modified Version + does not conflict in any way with an installation of the Standard + Version, include for each program installed by the Modified + Version clear documentation describing how it differs from the + Standard Version, and rename your Modified Version so that the + name is substantially different from the Standard Version. + + (c) ensure that the Modified Version includes notification of the + changes made from the Standard Version, and offer to provide + machine-readable source code (under a license that permits making + that source code Freely Available) of the Modified Version via + mail order. + + + Permissions for Inclusion of the Package in Aggregate Works + =20 + (7) You may aggregate this Package (either the Standard Version or + Modified Version) with other packages and distribute the resulting + aggregation provided that You do not charge a licensing fee for the + Package. Distribution Fees are permitted, and licensing fees for + other packages in the aggregation are permitted. Your permission to + distribute Standard or Modified Versions of the Package is still + subject to the other terms set forth in other sections of this + license. + + (8) In addition to the permissions given elsewhere by this license, You + are also permitted to link Modified and Standard Versions of this + Package with other works and distribute the result without + restriction, provided You have produced binary program(s) that do not + overtly expose the interfaces of the Package. This includes + permission to embed the Package in a larger work of your own without + exposing a direct interface to the Package. This also includes + permission to build stand-alone binary or bytecode versions of your + scripts that require the Package, but do not otherwise give the casual + user direct access to the Package itself. + + + Items That are Never Considered Part of a Modified Version Package + + (9) Works (including, but not limited to, subroutines and scripts) that + you have linked or aggregated with the Package that merely extend or + make use of the Package, but are not intended to cause the Package to + operate differently from the Standard Version, do not, by themselves, + cause the Package to be a Modified Version. In addition, such works + are not considered parts of the Package itself, and are not bound by + the terms of the Package's license. + + + Acceptance of License and Disclaimer of Warranty + + (10) You are not required to accept this License, since you have not signed + it. However, nothing else grants you permission to copy, modify or + distribute the Standard or Modified Versions of the Package. These + actions are prohibited by copyright law if you do not accept this + License. Therefore, by copying, modifying or distributing Standard + and Modified Versions of the Package, you indicate your acceptance of + the license of the Package. + + + (11) Disclaimer of Warranty: + + 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 UNLESS REQUIRED BY + LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER OR CONTRIBUTOR + 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, 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. --- dangen-0.3.orig/debian/dangen.postrm +++ dangen-0.3/debian/dangen.postrm @@ -0,0 +1,39 @@ +#! /bin/sh +# postrm script for dangen +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge) + + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + --- dangen-0.3.orig/debian/dangen.prerm +++ dangen-0.3/debian/dangen.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for dangen +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/tenmado.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- dangen-0.3.orig/debian/dangen.menu +++ dangen-0.3/debian/dangen.menu @@ -0,0 +1,2 @@ +?package(dangen): needs="X11" section="Games/Arcade" \ + title="Dangen" command="/usr/games/dangen" --- dangen-0.3.orig/debian/dangen.postinst +++ dangen-0.3/debian/dangen.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for dangen +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- dangen-0.3.orig/debian/dangen.preinst +++ dangen-0.3/debian/dangen.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for dangen +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/tenmado.pid \ +# --exec /usr/sbin/tenmado 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- dangen-0.3.orig/debian/rules +++ dangen-0.3/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 +# the name of the source directory in the build tree (used by dbs) +TAR_DIR = dangen-0.3 +# the dbs rules +include /usr/share/dbs/dbs-build.mk + +# convenient way to set architecture specification strings +# the ifeq condition is here to allow them to be overridden +# from the command line +ifeq (,$(DEB_BUILD_GNU_TYPE)) + include /usr/share/dbs/dpkg-arch.mk +endif + +configure: configure-stamp +configure-stamp: $(patched) + dh_testdir + cd $(BUILD_TREE) && ./configure --prefix=/usr --bindir=/usr/games \ + --mandir=/usr/share/man + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: $(patched) + dh_testdir + sed -e 's@^@$(BUILD_TREE)/@' debian/dangen.docs.in \ + > debian/dangen.docs +# DEB_BUILD_OPTIONS "noopt" support +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +# don't optimize + cd $(BUILD_TREE) && $(MAKE) CFLAGS="-g -O0" +else +# do optimize + cd $(BUILD_TREE) && $(MAKE) CFLAGS="-g -O2" +endif + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -f debian/dangen.docs + rm -rf $(STAMP_DIR) $(SOURCE_DIR) + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + cd $(BUILD_TREE) && $(MAKE) install DESTDIR=$(CURDIR)/debian/dangen/ + +binary-indep: build install +# We have nothing to do. + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_installman + dh_installchangelogs $(BUILD_TREE)/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 configure --- dangen-0.3.orig/debian/dangen.docs.in +++ dangen-0.3/debian/dangen.docs.in @@ -0,0 +1,3 @@ +Artistic-2 +README +README-ja-utf8