From 41fdeae7911932fe6d4bfb5d4bd903a3d2a42846 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 8 Mar 2008 11:58:01 +0100 Subject: Debian: Fix a number of packaging bugs. darcs-hash:63388c926ac1c17af8c8b748049158b49cb9fa26 --- debian/buildpackage.sh | 20 ++++++++++++++++++++ debian/changelog | 2 +- debian/control | 4 ++-- debian/copyright | 2 +- debian/rules | 2 +- 5 files changed, 25 insertions(+), 5 deletions(-) create mode 100755 debian/buildpackage.sh diff --git a/debian/buildpackage.sh b/debian/buildpackage.sh new file mode 100755 index 0000000..862eda0 --- /dev/null +++ b/debian/buildpackage.sh @@ -0,0 +1,20 @@ +#! /bin/sh + +TMPDIR=PACKAGES + +VERSION=`grep -e "^VERSION =" version.make | sed "s/^.*= //"` +mkdir -p "$TMPDIR" +darcs get . "$TMPDIR/objective-cl-${VERSION}" +cd "$TMPDIR" +rm -rf `find objective-cl-${VERSION} -name '_darcs'` +cp -a ../Documentation "objective-cl-${VERSION}/" +cd "objective-cl-${VERSION}" +autoreconf +chmod +x debian/rules +cd .. +tar czf "cl-objective-cl_${VERSION}.orig.tar.gz" "objective-cl-${VERSION}" +cd "objective-cl-${VERSION}" +dpkg-buildpackage -rfakeroot +cd .. +rm -rf "objective-cl-${VERSION}" +cd .. diff --git a/debian/changelog b/debian/changelog index 54b184b..34667cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ cl-objective-cl (0.2.1-1) unstable; urgency=low - * Initial release (Closes: #nnnn) + * Initial release. (Closes: #nnnn) -- Matthias Andreas Benkard Sat, 08 Mar 2008 01:54:55 +0100 diff --git a/debian/control b/debian/control index 2392806..c168590 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,13 @@ Source: cl-objective-cl Priority: extra Maintainer: Matthias Andreas Benkard Build-Depends: debhelper (>= 5), libffi-dev, gnustep-make, libgnustep-gui-dev -Standards-Version: 3.7.2 +Standards-Version: 3.7.3 Section: libs Package: cl-objective-cl Section: libs Architecture: all -Depends: ${misc:Depends}, cl-objective-cl-cffi (= ${Source-Version}), cl-cffi, cl-trivial-garbage, cl-split-sequence, cl-closer-mop +Depends: ${misc:Depends}, cl-objective-cl-cffi (>= ${source:Version}), cl-objective-cl-cffi (<< ${source:Version}.1~), cl-cffi, cl-trivial-garbage, cl-split-sequence, cl-closer-mop, cl-asdf, common-lisp-controller Description: A portable Objective-C bridge for Common Lisp Objective-CL lets a Lisp programmer make use of Objective-C frameworks by providing a bridge that neatly integrates Objective-C classes and diff --git a/debian/copyright b/debian/copyright index 2324570..af63912 100644 --- a/debian/copyright +++ b/debian/copyright @@ -17,7 +17,7 @@ License: /usr/share/common-licenses/LGPL-3 for details. The Debian packaging is (C) 2008, Matthias Benkard and -is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +is licensed under the GPL, see `/usr/share/common-licenses/LGPL-3'. The license expressed in the file COPYING.PyObjC applies to the following files in the `Objective-C/PyObjC' directory: diff --git a/debian/rules b/debian/rules index b273738..6956d06 100755 --- a/debian/rules +++ b/debian/rules @@ -26,7 +26,7 @@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp - $(MAKE) clean + $(MAKE) distclean dh_clean -- cgit v1.2.3