--- fig2sxd-0.20.orig/debian/watch
+++ fig2sxd-0.20/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/fig2sxd/fig2sxd_(.*)\.orig\.tar\.gz
--- fig2sxd-0.20.orig/debian/compat
+++ fig2sxd-0.20/debian/compat
@@ -0,0 +1 @@
+5
--- fig2sxd-0.20.orig/debian/copyright
+++ fig2sxd-0.20/debian/copyright
@@ -0,0 +1,21 @@
+This program is available from http://fig2sxd.sourceforge.net.
+
+Upstream author and package maintainer:
+        Alexander Bürger <acfb@users.sourceforge.net>
+
+Copyright:
+
+fig2sxd
+Copyright (C) 2003-2008 Alexander Bürger, acfb@users.sourceforge.net
+
+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 2 of the License, or (at
+your option) 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.
+
+A copy of this license can be found in /usr/share/common-licenses/GPL.
--- fig2sxd-0.20.orig/debian/install
+++ fig2sxd-0.20/debian/install
@@ -0,0 +1 @@
+fig2sxd usr/bin
--- fig2sxd-0.20.orig/debian/changelog
+++ fig2sxd-0.20/debian/changelog
@@ -0,0 +1,178 @@
+fig2sxd (0.20-1.4.201403231129) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Sun, 23 Mar 2014 11:29:41 +0100
+
+fig2sxd (0.20-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Sun, 26 Oct 2008 17:38:00 +0100
+
+fig2sxd (0.19-1) unstable; urgency=low
+
+  * New upstream version.
+  * New Standards-Version 3.8.0, no changes.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Fri, 17 Oct 2008 21:38:00 +0200
+
+fig2sxd (0.18-1) unstable; urgency=low
+
+  * Set numeric locale to "C" at startup.
+  * Fix text placement problems by explicitly setting padding to 0cm.
+  * Use cdbs for building, updated standards version.
+  * Acknowledge NMU, bug report already closed and archived.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Thu, 22 May 2008 08:38:00 +0200
+
+fig2sxd (0.17-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix g++-4.3 FTBFS thanks to Cyril Brulebois (Closes: 455650).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sun, 16 Mar 2008 22:48:46 +0000
+
+fig2sxd (0.17-1) unstable; urgency=low
+
+  * Add includes for gcc 4.3 and other compilers. (closes: #417183)
+  * Support writing to stdout. Thanks for suggesting to Duncan Simpson
+    <duncan@oxbridgeapps.com>.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 16 May 2007 16:00:00 +0100
+
+fig2sxd (0.16-1) unstable; urgency=low
+
+  * Fixed problem described in sf.net bug report #1563135 by skipping more
+    comments. Comments between lines of one object still cause problems.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 22 Nov 2006 13:00:00 +0100
+
+fig2sxd (0.15-1) unstable; urgency=low
+
+  * Improved compatibility with OOo 2.
+  * Fixed wrong font name for Symbol font.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Tue, 21 Nov 2006 22:00:00 +0100
+
+fig2sxd (0.14-1) unstable; urgency=low
+
+  * Added range-checks for most/all? values in the input as specified in xfig's
+    FORMAT3.2. Now it does not crash any longer for the schemat.fig example
+    of jfig. Thanks to Patrice Moreaux (LISTIC, Universite de Savoie, France)
+    for pointing me at this problem.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 08 Feb 2006 22:00:00 +0100
+
+fig2sxd (0.13-1) unstable; urgency=low
+
+  * Added some #include <cmath> to get sqrt with g++-3.4. (closes: #262380)
+  * Improved capitalization of OpenOffice.org and XFig. (closes: #254041)
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Fri, 30 Jul 2004 23:00:00 +0100
+
+fig2sxd (0.12-1) unstable; urgency=low
+
+  * Fixed infinite loop when reading files with multi-line comments.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Thu, 29 Apr 2004 19:15:00 +0100
+
+fig2sxd (0.11-1) unstable; urgency=low
+
+  * Fixed bug in placement of rotated ellipses.
+  * Very basic support for LaTeX fonts.
+  * Tried to improve text placement for very small font sizes.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Tue, 20 Apr 2004 09:45:00 +0100
+
+fig2sxd (0.10-3) unstable; urgency=low
+
+  * Fix bad debian revision - the last one was no NMU.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 28 Jan 2004 19:45:00 +0100
+
+fig2sxd (0.10-2.1) unstable; urgency=low
+
+  * Fix packaging problem.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Tue, 27 Jan 2004 20:20:00 +0100
+
+fig2sxd (0.10-2) unstable; urgency=low
+
+  * Include dh_installdocs in debian/rules.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Mon, 26 Jan 2004 10:20:00 +0100
+
+fig2sxd (0.10-1) unstable; urgency=low
+
+  * Change packaging: not debian-native, build with -g, better debian/rules.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Sun, 25 Jan 2004 21:20:00 +0100
+
+fig2sxd (0.9a) unstable; urgency=low
+
+  * Fix package deficiencies discovered by lintian.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Thu, 22 Jan 2004 21:10:00 +0100
+
+fig2sxd (0.9) unstable; urgency=low
+
+  * Tried to make zipwrite independent of endianness.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 21 Jan 2004 11:30:00 +0100
+
+fig2sxd (0.8) unstable; urgency=low
+
+  * Write meta.xml, mimetype and manifest.xml; this makes including the
+    output in other OOo documents much easier.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Fri, 16 Jan 2004 16:50:00 +0100
+
+fig2sxd (0.7) unstable; urgency=low
+
+  * Add short option for linewidth.
+  * Position splines much better. Rest of malpositioning comes from different
+    shape of the splines.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Thu, 15 Jan 2004 11:20:00 +0100
+
+fig2sxd (0.6) unstable; urgency=low
+
+  * Fix bug in x-splines placing them completely wrong.
+  * Do not write control characters (below ' ').
+  * Add option to set line thickness for thickness 1.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 14 Jan 2004 14:00:00 +0100
+
+fig2sxd (0.5) unstable; urgency=low
+
+  * Skip invisible lines/fills.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 14 Jan 2004 09:47:00 +0100
+
+fig2sxd (0.4-1) unstable; urgency=low
+
+  * Better placement for font sizes < 7.
+  * Support for "Helvetica-Narrow".
+  * Stop using different layers for line and fill in filled, open objects.
+  * Support for more than 1000 layers.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Sun, 11 Jan 2004 16:17:00 +0100
+
+fig2sxd (0.3-1) unstable; urgency=low
+
+  * Guess output filename when just input file is given.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Wed, 7 Jan 2004 18:37:00 +0100
+
+fig2sxd (0.2-1) unstable; urgency=low
+
+  * Write sxd file directly.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Sat, 3 Jan 2004 15:12:00 +0100
+
+fig2sxd (0.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Alexander Bürger <acfb@users.sourceforge.net>  Sun, 28 Dec 2003 19:16:46 +0100
--- fig2sxd-0.20.orig/debian/control
+++ fig2sxd-0.20/debian/control
@@ -0,0 +1,15 @@
+Source: fig2sxd
+Section: graphics
+Priority: optional
+Maintainer: Alexander Bürger <acfb@users.sourceforge.net>
+Build-Depends: cdbs, debhelper (>= 5), libz-dev
+Standards-Version: 3.8.0
+Homepage: http://fig2sxd.sourceforge.net
+
+Package: fig2sxd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: openoffice.org, xfig, pstoedit
+Description: convert XFig files to OpenOffice.org format
+ This program converts a file in XFig format into a .sxd file for
+ OpenOffice.org Draw.
--- fig2sxd-0.20.orig/debian/rules
+++ fig2sxd-0.20/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+DEB_INSTALL_MANPAGES_fig2sxd := fig2sxd.1
