--- ocaml-expat-0.9.1+debian1.orig/debian/docs
+++ ocaml-expat-0.9.1+debian1/debian/docs
@@ -0,0 +1 @@
+README
--- ocaml-expat-0.9.1+debian1.orig/debian/copyright
+++ ocaml-expat-0.9.1+debian1/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Enrico Tassi <gareuselesinge@debian.org> on
+Sun, 23 Jan 2005 16:33:21 +0100.
+
+It was downloaded from http://www.xs4all.nl/~mmzeeman/ocaml/
+
+Copyright (C) 2002-2003 Maas-Maarten Zeeman
+
+Upstream Author: Maas-Maarten Zeeman
+
+License:
+
+     Permission is hereby granted, free of charge, to any person obtaining
+     a copy of this document and the ocaml-expat software ("the Software"),
+     to deal in the Software without restriction, including without
+     limitation the rights to use, copy, modify, merge, publish,
+     distribute, sublicense, and/or sell copies of the Software, and to
+     permit persons to whom the Software is furnished to do so, subject to
+     the following conditions:
+     
+     The above copyright notice and this permission notice shall be
+     included in all copies or substantial portions of the Software.
+     
+     The Software is provided ``as is'', without warranty of any kind,
+     express or implied, including but not limited to the warranties of
+     merchantability, fitness for a particular purpose and noninfringement.
+     In no event shall Maas-Maarten Zeeman be liable for any claim, damages
+     or other liability, whether in an action of contract, tort or
+     otherwise, arising from, out of or in connection with the Software or
+     the use or other dealings in the software.
--- ocaml-expat-0.9.1+debian1.orig/debian/changelog
+++ ocaml-expat-0.9.1+debian1/debian/changelog
@@ -0,0 +1,107 @@
+ocaml-expat (0.9.1+debian1-7) unstable; urgency=low
+
+  [ Stéphane Glondu ]
+  * Fix CDBS include order (Closes: #569267)
+
+  [ Enrico Tassi ]
+  * Maintainer is now Debian OCaml Maintainers, I'm in Uploaders 
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Sun, 14 Feb 2010 15:52:28 +0100
+
+ocaml-expat (0.9.1+debian1-6) unstable; urgency=low
+
+  [ Stephane Glondu ]
+  * Use ocaml.mk as a CDBS "rules" file (Closes: #549715)
+
+  [ Enrico Tassi ]
+  * Switch packaging to git
+  * ported to new dh-ocaml
+  * added debian/libexpat-ocaml-dev.ocamldoc
+  * Section: ocaml
+  * Fixed VCS-Browse field in control file
+  * Bumped standards-version to 3.8.3, no changes
+  * debian/compat set to 7, fixed build dependency accordingly
+  * fixed copyright file adding years of copyright holding
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Wed, 11 Nov 2009 17:33:24 +0100
+
+ocaml-expat (0.9.1+debian1-5) unstable; urgency=low
+
+  * Rebuild against 3.11
+  * Updated standards-version to 3.8.0, no changes needed
+  * Added dh-ocaml do build-depends
+  * Adopted @OCamlStdlibDir@ and @OCamlStdlibDir@
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Mon, 09 Mar 2009 22:27:20 +0100
+
+ocaml-expat (0.9.1+debian1-4) unstable; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * fix vcs-svn field to point just above the debian/ dir
+
+  [ Enrico Tassi ]
+  * rebuild agains ocaml 3.10.1
+  * added Homepage control field
+  * bumped standards version to 3.7.3
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Sat, 09 Feb 2008 16:45:17 +0100
+
+ocaml-expat (0.9.1+debian1-3) unstable; urgency=low
+
+  * rebuilt against 3.10.0
+  * moved rules to ocaml CDBS class
+  * removed libexpat-ocaml-dev.docs since ocamldoc is now called by the CDBS
+    class
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Mon, 03 Sep 2007 15:29:06 +0100
+
+ocaml-expat (0.9.1+debian1-1) unstable; urgency=low
+
+  * Removed spurious directory from the orig.tgz (Closes: #379793)
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Fri, 28 Jul 2006 10:22:57 +0200
+
+ocaml-expat (0.9.1-5) unstable; urgency=low
+
+  * rebuilt against ocaml 3.09.2
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Thu, 18 May 2006 19:30:53 +0200
+
+ocaml-expat (0.9.1-4) unstable; urgency=low
+
+  * rebuilt against ocaml 3.09.1
+  * added documentation (Closes: #310491)
+  * maintainer email updated to gareuselesinge@debian.org
+
+ -- Enrico Tassi <gareuselesinge@debian.org>  Sat, 14 Jan 2006 11:13:42 +0100
+
+ocaml-expat (0.9.1-3) unstable; urgency=low
+
+  * rebuilt against ocaml 3.09.0
+  * moved debian/rules to cdbs
+  * no more ocaml-version hardcoded inside any file. @OCamlABI@ is substituted
+    in any FILE.in file (except control.in) at build time by the ocamlinit:
+    rule producing the corresponding FILE in debian/.
+
+ -- Enrico Tassi <gareuselesinge@users.sourceforge.net>  Sat, 26 Nov 2005 22:15:07 +0100
+
+ocaml-expat (0.9.1-2) unstable; urgency=low
+
+  * no more useless /usr/lib/ocaml/ocaml/3.08.3/stublibs is created
+    (closes: Bug#303908)
+
+ -- Enrico Tassi <gareuselesinge@users.sourceforge.net>  Sat,  9 Apr 2005 21:02:42 +0200
+
+ocaml-expat (0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Rebuilt against ocaml 3.08.3
+
+ -- Enrico Tassi <gareuselesinge@users.sourceforge.net>  Wed, 29 Mar 2005 11:32:27 +0100
+
+ocaml-expat (0.9.0-1) unstable; urgency=low
+
+  * Initial Release (Closes: Bug#291966).
+
+ -- Enrico Tassi <gareuselesinge@users.sourceforge.net>  Sun, 23 Jan 2005 16:33:21 +0100
+
--- ocaml-expat-0.9.1+debian1.orig/debian/README.source
+++ ocaml-expat-0.9.1+debian1/debian/README.source
@@ -0,0 +1 @@
+Please refer to /usr/share/doc/dpatch/README.source.gz
--- ocaml-expat-0.9.1+debian1.orig/debian/libexpat-ocaml.install.in
+++ ocaml-expat-0.9.1+debian1/debian/libexpat-ocaml.install.in
@@ -0,0 +1,2 @@
+debian/tmp/@OCamlStdlibDir@/expat/dll*.so @OCamlDllDir@
+
--- ocaml-expat-0.9.1+debian1.orig/debian/libexpat-ocaml-dev.dirs.in
+++ ocaml-expat-0.9.1+debian1/debian/libexpat-ocaml-dev.dirs.in
@@ -0,0 +1 @@
+@OCamlStdlibDir@/expat/
--- ocaml-expat-0.9.1+debian1.orig/debian/compat
+++ ocaml-expat-0.9.1+debian1/debian/compat
@@ -0,0 +1 @@
+7
--- ocaml-expat-0.9.1+debian1.orig/debian/gbp.conf
+++ ocaml-expat-0.9.1+debian1/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
--- ocaml-expat-0.9.1+debian1.orig/debian/libexpat-ocaml.dirs.in
+++ ocaml-expat-0.9.1+debian1/debian/libexpat-ocaml.dirs.in
@@ -0,0 +1 @@
+@OCamlStdlibDir@/stublibs
--- ocaml-expat-0.9.1+debian1.orig/debian/libexpat-ocaml-dev.ocamldoc
+++ ocaml-expat-0.9.1+debian1/debian/libexpat-ocaml-dev.ocamldoc
@@ -0,0 +1 @@
+# This file must be non-empty
--- ocaml-expat-0.9.1+debian1.orig/debian/control
+++ ocaml-expat-0.9.1+debian1/debian/control
@@ -0,0 +1,32 @@
+Source: ocaml-expat
+Priority: optional
+Section: ocaml
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Enrico Tassi <gareuselesinge@debian.org>
+Build-Depends: debhelper (>= 7), libexpat1-dev, ocaml-nox (>= 3.10.1), dpatch, ocaml-findlib (>= 1.1), cdbs, dh-ocaml (>= 0.9)
+Standards-Version: 3.8.3
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-expat.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-expat.git;a=summary
+Homepage: http://www.xs4all.nl/~mmzeeman/ocaml/
+
+Package: libexpat-ocaml-dev
+Section: ocaml
+Architecture: any
+Depends: libexpat1-dev, ocaml-findlib (>= 1.1), ${misc:Depends}, ${shlibs:Depends}, ${ocaml:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml expat bindings
+ This Objective Caml library provides XML parsing facilities based on the expat
+ library.
+ .
+ This package contains the developpment part of the OCaml expat package.
+
+Package: libexpat-ocaml
+Section: libs
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${ocaml:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml expat bindings
+ This Objective Caml library provides XML parsing facilities based on the expat
+ library.
+ .
+ This package contains only the shared runtime stub libraries.
--- ocaml-expat-0.9.1+debian1.orig/debian/rules
+++ ocaml-expat-0.9.1+debian1/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/ocaml.mk
+
+DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR)
+OCAML_OCAMLDOC_PACKAGES= $(OCAML_LIBDEV_PACKAGES)
+
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+	DEB_MAKE_BUILD_TARGET = allopt NO_CUSTOM=y
+else
+	DEB_MAKE_BUILD_TARGET = all NO_CUSTOM=y
+endif
+
--- ocaml-expat-0.9.1+debian1.orig/debian/libexpat-ocaml-dev.install.in
+++ ocaml-expat-0.9.1+debian1/debian/libexpat-ocaml-dev.install.in
@@ -0,0 +1,4 @@
+debian/tmp/@OCamlStdlibDir@/expat/META
+debian/tmp/@OCamlStdlibDir@/expat/*.a
+debian/tmp/@OCamlStdlibDir@/expat/*.cm*
+debian/tmp/@OCamlStdlibDir@/expat/*.ml*
--- ocaml-expat-0.9.1+debian1.orig/debian/patches/Makefile.dpatch
+++ ocaml-expat-0.9.1+debian1/debian/patches/Makefile.dpatch
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Makefile.dpatch by  <tassi@garfield>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix makefile to use findlib and destdir properly
+
+@DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile	2005-03-13 15:00:29.000000000 +0100
++++ trunk/Makefile	2006-09-17 15:11:20.000000000 +0200
+@@ -49,9 +49,13 @@
+ ## Installation
+ .PHONY: install
+ install: all
+-	{ test ! -f $(XARCHIVE) || extra="$(XARCHIVE) $(NAME).a"; }; \
+-	$(OCAMLFIND) install $(NAME) META $(NAME).cmi $(NAME).mli $(ARCHIVE) \
+-	dll$(CARCHIVE_NAME).so lib$(CARCHIVE_NAME).a $$extra
++	mkdir -p $(DESTDIR)
++	{ test ! -f $(XARCHIVE) || extra="$(XARCHIVE) $(NAME).a $(NAME).cmx"; }; \
++		$(OCAMLFIND) install \
++			-destdir $(DESTDIR) \
++			-ldconf ignore \
++			$(NAME) META $(NAME).cmi $(NAME).mli $(ARCHIVE) \
++		dll$(CARCHIVE_NAME).so lib$(CARCHIVE_NAME).a $$extra
+ 
+ .PHONY: uninstall
+ uninstall:
--- ocaml-expat-0.9.1+debian1.orig/debian/patches/00dpatch.conf
+++ ocaml-expat-0.9.1+debian1/debian/patches/00dpatch.conf
@@ -0,0 +1,2 @@
+conf_origtargzpath=../upstream/
+conf_debianonlyconf_debianonly=1
--- ocaml-expat-0.9.1+debian1.orig/debian/patches/00list
+++ ocaml-expat-0.9.1+debian1/debian/patches/00list
@@ -0,0 +1 @@
+Makefile
