Updates for new debian standards

This commit is contained in:
Kevin Rosenberg
2009-08-02 01:36:49 -06:00
parent feebbfdc40
commit 25ee26514d
9 changed files with 35 additions and 68 deletions

11
debian/changelog vendored
View File

@ -1,3 +1,14 @@
cl-puri (1.5.1-2) 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:36:28 -0600
cl-puri (1.5.1-1) unstable; urgency=low cl-puri (1.5.1-1) unstable; urgency=low
* New upstream * New upstream

2
debian/compat vendored
View File

@ -1 +1 @@
4 7

10
debian/control vendored
View File

@ -1,13 +1,15 @@
Source: cl-puri Source: cl-puri
Section: devel Section: lisp
Priority: optional Priority: optional
Maintainer: Kevin M. Rosenberg <kmr@debian.org> Maintainer: Kevin M. Rosenberg <kmr@debian.org>
Build-Depends: debhelper (>= 4.0.0) Build-Depends: debhelper (>= 7.0.0)
Standards-Version: 3.7.2.2 Standards-Version: 3.8.2.0
Homepage: http://files.b9.com/puri/
Vcs-Git: git://git.b9.com/puri/
Package: cl-puri Package: cl-puri
Architecture: all Architecture: all
Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.47) Depends: common-lisp-controller (>= 3.47)
Recommends: cl-ptester Recommends: cl-ptester
Description: Common Lisp Portable URI Library Description: Common Lisp Portable URI Library
This is portable Universal Resource Identifier (RFC 2396) This is portable Universal Resource Identifier (RFC 2396)

2
debian/copyright vendored
View File

@ -22,7 +22,7 @@ merchantability or fitness for a particular purpose. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
The GNU Lessor General Public License can be found in your Debian file The GNU Lessor General Public License can be found in your Debian file
system in /usr/share/common-licenses/LGPL. system in /usr/share/common-licenses/LGPL-3.
Preamble to the Gnu Lesser General Public License Preamble to the Gnu Lesser General Public License
------------------------------------------------- -------------------------------------------------

21
debian/postinst vendored
View File

@ -3,24 +3,6 @@ set -e
LISP_PKG=puri LISP_PKG=puri
# 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 case "$1" in
configure) configure)
/usr/sbin/register-common-lisp-source ${LISP_PKG} /usr/sbin/register-common-lisp-source ${LISP_PKG}
@ -33,9 +15,6 @@ case "$1" in
;; ;;
esac esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER# #DEBHELPER#
exit 0 exit 0

17
debian/prerm vendored
View File

@ -3,21 +3,9 @@ set -e
LISP_PKG=puri LISP_PKG=puri
# 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 case "$1" in
remove|upgrade|deconfigure) 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# #DEBHELPER#
exit 0 exit 0

36
debian/rules vendored
View File

@ -3,64 +3,52 @@
pkg := puri pkg := puri
debpkg := cl-puri debpkg := cl-puri
clc-source := usr/share/common-lisp/source clc-source := usr/share/common-lisp/source
clc-systems := usr/share/common-lisp/systems clc-systems := usr/share/common-lisp/systems
clc-puri := $(clc-source)/$(pkg) clc-puri := $(clc-source)/$(pkg)
doc-dir := usr/share/doc/$(debpkg) doc-dir := usr/share/doc/$(debpkg)
configure: configure-stamp configure: configure-stamp
configure-stamp: configure-stamp:
dh_testdir dh_testdir
# Add here commands to configure the package.
touch configure-stamp touch configure-stamp
build: build-stamp build: build-stamp
build-stamp: configure-stamp build-stamp: configure-stamp
dh_testdir dh_testdir
# Add here commands to compile the package.
touch build-stamp touch build-stamp
clean: clean:
dh_testdir dh_testdir
dh_testroot dh_testroot
rm -f build-stamp configure-stamp rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
rm -f debian/cl-puri.postinst.* debian/cl-puri.prerm.* rm -f debian/cl-puri.postinst.* debian/cl-puri.prerm.*
dh_clean dh_clean
install: build install: build
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_prep
# Add here commands to install the package into debian/puri.
dh_installdirs $(clc-systems) $(clc-puri) dh_installdirs $(clc-systems) $(clc-puri)
dh_install *.asd $(shell echo *.lisp) $(clc-puri) dh_install *.asd $(shell echo *.lisp) $(clc-puri)
dh_link $(clc-puri)/puri.asd $(clc-systems)/puri.asd dh_link $(clc-puri)/puri.asd $(clc-systems)/puri.asd
# Build architecture-independent files here.
binary-indep: build install binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installdocs -i README uri.html
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-arch: build install
dh_testdir
dh_testroot
dh_installdocs README uri.html
dh_installchangelogs
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure .PHONY: build clean binary-indep binary-arch binary install configure

2
debian/upload.sh vendored
View File

@ -1,3 +1,3 @@
#!/bin/bash -e #!/bin/bash -e
dup puri -Uftp.b9.com -D/home/ftp/puri -C"(umask 022; /home/kevin/bin/remove-old-versions puri latest)" -su $* dup puri -Ufiles.b9.com -D/home/ftp/puri -C"(umask 022; /home/kevin/bin/remove-old-versions puri latest)" -su $*

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://files.b9.com/puri/puri-([\d\.]*)\.tar\.gz