--- python-otr-0.2.1.orig/debian/pycompat
+++ python-otr-0.2.1/debian/pycompat
@@ -0,0 +1 @@
+2
--- python-otr-0.2.1.orig/debian/python-otr.doc-base
+++ python-otr-0.2.1/debian/python-otr.doc-base
@@ -0,0 +1,9 @@
+Document: python-otr
+Title: Python-otr Documentation
+Author: Kjell Braden <fnord@pentabarf.de>
+Abstract: This Documentation contains a Reference Guide and a basic "How to use" for python-otr
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-otr/html/index.html
+Files: /usr/share/doc/python-otr/html/*.html
--- python-otr-0.2.1.orig/debian/copyright
+++ python-otr-0.2.1/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Kjell Braden <fnord@pentabarf.de> on
+Sat, 03 May 2008 17:42:09 +0200.
+
+It was downloaded from http://python-otr.pentabarf.de/download.html
+
+Upstream Author: 
+
+    Kjell Braden <fnord@pentabarf.de>
+
+Copyright: 
+
+    Copyright 2008 Kjell Braden
+
+License:
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is (C) 2008, Kjell Braden <fnord@pentabarf.de> and
+is licensed under the GPL, see above.
--- python-otr-0.2.1.orig/debian/compat
+++ python-otr-0.2.1/debian/compat
@@ -0,0 +1 @@
+5
--- python-otr-0.2.1.orig/debian/watch
+++ python-otr-0.2.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://python-otr.pentabarf.de/download.html releases\/python-otr-(.*)\.tar\.gz
--- python-otr-0.2.1.orig/debian/changelog
+++ python-otr-0.2.1/debian/changelog
@@ -0,0 +1,6 @@
+python-otr (0.2.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #492621)
+
+ -- Kjell Braden <fnord@pentabarf.de>  Mon, 28 Jul 2008 17:29:43 +0200
+
--- python-otr-0.2.1.orig/debian/rules
+++ python-otr-0.2.1/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+build/python-otr:: html-stamp
+
+build/python-otr-dbg::
+	set -e; \
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup.py build; \
+	done
+
+install/python-otr-dbg::
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-otr-dbg; \
+	done
+	find debian/python-otr-dbg \
+		! -type d ! -name '*.so' | xargs rm -f
+	find debian/python-otr-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-otr-dbg::
+	rm -rf debian/python-otr-dbg/usr/share/doc/python-otr-dbg
+	ln -s python-otr debian/python-otr-dbg/usr/share/doc/python-otr-dbg
+
+clean::
+	rm -f otr.py otr_wrap.c
+	rm -f html-stamp
+	rm -rf html build
+
+html-stamp:
+	./builddocs html
+	touch html-stamp
--- python-otr-0.2.1.orig/debian/python-otr.install
+++ python-otr-0.2.1/debian/python-otr.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*
--- python-otr-0.2.1.orig/debian/python-otr.docs
+++ python-otr-0.2.1/debian/python-otr.docs
@@ -0,0 +1 @@
+html
--- python-otr-0.2.1.orig/debian/control
+++ python-otr-0.2.1/debian/control
@@ -0,0 +1,26 @@
+Source: python-otr
+Section: python
+Priority: optional
+Maintainer: Kjell Braden <fnord@pentabarf.de>
+Build-Depends: cdbs, debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all-dbg, libotr2-dev (>= 3.2.0), python-support (>= 0.5.3), xmlto, swig (>= 1.3.0)
+Standards-Version: 3.8.0
+Homepage: http://python-otr.pentabarf.de/
+
+Package: python-otr
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for OTR encryption
+ Python-otr is a set of Python bindings for libotr (see the
+ http://www.cypherpunks.ca/otr/ for more information). This gives developers
+ the posibility to implement Off-the-Record encryption for their python-based
+ Instant Messaging clients.
+
+Package: python-otr-dbg
+Architecture: any
+Priority: extra
+Depends: python-otr (= ${binary:Version}), python-dbg, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for OTR encryption (debugging extension)
+ This package contains debug symbols for python-otr.
