summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-08 11:58:01 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-08 11:58:01 +0100
commit41fdeae7911932fe6d4bfb5d4bd903a3d2a42846 (patch)
treefd62d6effd6d550711220c8363a2670096c98c9e
parentb37639798c64eda6c3bf31ef9a69fecaf009b930 (diff)
Debian: Fix a number of packaging bugs.
darcs-hash:63388c926ac1c17af8c8b748049158b49cb9fa26
-rwxr-xr-xdebian/buildpackage.sh20
-rw-r--r--debian/changelog2
-rw-r--r--debian/control4
-rw-r--r--debian/copyright2
-rwxr-xr-xdebian/rules2
5 files changed, 25 insertions, 5 deletions
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) <nnnn is the bug number of your ITP>
+ * Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Matthias Andreas Benkard <matthias@benkard.de> 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 <matthias@benkard.de>
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 <mulk@wirselkraut> 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