From fee00d2bc4e62b4cefd5430d09c38ff0e11d87d3 Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Sun, 2 Aug 2009 03:24:44 -0600 Subject: [PATCH] Updates for new debian standards --- debian/changelog | 7 +++++++ debian/control | 6 ++++-- debian/postinst | 23 ----------------------- debian/prerm | 20 -------------------- debian/rules | 32 +++++++++++--------------------- debian/watch | 3 +++ 6 files changed, 25 insertions(+), 66 deletions(-) create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog index 04000cb..7e09d01 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cl-kmrcl (1.99-3) unstable; urgency=low + + * debian/control: Added Homepage and Vcs-Git fields + * debian/watch: new file + + -- Kevin M. Rosenberg Sun, 02 Aug 2009 03:23:22 -0600 + cl-kmrcl (1.99-2) unstable; urgency=low * Change to debhelper 7 compatibility diff --git a/debian/control b/debian/control index 31f1cad..1689445 100644 --- a/debian/control +++ b/debian/control @@ -3,11 +3,13 @@ Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg Build-Depends: debhelper (>= 7.0.0) -Standards-Version: 3.8.2 +Standards-Version: 3.8.2.0 +Homepage: http://files.b9.com/kmrcl/ +Vcs-Git: git://git.b9.com/kmrcl.git Package: cl-kmrcl Architecture: all -Depends: ${shlibs:Depends}, common-lisp-controller, cl-rt +Depends: common-lisp-controller, cl-rt Description: General Utilities for Common Lisp Programs This package includes general purpose utilities for Common Lisp programs. It is packages for Debian primarily to support more complex diff --git a/debian/postinst b/debian/postinst index 49b7e8a..27088fe 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,31 +1,8 @@ #! /bin/sh -# postinst script for cl-kmrcl -# -# see: dh_installdeb(1) - set -e -# package name according to lisp LISP_PKG=kmrcl -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# 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) register-common-lisp-source ${LISP_PKG} diff --git a/debian/prerm b/debian/prerm index 2386136..7ff5d49 100755 --- a/debian/prerm +++ b/debian/prerm @@ -1,25 +1,8 @@ #! /bin/sh -# prerm script for cl-kmrcl -# -# see: dh_installdeb(1) - set -e -# package name according to lisp LISP_PKG=kmrcl -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - case "$1" in remove|upgrade|deconfigure) unregister-common-lisp-source ${LISP_PKG} @@ -32,9 +15,6 @@ case "$1" in ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - #DEBHELPER# exit 0 diff --git a/debian/rules b/debian/rules index 3a37821..9eb0714 100755 --- a/debian/rules +++ b/debian/rules @@ -16,23 +16,18 @@ source-files := $(filter-out $(tests-files),$(wildcard *.lisp)) configure: configure-stamp configure-stamp: dh_testdir - # Add here commands to configure the package. - touch configure-stamp - build: build-stamp build-stamp: configure-stamp dh_testdir - # Add here commands to compile the package. touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp - # Add here commands to clean up after the build process. rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.* dh_clean @@ -40,31 +35,26 @@ install: build dh_testdir dh_testroot dh_prep - # Add here commands to install the package into debian/kmrcl. dh_installdirs $(clc-systems) $(clc-files) $(clc-tests) dh_install $(pkg).asd $(source-files) $(clc-files) dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd dh_install $(pkg-tests).asd $(tests-files) $(clc-tests) dh_link $(clc-tests)/$(pkg-tests).asd $(clc-systems)/$(pkg-tests).asd -# Build architecture-independent files here. binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installchangelogs ChangeLog - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installchangelogs -i ChangeLog + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i -# Build architecture-dependent files here. binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure - diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8afb3c9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://files.b9.com/kmrcl/kmrcl-([\d\.]*)\.tar\.gz + -- 2.34.1