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 04000cb..7e09d01 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 
index 31f1cad..1689445 100644 (file)
@@ -3,11 +3,13 @@ Section: lisp
 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
-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
index 49b7e8a..27088fe 100755 (executable)
@@ -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:
-#        * <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}
index 2386136..7ff5d49 100755 (executable)
@@ -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:
-#        * <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}
@@ -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
index 3a37821..9eb0714 100755 (executable)
@@ -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 (file)
index 0000000..8afb3c9
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+http://files.b9.com/kmrcl/kmrcl-([\d\.]*)\.tar\.gz
+