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

index 224200961273ace3b79bfd5028fab383b3452c79..e57ed45b07ea1f778fc14da36a8f74688267d4f4 100644 (file)
@@ -1,3 +1,14 @@
+cl-readline (0.2.0-4) unstable; urgency=low
+
+  * 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 <kmr@debian.org>  Sun, 02 Aug 2009 01:24:56 -0600
+
 cl-readline (0.2.0-3) unstable; urgency=low
 
   * Fix build twice in a row (closes: 424152)
 cl-readline (0.2.0-3) unstable; urgency=low
 
   * Fix build twice in a row (closes: 424152)
index b8626c4cff2849624fb67f87cd0ad72b163671ad..7f8f011eb73d6043d2e6db9d2c101195ae2801f2 100644 (file)
@@ -1 +1 @@
-4
+7
index bd496856d686ffa19fe3898e1438c0f53acfb4d5..740e7e3e9d08d6ff197791df9afae89d5c894f76 100644 (file)
@@ -1,15 +1,14 @@
 Source: cl-readline
 Source: cl-readline
-Section: devel
+Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
-Build-Depends: debhelper (>= 4.0.0), libreadline5-dev | libreadline-dev
-Standards-Version: 3.7.2.2
+Build-Depends: debhelper (>= 7.0.0), libreadline5-dev | libreadline-dev
+Standards-Version: 3.8.2.0
 
 Package: cl-readline
 Architecture: any
 Depends: ${shlibs:Depends}, common-lisp-controller, cl-uffi
 Description: Common Lisp interface to the GNU readline library
 
 Package: cl-readline
 Architecture: any
 Depends: ${shlibs:Depends}, common-lisp-controller, cl-uffi
 Description: Common Lisp interface to the GNU readline library
- This package uses UFFI to provide an interface to the GNU readline
- library for Common Lisp programs.
-
-
+ This package uses Common Lisp UFFI package to provide an
+ interface to the GNU readline library. This allows Common Lisp 
+ programs to use the readline library in their user interfaces.
index 21239e03c819ef3c96392b38c2d10fe5993bfc46..8cfb9fac2b2e32db242bbca93c3ed446004495b9 100755 (executable)
@@ -1,30 +1,11 @@
 #! /bin/sh
 set -e
 
 #! /bin/sh
 set -e
 
-# package name according to lisp
 LISP_PKG=readline
 
 LISP_PKG=readline
 
-# 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)
 case "$1" in
     configure)
-       /usr/sbin/register-common-lisp-source ${LISP_PKG}
+       register-common-lisp-source ${LISP_PKG}
        ;;
     abort-upgrade|abort-remove|abort-deconfigure)
        ;;
        ;;
     abort-upgrade|abort-remove|abort-deconfigure)
        ;;
@@ -34,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 58ae298fe1abadbf1baede756f0c0bc80ded6982..6e5b1d5a4454c8f90c2d96200d54afcdb3595108 100755 (executable)
@@ -3,21 +3,9 @@ set -e
 
 LISP_PKG=readline
 
 
 LISP_PKG=readline
 
-# 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)
 case "$1" in
     remove|upgrade|deconfigure)
-       /usr/sbin/unregister-common-lisp-source ${LISP_PKG}
+       unregister-common-lisp-source ${LISP_PKG}
         ;;
     failed-upgrade)
         ;;
         ;;
     failed-upgrade)
         ;;
@@ -27,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 5f75dc03796a1815d3a1fc8594e65e0f58bd071f..af34103ad630c09261402ffc9b57a7b29efa09e7 100755 (executable)
@@ -8,13 +8,11 @@ clc-systems   := usr/share/common-lisp/systems
 clc-files      := $(clc-source)/$(pkg)
 doc-dir                := usr/share/doc/$(debpkg)
 lib-dir                := usr/lib/cl-readline
 clc-files      := $(clc-source)/$(pkg)
 doc-dir                := usr/share/doc/$(debpkg)
 lib-dir                := usr/lib/cl-readline
-
 source-files   := $(wildcard *.lisp)
 
 configure: configure-stamp
 configure-stamp:
        dh_testdir
 source-files   := $(wildcard *.lisp)
 
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       # Add here commands to configure the package.
        touch configure-stamp
 
 
        touch configure-stamp
 
 
@@ -22,7 +20,6 @@ build: build-stamp
 
 build-stamp: configure-stamp 
        dh_testdir
 
 build-stamp: configure-stamp 
        dh_testdir
-       # Add here commands to compile the package.
        $(MAKE)
        touch build-stamp
 
        $(MAKE)
        touch build-stamp
 
@@ -30,7 +27,6 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
        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.*
        rm -f *.o *.so
        dh_clean
        rm -f debian/$(debpkg).postinst.* debian/$(debpkg).prerm.*
        rm -f *.o *.so
        dh_clean
@@ -38,44 +34,27 @@ clean:
 install: build
        dh_testdir
        dh_testroot
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
-       # Add here commands to install the package into debian/kmrcl.
+       dh_prep
        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 *.so $(lib-dir)
 
        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 *.so $(lib-dir)
 
-# Build architecture-independent files here.
 binary-indep: build install
 
 binary-indep: build install
 
-
-# Build architecture-dependent files here.
 binary-arch: build install
 binary-arch: build install
-       dh_testdir
-       dh_testroot
-#      dh_installdebconf       
-       dh_installdocs
-#      dh_installmenu
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_installinit
-#      dh_installcron
-#      dh_installman
-#      dh_installinfo
-#      dh_undocumented
-       dh_installchangelogs
-       dh_strip
-       dh_compress
-       dh_fixperms
-#      dh_makeshlibs
-       dh_installdeb
-#      dh_perl
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+       dh_testdir -a
+       dh_testroot -a
+       dh_installdocs -a
+       dh_installchangelogs -a
+       dh_strip -a
+       dh_compress -a
+       dh_fixperms -a
+       dh_installdeb -a
+       dh_shlibdeps -a
+       dh_gencontrol -a
+       dh_md5sums -a
+       dh_builddeb -a
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure
 
 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..8a5a9ff
--- /dev/null
@@ -0,0 +1 @@
+# There is no upstream download page. See the Vcs-Git repository.