debian: Switch to the 3.0 git format, update version, fix depends

Switch to the git format as this can generate the source directly
from the git checkout. Increase the version number to 0.1.27 as this
is the latest tag, depend on autoconf, automake and libtool and use
autoreconf when building to be able to directly build from a git
clone.
diff --git a/debian/changelog b/debian/changelog
index 5783127..4c103cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libosmocore (0.1.27) natty; urgency=low
+
+  * New upstream version of libosmocore.
+
+ -- Holger Hans Peter Freyther <holger@freyther.de>  Thu, 13 Jan 2011 18:07:36 +0800
+
 libosmocore (0.1.17-1) unstable; urgency=low
 
   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
diff --git a/debian/control b/debian/control
index 1348ec3..164fc38 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Harald Welte <laforge@gnumonks.org>
-Build-Depends: debhelper (>= 7.0.50~), autotools-dev
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, autoconf, automake, libtool, dh-autoreconf
 Standards-Version: 3.8.4
 Homepage: http://bb.osmocom.org/trac/wiki/libosmocore
 Vcs-Git: git://git.osmocom.org/libosmocore.git
diff --git a/debian/rules b/debian/rules
index a81850a..15f78f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@
 CFLAGS = -Wall -g
 
 %:
-	dh $@ 
+	dh --with autoreconf $@ 
 
 #override_dh_strip:
 #	dh_strip --dbg-package=libosmocore-dbg
diff --git a/debian/source/format b/debian/source/format
index 163aaf8..af745b3 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (quilt)
+3.0 (git)