--- odt2txt-0.2+git20070106.orig/debian/control
+++ odt2txt-0.2+git20070106/debian/control
@@ -0,0 +1,18 @@
+Source: odt2txt
+Section: text
+Priority: optional
+Maintainer: Nelson A. de Oliveira <naoliv@debian.org>
+Build-Depends: cdbs, debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: odt2txt
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: simple converter from OpenDocument Text to plain text
+ odt2txt extracts the text out of OpenDocument Texts, as produced by
+ OpenOffice.org, KOffice, StarOffice and others. It is small and
+ fast, can output the document in many encodings and adopts to your
+ locale.
+ .
+  Homepage: http://stosberg.net/odt2txt/
+XB-Tag: implemented-in::c, interface::commandline, role::program, scope::utility, use::converting, use::viewing, works-with::text
--- odt2txt-0.2+git20070106.orig/debian/manpages
+++ odt2txt-0.2+git20070106/debian/manpages
@@ -0,0 +1 @@
+debian/odt2txt.1
--- odt2txt-0.2+git20070106.orig/debian/changelog
+++ odt2txt-0.2+git20070106/debian/changelog
@@ -0,0 +1,20 @@
+odt2txt (0.2+git20070106-2~bpo.1) etch-backports; urgency=low
+
+  * Backport to Etch.
+
+ -- Nelson A. de Oliveira <naoliv@debian.org>  Fri, 04 May 2007 23:56:05 -0300
+
+odt2txt (0.2+git20070106-2) unstable; urgency=low
+
+  * Added mime support and a tip in README.Debian. A big thank you to Charles
+    Plessy!
+  * Added tags on debian/control.
+
+ -- Nelson A. de Oliveira <naoliv@debian.org>  Fri, 12 Jan 2007 23:37:01 -0200
+
+odt2txt (0.2+git20070106-1) unstable; urgency=low
+
+  * Initial release (Closes: #406495).
+
+ -- Nelson A. de Oliveira <naoliv@debian.org>  Thu, 11 Jan 2007 03:01:32 -0200
+
--- odt2txt-0.2+git20070106.orig/debian/copyright
+++ odt2txt-0.2+git20070106/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Nelson A. de Oliveira <naoliv@debian.org> on
+Thu, 11 Jan 2007 03:01:32 -0200.
+
+It was downloaded from http://stosberg.net/odt2txt/
+
+Upstream Author: Dennis Stosberg <dennis@stosberg.net>
+
+Copyright: 2006,2007 Dennis Stosberg <dennis@stosberg.net>
+Uses the kunzip library, Copyright 2005,2006 by Michael Kohn <mike@mikekohn.net>
+
+Both odt2txt and kunzip are released under GNU GPL-2.
+
+License:
+
+   This package 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, under version 2 of the License.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2007, Nelson A. de Oliveira <naoliv@debian.org> and
+is licensed under the GPL, see above.
--- odt2txt-0.2+git20070106.orig/debian/install
+++ odt2txt-0.2+git20070106/debian/install
@@ -0,0 +1 @@
+odt2txt usr/bin
--- odt2txt-0.2+git20070106.orig/debian/odt2txt.1
+++ odt2txt-0.2+git20070106/debian/odt2txt.1
@@ -0,0 +1,55 @@
+.TH ODT2TXT "1" "Thu, 11 Jan 2007 03:07:45 -0200" "odt2txt 0.2" "User Commands"
+.SH NAME
+odt2txt \- a simple converter from OpenDocument Text to plain text
+.SH DESCRIPTION
+odt2txt converts an OpenDocument Text to raw text.
+.PP
+Syntax:   odt2txt [options] filename
+.PP
+Options:  \fB\-\-raw\fR         Print raw XML
+.TP
+\fB\-\-encoding\fR=\fIX\fR
+Do not try to autodetect the terminal encoding, but
+convert the document to encoding X unconditionally
+To find out, which terminal encoding will be used in
+auto mode, use \fB\-\-encoding\fR=\fIshow\fR
+.TP
+\fB\-\-width\fR=\fIX\fR
+Wrap text lines after X characters. Default: 65.
+If set to \fB\-1\fR then no lines will be broken
+.HP
+\fB\-\-output\fR=\fIfile\fR Write output to file, instead of STDOUT
+.TP
+\fB\-\-subst\fR=\fIX\fR
+Select which non\-ascii characters shall be replaced
+by ascii look\-a\-likes:
+.TP
+\fB\-\-subst\fR=\fIall\fR
+Substitute all characters for which
+substitutions are known
+.TP
+\fB\-\-subst\fR=\fIsome\fR
+Substitute all characters which the
+output charset does not contain
+This is the default
+.TP
+\fB\-\-subst\fR=\fInone\fR
+Substitute no characters
+.TP
+\fB\-\-force\fR
+Do not stop if the mimetype if unknown
+.TP
+\fB\-\-version\fR
+Show version and copyright information
+.SH COPYRIGHT
+Copyright \(co 2006,2007 Dennis Stosberg <dennis@stosberg.net>
+Uses the kunzip library, Copyright 2005,2006 by Michael Kohn
+.PP
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License,
+version 2 as published by the Free Software Foundation
+.PP
+Homepage: http://stosberg.net/odt2txt/
+.PP
+This manual page was written by Nelson A. de Oliveira <naoliv@debian.org>,
+for the Debian project (but may be used by others).
--- odt2txt-0.2+git20070106.orig/debian/watch
+++ odt2txt-0.2+git20070106/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://stosberg.net/odt2txt/ odt2txt-(.*)\.tar\.gz
--- odt2txt-0.2+git20070106.orig/debian/README.Debian
+++ odt2txt-0.2+git20070106/debian/README.Debian
@@ -0,0 +1,8 @@
+Tip: If you use the mailreader "mutt", add
+
+auto_view application/vnd.oasis.opendocument.text
+
+to your .muttrc to automatically convert the attached OpenDocuments
+you receive to text.
+
+-- Charles Plessy <charles-debian-nospam@plessy.org>  Sat, 13 Jan 2007 09:47:07 +0900
--- odt2txt-0.2+git20070106.orig/debian/rules
+++ odt2txt-0.2+git20070106/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
--- odt2txt-0.2+git20070106.orig/debian/mime
+++ odt2txt-0.2+git20070106/debian/mime
@@ -0,0 +1 @@
+application/vnd.oasis.opendocument.text; /usr/bin/odt2txt '%s'; copiousoutput; description="OpenDocument Text"; nametemplate=%s.odt; priority=0
--- odt2txt-0.2+git20070106.orig/debian/compat
+++ odt2txt-0.2+git20070106/debian/compat
@@ -0,0 +1 @@
+5
--- odt2txt-0.2+git20070106.orig/debian/dirs
+++ odt2txt-0.2+git20070106/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
