From: Kevin Rosenberg Date: Sun, 2 Aug 2009 10:38:20 +0000 (-0600) Subject: Updates for new debian standards X-Git-Tag: v0.1.3^0 X-Git-Url: http://git.kpe.io/?p=cluck.git;a=commitdiff_plain;h=7d3a298d472c7d468398c4f82f4154077358fd27 Updates for new debian standards --- diff --git a/debian/changelog b/debian/changelog index 0b38754..5310bb0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +cl-cluck (0.1.3-1) unstable; urgency=low + + * New upstream + * debian/watch: New file + * debian/control: Require debhelper 7. Change to new lisp section. + Add 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 Sun, 02 Aug 2009 04:35:13 -0600 + cl-cluck (0.1.2-1) unstable; urgency=low * New upstream diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index 671905a..f87b58f 100644 --- a/debian/control +++ b/debian/control @@ -1,13 +1,15 @@ Source: cl-cluck -Section: devel +Section: lisp Priority: optional Maintainer: Kevin M. Rosenberg -Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.7.2.2 +Build-Depends: debhelper (>= 7.0.0) +Standards-Version: 3.8.2.0 +Homepage: http://files.b9.com/cluck/ +Vcs-Git: git://git.b9.com/cluck.git Package: cl-cluck Architecture: all -Depends: common-lisp-controller (>= 3.37) kmrcl +Depends: common-lisp-controller (>= 3.37), kmrcl Description: Common Lisp Microcontroller Clock Calculator Cluck provides several functions to help select crystal frequencies, clock prescalers, and compare values to configuring timers on diff --git a/debian/postinst b/debian/postinst index 113b998..5364ee3 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,26 +1,18 @@ #! /bin/sh -# postinst script for cl-cluck - set -e case "$1" in configure) - /usr/sbin/register-common-lisp-source cluck - ;; - + register-common-lisp-source cluck + ;; abort-upgrade|abort-remove|abort-deconfigure) - - ;; - + ;; *) echo "postinst 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 diff --git a/debian/prerm b/debian/prerm index f11ed15..49801f7 100644 --- a/debian/prerm +++ b/debian/prerm @@ -1,22 +1,18 @@ #! /bin/sh - set -e case "$1" in remove|upgrade|deconfigure) - /usr/sbin/unregister-common-lisp-source cluck + unregister-common-lisp-source cluck ;; 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 diff --git a/debian/rules b/debian/rules index d165d1e..3caebf4 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,6 @@ configure-stamp: dh_testdir touch configure-stamp - build: build-stamp build-stamp: configure-stamp @@ -29,32 +28,27 @@ clean: install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs --all $(clc-systems) $(clc-source) - - # Add here commands to install the package into debian/uffi. dh_installdirs -p $(debpkg) $(doc-dir) $(clc-files) dh_install $(pkg).asd $(clc-files) dh_install "*.lisp" $(clc-files) dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd -# Build architecture-independent files here. binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i cluck.txt + 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 - dh_testdir - dh_testroot - dh_installdocs cluck.txt - dh_installchangelogs - 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 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..27e9d6a --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://files.b9.com/cluck/cluck-([\d\.]*)\.tar\.gz +