--- haskell-dataenc-0.13.0.2.orig/debian/rules
+++ haskell-dataenc-0.13.0.2/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+# Standard way of building Haskell libraries .
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
--- haskell-dataenc-0.13.0.2.orig/debian/watch
+++ haskell-dataenc-0.13.0.2/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|dataenc-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/dataenc \
+    ([\d\.]*\d)/
--- haskell-dataenc-0.13.0.2.orig/debian/control
+++ haskell-dataenc-0.13.0.2/debian/control
@@ -0,0 +1,56 @@
+Source: haskell-dataenc
+Priority: extra
+Section: haskell
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Erik de Castro Lopo <erikd@mega-nerd.com>
+Build-Depends:
+ debhelper (>= 7),
+ haskell-devscripts (>= 0.7),
+ cdbs,
+ ghc6,
+ ghc6-prof,
+ ghc6-doc
+Standards-Version: 3.8.4
+Homepage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dataenc
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-dataenc
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-dataenc
+
+Package: libghc6-dataenc-dev
+Architecture: any
+Depends: ${haskell:Depends}, ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: A Haskell library of data encoders and decoders
+ .
+ Data encoding library currently providing Base16, Base32, Base32Hex, Base64,
+ Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,
+ uuencode, xxencode, and yEncoding. 
+ .
+ This package contains the libraries compiled for GHC 6.
+
+Package: libghc6-dataenc-prof
+Architecture: any
+Depends: ${haskell:Depends}, ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: Profiling libraries for dataenc encoders and decoders
+ .
+ Data encoding library currently providing Base16, Base32, Base32Hex, Base64,
+ Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,
+ uuencode, xxencode, and yEncoding. 
+ .
+ This package contains the profiling libraries compiled for GHC 6.
+
+Package: libghc6-dataenc-doc
+Section: doc
+Architecture: all
+Depends: ${haskell:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: Documentation for dataenc encoders and decoders
+ .
+ Data encoding library currently providing Base16, Base32, Base32Hex, Base64,
+ Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,
+ uuencode, xxencode, and yEncoding. 
+ .
+ This package contains the library documentation.
--- haskell-dataenc-0.13.0.2.orig/debian/libghc6-dataenc-doc.doc-base
+++ haskell-dataenc-0.13.0.2/debian/libghc6-dataenc-doc.doc-base
@@ -0,0 +1,11 @@
+Document: libghc6-dataenc-doc
+Title: Manual for the Haskell dataenc library
+Abstract: Data encoding library currently providing Base16, Base32, Base32Hex,
+ Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, URL
+ encoding, uuencode, xxencode, and yEncoding. 
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libghc6-dataenc-doc/html/doc-index.html
+Files: /usr/share/doc/libghc6-dataenc-doc/html/*.html
+ /usr/share/doc/libghc6-dataenc-doc/html/src/*.html
--- haskell-dataenc-0.13.0.2.orig/debian/copyright
+++ haskell-dataenc-0.13.0.2/debian/copyright
@@ -0,0 +1,44 @@
+This package was originally debianised by Erik de Castro Lopo
+<erikd@mega-nerd.com>  Tue, 16 Jun 2009.
+
+It was downloaded from the Haskell hackage repository at
+http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dataenc
+
+
+Copyright:
+
+  Copyright (c) 2007, Magnus Therning
+  All rights reserved.
+
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are met:
+
+      - Redistributions of source code must retain the above copyright notice,
+        this list of conditions and the following disclaimer.
+
+      - Redistributions in binary form must reproduce the above copyright notice,
+        this list of conditions and the following disclaimer in the documentation
+        and/or other materials provided with the distribution.
+
+      - Neither the name of the <ORGANIZATION> nor the names of its contributors
+        may be used to endorse or promote products derived from this software
+        without specific prior written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+  ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+  ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+Debian packaging copyright:
+
+  (C) 2009 Erik de Castro Lopo <erikd@mega-nerd.com>
+
+  All changes by Erik de Castro Lopo may be redistributed under the same
+  terms as haskell-dataenc itself.
--- haskell-dataenc-0.13.0.2.orig/debian/compat
+++ haskell-dataenc-0.13.0.2/debian/compat
@@ -0,0 +1 @@
+5
--- haskell-dataenc-0.13.0.2.orig/debian/changelog
+++ haskell-dataenc-0.13.0.2/debian/changelog
@@ -0,0 +1,39 @@
+haskell-dataenc (0.13.0.2-1) unstable; urgency=low
+
+  [ Marco Túlio Gontijo e Silva ]
+  * debian/control: Change Priority: to extra.
+  * debian/watch: Use format that works for --download-current-version.
+  * debian/watch: Add .tar.gz to downloaded filename.
+  * debian/watch: Include package name in downloaded .tar.gz.
+  * debian/watch: Remove spaces, since they're not allowed by uscan.
+  * debian/control: Add field Provides: ${haskell:Provides} to -dev and
+    -prof packages.
+  * debian/control: Use Vcs-Browser: field.
+  * debian/control: Remove dependency in hscolour, since it's now a
+    dependency of haskell-devscripts.
+  * debian/control: Remove haddock from Build-Depends:, since it's now a
+    Depends: of haskell-devscripts.
+  * debian/control: Bump Standards-Version: to 3.8.4, no changes needed.
+
+  [ Joachim Breitner ]
+  * Bump haskell-devscripts dependency to 0.7
+  * New upstream version
+
+ -- Joachim Breitner <nomeata@debian.org>  Sat, 13 Feb 2010 11:58:26 +0100
+
+haskell-dataenc (0.13.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control
+    - Maintainer is now Debian Haskell Group.
+    - Add myself to uploaders.
+    - Standards version 3.8.3.
+    - Add Vcs-Darcs entry.
+
+ -- Erik de Castro Lopo <erikd@mega-nerd.com>  Sun, 11 Oct 2009 21:23:32 +1100
+
+haskell-dataenc (0.13.0.0-1) unstable; urgency=low
+
+  * Initial debian package. Closes: #476927.
+
+ -- Erik de Castro Lopo <erikd@mega-nerd.com>  Tue, 16 Jun 2009 19:22:43 +1000
