--- haskell-datetime-0.2.orig/debian/rules
+++ haskell-datetime-0.2/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
--- haskell-datetime-0.2.orig/debian/watch
+++ haskell-datetime-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|(.*)/$|datetime-$1.tar.gz|" \
+ http://hackage.haskell.org/packages/archive/datetime \
+ ([\d\.]*\d)/
--- haskell-datetime-0.2.orig/debian/control
+++ haskell-datetime-0.2/debian/control
@@ -0,0 +1,65 @@
+Source: haskell-datetime
+Priority: extra
+Section: haskell
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
+Build-Depends:
+ debhelper (>= 7),
+ haskell-devscripts (>= 0.7),
+ cdbs,
+ ghc6,
+ ghc6-prof,
+ ghc6-doc,
+ libghc6-quickcheck2-dev,
+ libghc6-quickcheck2-prof,
+ libghc6-quickcheck2-doc
+Standards-Version: 3.8.4
+Homepage: http://hackage.haskell.org/package/datetime
+Vcs-Darcs: http://darcs.debian.org/darcs/pkg-haskell/haskell-datetime
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-datetime
+
+Package: libghc6-datetime-dev
+Architecture: any
+Depends:
+ ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: ${haskell:Suggests}
+Recommends: ${haskell:Recommends}
+Provides: ${haskell:Provides}
+Description: Haskell library to convert date and time formats - GHC 6 libraries
+ This Haskell library provides several utilities for easily converting among the
+ various standard library Date and Time types, and for converting
+ between these and standard external representations.
+ .
+ This package contains the libraries compiled for GHC 6.
+
+Package: libghc6-datetime-prof
+Architecture: any
+Depends:
+ ${haskell:Depends},
+ ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Recommends: ${haskell:Recommends}
+Provides: ${haskell:Provides}
+Description: Haskell library to convert date and time formats - GHC 6 profiling libraries
+ This Haskell library provides several utilities for easily converting among the
+ various standard library Date and Time types, and for converting
+ between these and standard external representations.
+ .
+ This package contains the profiling libraries compiled for GHC 6.
+
+Package: libghc6-datetime-doc
+Section: doc
+Architecture: all
+Depends:
+ ${haskell:Depends},
+ ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Recommends: ${haskell:Recommends}
+Description: Haskell library to convert date and time formats - documentation
+ This Haskell library provides several utilities for easily converting among the
+ various standard library Date and Time types, and for converting
+ between these and standard external representations.
+ .
+ This package contains the library documentation.
--- haskell-datetime-0.2.orig/debian/copyright
+++ haskell-datetime-0.2/debian/copyright
@@ -0,0 +1,18 @@
+Format-Specification: http://dep.debian.net/deps/dep5
+Name: Haskell library to convert date and time data among different formats
+Maintainer: Eric Sessoms <nubgames@gmail.com>
+Source: http://hackage.haskell.org/package/texmath
+
+Files: *
+Copyright: © 2008-2009 Eric Sessoms <nubgames@gmail.com>
+License: GPL
+ On Debian GNU/Linux systems, the complete text of the GNU General Public
+ License Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+Files: debian/*
+Copyright: © 2009-2010 Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
+License: GPL-3+
+ The Debian packaging information is under the GPL, version 3 or later. On
+ Debian GNU/Linux systems, the complete text of the GNU General Public License
+ Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
--- haskell-datetime-0.2.orig/debian/compat
+++ haskell-datetime-0.2/debian/compat
@@ -0,0 +1 @@
+7
\ No newline at end of file
--- haskell-datetime-0.2.orig/debian/libghc6-datetime-doc.doc-base
+++ haskell-datetime-0.2/debian/libghc6-datetime-doc.doc-base
@@ -0,0 +1,10 @@
+Document: haskell-datetime-api
+Title: Documentation for the haskell datetime library
+Author: Eric Sessoms
+Abstract: datetime is a Haskell library to convert date and time data
+ among different formats.
+Section: Programming/Haskell
+
+Format: HTML
+Index: /usr/share/doc/libghc6-datetime-doc/html/index.html
+Files: /usr/share/doc/libghc6-datetime-doc/html/*.html
--- haskell-datetime-0.2.orig/debian/changelog
+++ haskell-datetime-0.2/debian/changelog
@@ -0,0 +1,32 @@
+haskell-datetime (0.2-1) unstable; urgency=low
+
+ [ Giovanni Mascellani ]
+ * debian/copyright: link moved to GPL-3
+
+ [ Marco Túlio Gontijo e Silva ]
+ * 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: 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.
+ * debian/control: Remove uneeded Build-Depends: in libghc6-time-*.
+
+ [ Joachim Breitner ]
+ * Bump haskell-devscripts dependency to 0.7
+ * New upstream version (can use quickcheck 2)
+
+ -- Joachim Breitner <nomeata@debian.org> Sat, 20 Feb 2010 16:56:20 +0100
+
+haskell-datetime (0.1-1) unstable; urgency=low
+
+ [Giovanni Mascellani]
+ * Initial release. (closes: #562758)
+
+ [Joachim Breitner]
+ * Add QuickCheck < 2 constraint via debian/rules
+
+ -- Giovanni Mascellani <mascellani@poisson.phc.unipi.it> Fri, 08 Jan 2010 15:54:30 +0100