--- cl-parse-number-1.0.orig/debian/control +++ cl-parse-number-1.0/debian/control @@ -0,0 +1,14 @@ +Source: cl-parse-number +Section: devel +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>> 4.0.0) +Standards-Version: 3.7.2 + +Package: cl-parse-number +Architecture: all +Depends: common-lisp-controller (>= 3.37) +Description: Provides functions to parse any Common Lisp number string + A Common Lisp package which provides functions to parse a string and + extract a number according to the syntax given in the Common Lisp + standard. --- cl-parse-number-1.0.orig/debian/changelog +++ cl-parse-number-1.0/debian/changelog @@ -0,0 +1,14 @@ +cl-parse-number (1.0-2) unstable; urgency=low + + * QA Upload + * Set Maintainer to QA Group, Orphaned: #377921 + * Move Debhelper from B-D-I to B-D + * Conforms with Latest standards version + + -- Michael Ablassmeier Mon, 31 Jul 2006 15:24:11 +0200 + +cl-parse-number (1.0-1) unstable; urgency=low + + * Initial release. (Closes: #168875) + + -- Matthew Danish Wed, 13 Nov 2002 01:18:07 -0500 --- cl-parse-number-1.0.orig/debian/copyright +++ cl-parse-number-1.0/debian/copyright @@ -0,0 +1,34 @@ +Debian Copyright Section +======================== + +Upstream Source URL: http://www.mapcar.org/~mrd/utilities/ +Upstream Author: Matthew Danish +Debian Maintainer: Matthew Danish + +Upstream Copyright Statement +============================ + +Copyright (c) 2002 Matthew Danish +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- cl-parse-number-1.0.orig/debian/postinst +++ cl-parse-number-1.0/debian/postinst @@ -0,0 +1,52 @@ +#! /bin/sh +# postinst script for lml +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=parse-number + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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} + + ;; + + 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 + + --- cl-parse-number-1.0.orig/debian/prerm +++ cl-parse-number-1.0/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for lml +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=parse-number + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# 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} + ;; + 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 + + --- cl-parse-number-1.0.orig/debian/rules +++ cl-parse-number-1.0/debian/rules @@ -0,0 +1,89 @@ +#!/usr/bin/make -f + +export DH_COMPAT=4 + +pkg := parse-number +debpkg := cl-parse-number + +files := parse-number.lisp +examples := +docs := README.Debian + +clc-source := usr/share/common-lisp/source +clc-systems := usr/share/common-lisp/systems +clc-pkg := $(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 + + +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 + +install: build + dh_testdir + dh_testroot + dh_clean -k + # Add here commands to install the package into debian/$(pkg). + dh_installdirs $(clc-systems) $(clc-pkg) $(doc-dir) + chmod 644 $(files) $(pkg).asd $(examples) + dh_install $(pkg).asd $(files) $(clc-pkg) + dh_install $(docs) $(doc-dir) + dh_link $(clc-pkg)/$(pkg).asd $(clc-systems)/$(pkg).asd + +# Build architecture-independent files here. +binary-indep: build install + + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples $(examples) + dh_link +# 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 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + --- cl-parse-number-1.0.orig/README.Debian +++ cl-parse-number-1.0/README.Debian @@ -0,0 +1,9 @@ +cl-parse-number for Debian +-------------------------- + +You can run the tests as follows: + +(require :parse-number) +(parse-number::run-tests) + +See http://www.mapcar.org/~mrd/utilities/ for up-to-date documentation. --- cl-parse-number-1.0.orig/parse-number.asd +++ cl-parse-number-1.0/parse-number.asd @@ -0,0 +1,4 @@ +;;;; -*- Mode: Lisp -*- + +(asdf:defsystem parse-number + :components ((:file "parse-number")))