Updates for new debian standards
authorKevin Rosenberg <kevin@rosenberg.net>
Sun, 2 Aug 2009 09:24:44 +0000 (03:24 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Sun, 2 Aug 2009 09:24:44 +0000 (03:24 -0600)
debian/changelog
debian/control
debian/postinst
debian/prerm
debian/rules
debian/watch [new file with mode: 0644]

index 04000cb14f9d58acdefac10af5750171acdd1759..7e09d0116eeedb1a357da4f4827aa0d7f02cca72 100644 (file)
@@ -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 <kmr@debian.org>  Sun, 02 Aug 2009 03:23:22 -0600
+
 cl-kmrcl (1.99-2) unstable; urgency=low
 
   * Change to debhelper 7 compatibility 
 cl-kmrcl (1.99-2) unstable; urgency=low
 
   * Change to debhelper 7 compatibility 
index 31f1cadf30062f245b6b40a14b72e8781b36a2e5..1689445d19a28569319e1cdc22bf214c845a03c4 100644 (file)
@@ -3,11 +3,13 @@ Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
 Build-Depends: debhelper (>= 7.0.0)
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
 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
 
 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
 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
index 49b7e8a7c0929b6b7dc630bfdac3073145485738..27088fef2630247124294e089fc5ed423793a2f2 100755 (executable)
@@ -1,31 +1,8 @@
 #! /bin/sh
 #! /bin/sh
-# postinst script for cl-kmrcl
-#
-# see: dh_installdeb(1)
-
 set -e
 
 set -e
 
-# package name according to lisp
 LISP_PKG=kmrcl
 
 LISP_PKG=kmrcl
 
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# 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}
 case "$1" in
     configure)
        register-common-lisp-source ${LISP_PKG}
index 23861364d5118402551a84f056f70e6e63339268..7ff5d494f94580de3dedd819218c423a1e0901b9 100755 (executable)
@@ -1,25 +1,8 @@
 #! /bin/sh
 #! /bin/sh
-# prerm script for cl-kmrcl
-#
-# see: dh_installdeb(1)
-
 set -e
 
 set -e
 
-# package name according to lisp
 LISP_PKG=kmrcl
 
 LISP_PKG=kmrcl
 
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# 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}
 case "$1" in
     remove|upgrade|deconfigure)
        unregister-common-lisp-source ${LISP_PKG}
@@ -32,9 +15,6 @@ case "$1" in
     ;;
 esac
 
     ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
 #DEBHELPER#
 
 exit 0
 #DEBHELPER#
 
 exit 0
index 3a37821e527f62dbb75f454eb29a46055c88870c..9eb07146c2c3cdb61eb66c3e31a74fe08a9192f0 100755 (executable)
@@ -16,23 +16,18 @@ source-files        := $(filter-out $(tests-files),$(wildcard *.lisp))
 configure: configure-stamp
 configure-stamp:
        dh_testdir
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       # Add here commands to configure the package.
-
        touch configure-stamp
 
        touch configure-stamp
 
-
 build: build-stamp
 
 build-stamp: configure-stamp 
        dh_testdir
 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
        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
 
        rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
        dh_clean
 
@@ -40,31 +35,26 @@ install: build
        dh_testdir
        dh_testroot
        dh_prep
        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
 
        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
 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
 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 (file)
index 0000000..8afb3c9
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+http://files.b9.com/kmrcl/kmrcl-([\d\.]*)\.tar\.gz
+