From 889cd0c134643a71dd8272cf2294276d054d6057 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Fri, 1 Jul 2011 23:18:20 -0600 Subject: [PATCH] Add debian directory --- debian/README.Debian | 7 ++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 ++++++++++++++++ debian/copyright | 33 +++++++++++++++++++++++++++ debian/docs | 3 +++ debian/rules | 53 ++++++++++++++++++++++++++++++++++++++++++++ debian/source/format | 1 + debian/upload.sh | 6 +++++ debian/watch | 2 ++ 10 files changed, 130 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100755 debian/upload.sh create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..a1e8739 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,7 @@ +This library also requires the Common Lisp +cl-store and zlib libraries. Currently, these +libraries will have to be manually downloaded +and installed as Debian does not have those +libraries in its repository. + + -- Kevin M. Rosenberg , Fri, 1 Jul 2011 23:15:07 -0600 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a2c9c20 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cl-memstore (1.0-1) unstable; urgency=low + + * Initial version + + -- Kevin M. Rosenberg Fri, 01 Jul 2011 23:11:38 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e06e309 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: cl-memstore +Section: lisp +Priority: optional +Maintainer: Kevin M. Rosenberg +Build-Depends-Indep: dh-lisp +Build-Depends: debhelper (>= 7.0.0) +Depends: cl-kmrcl +Standards-Version: 3.9.2.0 +Homepage: http://files.b9.com/memstore/ +Vcs-Git: git://git.b9.com/memstore.git +Vcs-Browser: http://git.b9.com/?p=memstore.git + +Package: cl-memstore +Architecture: all +Depends: ${misc:Depends}, cl-rt +Description: Memstore library for Common Lisp Programs + This package contains the Common Lisp memstore library. + This library provides high-level object serialization, including + optional compression as well as an interface to the memcached protcol. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d4e8e28 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Kevin M. Rosenberg on +Fri, 01 Jul 2011 23:07:47 -0600 + +It was downloaded from http://files.b9.com/memstore + +Upstream Author: Kevin M. Rosenberg + +Copyright (C) 2011 by Kevin M. Rosenberg. +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. Neither the name of the author nor the names of the contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``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 AUTHORS OR CONTRIBUTORS 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. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..49d454d --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +README.md +debian/README.Debian + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bd47a3d --- /dev/null +++ b/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +pkg := memstore +pkg-tests := $(pkg)-tests +debpkg := cl-$(pkg) + +clc-source := usr/share/common-lisp/source +clc-systems := usr/share/common-lisp/systems +clc-files := $(clc-source)/$(pkg) +clc-tests := $(clc-source)/$(pkg-tests) + +tests-files := tests.lisp +source-files := $(filter-out $(tests-files),$(wildcard *.lisp)) + + +build: build-arch build-indep + +build-arch: + +build-indep: + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_install $(pkg).asd $(source-files) $(clc-files) + dh_install $(pkg-tests).asd $(tests-files) $(clc-tests) + +binary-indep: install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_lisp + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep + + +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upload.sh b/debian/upload.sh new file mode 100755 index 0000000..09f07e2 --- /dev/null +++ b/debian/upload.sh @@ -0,0 +1,6 @@ +#!/bin/bash -e + +dup memstore -Ufiles.b9.com -D/home/ftp/memstore -C"(umask 022; cd /srv/www/html/memstore; make install)" -su $* + + + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..001f371 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://files.b9.com/memstore/memstore-([\d\.]*)\.tar\.gz -- 2.34.1