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

index 08632d6f11cb3035930b5508460ea717aa01f483..5b13e6641236547d384347c7eff8609bd99fa033 100644 (file)
@@ -1,3 +1,14 @@
+cl-umlisp-orf (3.3.1-2) unstable; urgency=low
+
+  * debian/watch: New file
+  * debian/control: Require debhelper 7. Change to new lisp section.
+    Added Vcs-Git and Homepage fields.
+  * debian/compat: Update to version 7
+  * debian/rules: Update for debhelper 7, architecture-independent build
+  * debian/{prerm,postrm}: Remove path from binary function
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 02 Aug 2009 06:00:53 -0600
+
 cl-umlisp-orf (3.3.1-1) unstable; urgency=low
 
   * New upstream
index b8626c4cff2849624fb67f87cd0ad72b163671ad..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644 (file)
@@ -1 +1 @@
-4
+7
index bbbe8bf241b3a72c20aaa8a291cc345e6ea57946..ce5b04ac10caad6537bd31768e8c20f1c89e6403 100644 (file)
@@ -2,12 +2,14 @@ Source: cl-umlisp-orf
 Section: contrib/devel
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends: debhelper (>= 4.0.0)
-Standards-Version: 3.7.3.0
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.2.0
+Homepage: http://files.b9.com/umlisp-orf/
+Vcs-Git: git://git.b9.com/umlisp-orf.git
 
 Package: cl-umlisp-orf
 Architecture: all
-Depends: ${shlibs:Depends}, cl-kmrcl, cl-sql, cl-hyperobject
+Depends: cl-kmrcl, cl-sql, cl-hyperobject
 Description: Common Lisp Unified Medical Language System Interface, ORF
  The Unified Medical Language System is a multi-gigabyte database of
  medical terminology. This a interface for Common Lisp programs that utilizes
index b87c6687716c28883188a737e4d17289029e93b9..0b651093e6f2ecaf3598621ab3c7f366b1d3190b 100644 (file)
@@ -3,27 +3,9 @@ set -e
 
 LISP_PKG=umlisp-orf
 
-# 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)
-       /usr/sbin/register-common-lisp-source ${LISP_PKG}
+       register-common-lisp-source ${LISP_PKG}
        ;;
     abort-upgrade|abort-remove|abort-deconfigure)
        ;;
@@ -33,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 038e38617e18341966c253b0341a682c41552f7a..143d2acdea60811ef74bd3ccd5bba06070c875a8 100644 (file)
@@ -3,33 +3,18 @@ set -e
 
 LISP_PKG=umlisp-orf
 
-# 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)
-       /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
+       unregister-common-lisp-source ${LISP_PKG}
         ;;
     failed-upgrade)
         ;;
     *)
         echo "prerm called with unknown argument \`$1'" >&2
         exit 1
-    ;;
+        ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
 #DEBHELPER#
 
 exit 0
index cae2214590a3832f091fa3ab8cff0afe0e5df60c..1ef167d07d998200b2554e44aece0353076c0233 100755 (executable)
@@ -3,19 +3,14 @@
 pkg    := umlisp-orf
 debpkg  := cl-umlisp-orf
 
-
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
 clc-umlisp-orf := $(clc-source)/$(pkg)
-
 doc-dir                := usr/share/doc/$(debpkg)
 
-
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       # Add here commands to configure the package.
-
        touch configure-stamp
 
 
@@ -23,46 +18,37 @@ 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/cl-umlisp-orf.postinst.* debian/cl-umlisp-orf.prerm.*
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
-       # Add here commands to install the package into debian/umlisp-orf.
+       dh_prep
        dh_installdirs $(clc-systems) $(clc-umlisp-orf) $(doc-dir)
        dh_install umlisp-orf.asd $(shell echo *.lisp) $(clc-umlisp-orf)
-       #dh_install $(shell echo *.html) $(doc-dir)
        dh_link $(clc-umlisp-orf)/umlisp-orf.asd $(clc-systems)/umlisp-orf.asd
 
-# Build architecture-independent files here.
 binary-indep: build install
-       dh_testdir
-       dh_testroot
-       dh_installdocs
-       dh_installchangelogs
-       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
+       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..cf98662
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://files.b9.com/umlisp-orf/umlisp-orf-([\d\.]*)\.tar\.gz