--- convlit-1.8.orig/debian/watch
+++ convlit-1.8/debian/watch
@@ -0,0 +1,7 @@
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# <Webpage URL> <string match>
+http://www.kyzer.me.uk/pack/convlit/ open_c-lit-([.0-9]*)\.tar\.gz
--- convlit-1.8.orig/debian/copyright
+++ convlit-1.8/debian/copyright
@@ -0,0 +1,87 @@
+This package was debianized by Joe Nahmias <jello@debian.org> on
+Sun, 23 Mar 2008 23:55:42 -0400.
+
+It was downloaded from <http://www.kyzer.me.uk/pack/convlit/>
+
+Upstream Authors:
+
+  lib/des/*:
+
+    Richard Outerbridge
+
+  lib/newlzx/lzx.h, lib/newlzx/lxzd.c, lib/newlzx/mspack.h, lib/newlzx/system.h:
+
+    Stuart Caie <kyzer@4u.net>
+
+  lib/sha/*:
+
+    Steve Reid <steve@edmweb.com>
+    Aaron D. Gifford <agifford@infowest.com>
+
+  All others:
+
+    Dan A. Jackson <drs@convertlit.com>, <djs@jacko.demon.co.uk>
+
+Copyright:
+
+  lib/des/*:
+
+    Copyright (c) 1988,1989,1990,1991,1992 by Richard Outerbridge
+
+  lib/newlzx/lzx.h, lib/newlzx/lxzd.c, lib/newlzx/mspack.h, lib/newlzx/system.h:
+
+    Copyright (C) 2003-2004 Stuart Caie
+
+  lib/sha/*:
+
+   NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN
+
+  All others:
+
+    Copyright (C) 2004 Digital Rights Software
+    Copyright (C) 2002 - 2004 Dan A. Jackson
+
+License:
+
+  clit18/hexdump.c:
+
+    Public Domain
+
+  lib/des/*:
+
+    THIS SOFTWARE PLACED IN THE PUBLIC DOMAIN BY THE AUTHOUR
+    920825 19:42 EDST
+
+  lib/newlzx/lzx.h, lib/newlzx/lxzd.c, lib/newlzx/mspack.h, lib/newlzx/system.h:
+
+    libmspack is free software; you can redistribute it and/or modify it under
+    the terms of the GNU Lesser General Public License (LGPL) version 2.1
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+  lib/sha/*:
+
+    NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN
+
+  All others:
+
+    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; either version 2 of the License, or
+    (at your option) any later version.
+ 
+    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'.
+
+The Debian packaging is (C) 2008, Joe Nahmias <jello@debian.org> and
+is licensed under the GPL, see above.
--- convlit-1.8.orig/debian/install
+++ convlit-1.8/debian/install
@@ -0,0 +1 @@
+clit18/clit usr/bin
--- convlit-1.8.orig/debian/docs
+++ convlit-1.8/debian/docs
@@ -0,0 +1 @@
+README
--- convlit-1.8.orig/debian/control
+++ convlit-1.8/debian/control
@@ -0,0 +1,15 @@
+Source: convlit
+Section: utils
+Priority: extra
+Maintainer: Joe Nahmias <jello@debian.org>
+Build-Depends: debhelper (>= 6), libtommath-dev
+Standards-Version: 3.7.3
+Homepage: http://www.convertlit.com/
+
+Package: convlit
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: convert Microsoft Reader .LIT files to HTML
+ This program will extract "DRM1" format .LIT files into their original
+ XML/HTML.  If you have the appropriate "keys.txt" file with your private
+ EBook keys, you can also convert "DRM5" files to "DRM1".
--- convlit-1.8.orig/debian/clit.1
+++ convlit-1.8/debian/clit.1
@@ -0,0 +1,52 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH CLIT 1 "March 23, 2008"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.SH NAME
+clit \- program to manipulate Microsoft Reader .LIT files
+.SH SYNOPSIS
+.RB "1.  " clit
+.RI [ options ] " litfile.lit" " " subdir/
+.br
+.RB "2.  " clit
+.RI [ options ] " oldfile.lit" " " newfile.lit
+.br
+.RB "3.  " clit
+.RI [ options ] " oldfile.lit" " " newfile.lit " " inscription
+.SH DESCRIPTION
+This manual page documents briefly the \fBclit\fP command.
+.PP
+\fBConvLIT\fP is a program to convert Microsoft Reader format eBooks
+[\fILIT\fP] into an open format.  \fBclit\fP supports three modes
+of operation:
+.IP 1.
+\fBExplosion\fP: expanding a \fILIT\fP file into an OEBPS compliant package,
+that is the original \fIXML\fP / \fIHTML\fP source.
+.IP 2.
+\fBDownconverting\fP: converts to \fIDRM1\fP format, also known as
+\fBsealing\fP the \fILIT\fP file.
+.IP 3.
+\fBInscribing\fP: similar to #2, this adds a label, or \fIinscription\fP,
+to the ebook to mark that it belongs to you.
+.SH OPTIONS
+A summary of options is included below.
+For a complete description, run the program without any arguments.
+.TP
+.B \-d
+Disable creating multiple subdirectories.
+.TP
+.B \-h
+Show summary of options.
+.TP
+.B \-k " " \fI/path/to/keys.txt\fP
+The \fIDRM5\fP key file is assumed to be called \fIkeys.txt\fP and located in
+the current directory.  If not, use this option to instruct \fBConvLIT\fP
+where to find the key file.
+.SH AUTHOR
+\fBConvLIT\fP was written by Dan A. Jackson <drs@convertlit.com>.
+.PP
+This manual page was written by Joe Nahmias <jello@debian.org>,
+for the Debian project (but may be used by others).
--- convlit-1.8.orig/debian/rules
+++ convlit-1.8/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS := -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
+else
+    CFLAGS += -O2
+endif
+export CFLAGS
+
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE) -C $(CURDIR)/lib
+	$(MAKE) -C $(CURDIR)/clit18
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	$(MAKE) -C $(CURDIR)/clit18  clean
+	$(MAKE) -C $(CURDIR)/lib     clean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_install
+
+binary-indep:
+# do nothing
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_installman debian/clit.1
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- convlit-1.8.orig/debian/compat
+++ convlit-1.8/debian/compat
@@ -0,0 +1 @@
+6
--- convlit-1.8.orig/debian/changelog
+++ convlit-1.8/debian/changelog
@@ -0,0 +1,6 @@
+convlit (1.8-1) unstable; urgency=low
+
+  * Initial release, closes: #472586.
+  * Added manpage clit(1).
+
+ -- Joe Nahmias <jello@debian.org>  Thu, 29 May 2008 00:59:04 -0400
