diff --git a/debian/arch b/debian/arch
deleted file mode 100644
index 5a9a476a8b7b3a362fa7925b74bda4a771cba262..0000000000000000000000000000000000000000
--- a/debian/arch
+++ /dev/null
@@ -1 +0,0 @@
-i386
diff --git a/debian/autopackage.sh b/debian/autopackage.sh
index dff10acbca50799a308a676a97c2e49b6892fff9..b3cb825990fc7ea91066b8cab1ec5d60e7a745cb 100755
--- a/debian/autopackage.sh
+++ b/debian/autopackage.sh
@@ -76,8 +76,10 @@ cp changelog.Debian.gz $sfldir$sharedir/doc/sflphone
 cp copyright $sfldir$sharedir/doc/sflphone
 cp TODO $sfldir$sharedir/doc/sflphone
 
-# DEBIAN files
 mkdir -p $debdir 
+cp debian-binary $sfldir
+cp postrm $debdir
+# DEBIAN files
 # Create control file
 control="$debdir/control"
 touch $control
@@ -99,4 +101,4 @@ fakeroot dpkg --build $sfldir ${sfldir}_$2.deb
 
 # Clean up the generated stuff
 echo "Clean up ... "
-#rm -rf $sfldir 
+rm -rf $sfldir 
diff --git a/debian/control b/debian/control
index 32d483a8950d6c99cbf568bf0354aeffa2e775bc..bf0d3fd666e70203a245c34ab00b4b6b6f0ee61b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,15 +6,14 @@ Build-Depends: debhelper (>> 3.0.0)
 Standards-Version: 0.9.1
 
 Package: sflphone
-Architecture: i386
 Section: gnome
 Priority: optional
+Architecture: i386
 Essential: no
-Depends: libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , gnome-common , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libosip2-3, libexosip2-5, libcommoncpp2-1.5.3-0 , libccrtp1-1.5-1 , libiax0 , libgtkglext1
+Depends: libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libosip2-2, libexosip2-4, libcommoncpp2-1.6-0 , libccrtp1-1.6-0  , sflphone-iax2 , libgsm1 (>=1.0.10) , libspeex1 (>=1.1.12) , dbus-c++-1 (>=0.5.0) , libsexy2 (>=0.1.11)
 Homepage: http://www.sflphone.org
-Description: SFLphone - Answer the call
- SFLphone is meant to be a robust enterprise-class desktop phone. It is design with a hundred-calls-a-day receptionist in mind. It can work for you, too.
- .
+Description: SIP and IAX2 compatible softphone
+ SFLphone is meant to be a robust enterprise-class desktop phone.
  SFLphone is released under the GNU General Public License.
- .
- SFLphone is being developed by the global community, and maintained by Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company.
+ SFLphone is being developed by the global community, and maintained by
+ Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company.
diff --git a/debian/debian-binary b/debian/debian-binary
new file mode 100644
index 0000000000000000000000000000000000000000..cd5ac039d67e0bdadb17976e4ac39f0ffe6bb6e4
--- /dev/null
+++ b/debian/debian-binary
@@ -0,0 +1 @@
+2.0
diff --git a/debian/postrm b/debian/postrm
new file mode 100755
index 0000000000000000000000000000000000000000..56801250786e23c392e1598602ed8593b4c64ff5
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# debian/postrm postremoval script for SFLphone
+
+if [ "$1" = "purge" ]
+then
+
+  # remove the user config file
+  rm -f $HOME/.sflphone/sflphonedrc
+
+fi
+
+exit 0
+
+## -------------------------------------------------
diff --git a/debian/rules b/debian/rules
index efde01dd03e95702fef9e90f0c6e0c0cfd5ed9bf..110e88d2256c17cad8b2f0c36a9cddc8b2c05a54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,10 +35,12 @@ endif
 config.status: configure
 	dh_testdir
 	# Add here commands to configure the package.
-	autoreconf --install	
-	CFLAGS="$(CFLAGS)" CXX="$(CXX)" ./configure --prefix=/usr --with-debug
+#autoreconf --install	
+#CFLAGS="$(CFLAGS)" CXX="$(CXX)" ./configure --prefix=/usr --with-debu
+	./configure --prefix=/
+#gnome-autogen.sh --prefix=/usr --with-debug
 	cd sflphone-gtk
-	gnome-autogen.sh --prefix=/usr
+	./configure --prefix=/
 	
 
 #Architecture 
@@ -48,7 +50,8 @@ build-arch: build-arch-stamp
 build-arch-stamp:  config.status
 
 	# Add here commands to compile the arch part of the package.
-	#$(MAKE) 
+	$(MAKE) && (cd sflphone-gtk)
+	$(MAKE)
 	touch build-arch-stamp
 
 build-indep: build-indep-stamp
@@ -96,7 +99,7 @@ install-arch:
 
 	# Add here commands to install the arch part of the package into 
 	# debian/tmp.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/sflphoned
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/sflphone/usr
 
 	dh_install -s
 # Must not depend on anything. This is to be called by
diff --git a/debian/sflphone.install b/debian/sflphone.install
new file mode 100644
index 0000000000000000000000000000000000000000..7e7915dafd83894ad61e23a94368b0baca82fa00
--- /dev/null
+++ b/debian/sflphone.install
@@ -0,0 +1,29 @@
+usr/bin
+usr/bin/sflphoned
+usr/bin/sflphone-gtk
+usr/bin/sflphone
+
+#/usr/lib
+usr/lib/sflphone/codecs
+usr/lib/sflphone/codecs/libcodec_*
+
+#/usr/share/applications
+usr/share/applications
+usr/share/applications/sflphone.desktop
+usr/share/dbus-1/services 
+usr/share/dbus-1/services/org.sflphone.SFLphone.service
+usr/share/pixmaps
+usr/share/pixmaps/sflphone.png
+
+usr/share/sflphone/*
+usr/share/sflphone/ringtones/* 
+
+usr/share/locale/fr/LC_MESSAGES
+usr/share/locale/fr/LC_MESSAGES/sflphone.mo
+usr/share/locale/es/LC_MESSAGES
+usr/share/locale/es/LC_MESSAGES/sflphone.mo
+
+changelog.Debian.gz 
+copyright 
+TODO 
+