--- ocaml-ogg-0.3.1.orig/debian/control
+++ ocaml-ogg-0.3.1/debian/control
@@ -0,0 +1,31 @@
+Source: ocaml-ogg
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Samuel Mimram <smimram@debian.org>, Romain Beauxis <toots@rastageeks.org>
+Build-Depends: cdbs, cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, dh-ocaml (>= 0.9), debhelper, libogg-dev, ocaml-findlib (>= 1.2.4), pkg-config
+Standards-Version: 3.8.3
+Homepage: http://savonet.sourceforge.net/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ogg.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-ogg.git
+
+Package: libogg-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for the Ogg bitstream library
+ Libogg is a library for manipulating ogg bitstreams. It handles
+ both making ogg bitstreams and getting packets from ogg bitstreams.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libogg-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, libogg-dev, libogg-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for the Ogg bitstream library
+ Libogg is a library for manipulating ogg bitstreams. It handles
+ both making ogg bitstreams and getting packets from ogg bitstreams.
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use ogg.
--- ocaml-ogg-0.3.1.orig/debian/libogg-ocaml-dev.docs
+++ ocaml-ogg-0.3.1/debian/libogg-ocaml-dev.docs
@@ -0,0 +1,2 @@
+README
+doc/html
--- ocaml-ogg-0.3.1.orig/debian/rules
+++ ocaml-ogg-0.3.1/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/ocaml.mk
+
+# In order to regenerate 'debian/control' :
+#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
+# Then check manually if everything's ok
+
+DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
+DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+
+build/libogg-ocaml-dev::
+	mkdir -p $(DESTDIR)
+	make doc
+
+clean::
+	rm -rf Makefile src/Makefile src/META doc config.log config.status
--- ocaml-ogg-0.3.1.orig/debian/watch
+++ ocaml-ogg-0.3.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/savonet/ocaml-ogg-(.+)\.tar\.gz
--- ocaml-ogg-0.3.1.orig/debian/changelog
+++ ocaml-ogg-0.3.1/debian/changelog
@@ -0,0 +1,72 @@
+ocaml-ogg (0.3.1-1) unstable; urgency=low
+
+  * New upstream release 
+  * Bumped standards version to 3.8.3
+  * Use new automatic dependency system
+  * Change section to ocaml
+  * Clean generated files in debian/rules clean
+
+ -- Romain Beauxis <toots@rastageeks.org>  Mon, 12 Oct 2009 04:46:08 -0500
+
+ocaml-ogg (0.3.0-1) unstable; urgency=low
+
+  * New Upstream Version.
+  * Switch packaging to git.
+  * Use dh-ocaml's variables for paths.
+  * Update compat to 7.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 22 Feb 2009 13:53:45 +0100
+
+ocaml-ogg (0.2.0-2) experimental; urgency=low
+
+  * New upload to experimental to build against ocaml 3.11.
+  * Versioned ocaml-related build-dep to avoid confusion.
+  * Switched to cdbs
+  * Added dh-ocaml to build-deps.
+  * Updated standards to 3.8.0.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sat, 13 Dec 2008 23:45:01 +0100
+
+ocaml-ogg (0.2.0-1) unstable; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * fix vcs-svn field to point just above the debian/ dir
+
+  [ Julien Cristau ]
+  * Fix FTBFS with new dpkg-dev by setting CFLAGS correctly in
+    debian/rules (closes: 476058).
+
+  [ Romain Beauxis ]
+  * New upstream release, now installs .cmx file
+  * Changed maintainer to Debian OCaml Maintainers
+  * Updated standards to 3.7.3
+  * Removed redundant and buggy make invokation with CFLAGS
+    in debian/rules
+
+ -- Romain Beauxis <toots@rastageeks.org>  Wed, 16 Apr 2008 16:07:56 +0100
+
+ocaml-ogg (0.1.1-3) unstable; urgency=low
+
+  * Full build-depency..
+
+ -- Romain Beauxis <toots@rastageeks.org>  Fri, 16 Nov 2007 12:09:18 +0100
+
+ocaml-ogg (0.1.1-2) unstable; urgency=low
+
+  * Added ocamlfind to build dependencies.
+    Closes: #451100
+
+ -- Romain Beauxis <toots@rastageeks.org>  Fri, 16 Nov 2007 12:07:02 +0100
+
+ocaml-ogg (0.1.1-1) unstable; urgency=low
+
+  * New upstream version
+  * New maintainer, under Sam's request
+
+ -- Romain Beauxis <toots@rastageeks.org>  Mon, 05 Nov 2007 14:08:53 +0100
+
+ocaml-ogg (0.1.0-1) unstable; urgency=low
+
+  * Initial release, closes: #446924.
+
+ -- Samuel Mimram <smimram@debian.org>  Tue, 23 Oct 2007 19:15:31 +0100
--- ocaml-ogg-0.3.1.orig/debian/libogg-ocaml.install.in
+++ ocaml-ogg-0.3.1/debian/libogg-ocaml.install.in
@@ -0,0 +1 @@
+@OCamlStdlibDir@/ogg/dllogg_stubs.so @OCamlDllDir@
--- ocaml-ogg-0.3.1.orig/debian/compat
+++ ocaml-ogg-0.3.1/debian/compat
@@ -0,0 +1 @@
+7
--- ocaml-ogg-0.3.1.orig/debian/control.in
+++ ocaml-ogg-0.3.1/debian/control.in
@@ -0,0 +1,31 @@
+Source: ocaml-ogg
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Samuel Mimram <smimram@debian.org>, Romain Beauxis <toots@rastageeks.org>
+Build-Depends: @cdbs@, debhelper, libogg-dev, ocaml-findlib (>= 1.2.4), pkg-config
+Standards-Version: 3.8.3
+Homepage: http://savonet.sourceforge.net/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ogg.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-ogg.git
+
+Package: libogg-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for the Ogg bitstream library
+ Libogg is a library for manipulating ogg bitstreams. It handles
+ both making ogg bitstreams and getting packets from ogg bitstreams.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libogg-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, libogg-dev, libogg-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for the Ogg bitstream library
+ Libogg is a library for manipulating ogg bitstreams. It handles
+ both making ogg bitstreams and getting packets from ogg bitstreams.
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use ogg.
--- ocaml-ogg-0.3.1.orig/debian/libogg-ocaml-dev.doc-base
+++ ocaml-ogg-0.3.1/debian/libogg-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libogg-ocaml-dev
+Title: OCaml Ogg module documentation
+Author: Samuel Mimram
+Abstract: Documentation of the OCaml Ogg module
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libogg-ocaml-dev/html/index.html
+Files: /usr/share/doc/libogg-ocaml-dev/html/*
--- ocaml-ogg-0.3.1.orig/debian/copyright
+++ ocaml-ogg-0.3.1/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Samuel Mimram <smimram@debian.org> on
+Tue, 23 Oct 2007 19:20:42 +0100.
+
+It was downloaded from <http://savonet.sourceforge.net/>
+
+Upstream Author: Samuel Mimram <samuel.mimram@ens-lyon.org>
+
+Copyright: Copyright © 2007 Samuel Mimram
+
+License:
+
+  License for this package is the GNU Lesser General Public
+  License, with the aditional exception:
+
+<----
+As a special exception to the GNU Library General Public License, you may
+link, statically or dynamically, a "work that uses the Library" with a publicly
+distributed version of the Library to produce an executable file containing
+portions of the Library, and distribute that executable file under terms of
+your choice, without any of the additional requirements listed in clause 6
+of the GNU Library General Public License.
+By "a publicly distributed version of the Library", we mean either the unmodified
+Library as distributed by INRIA, or a modified version of the Library that is
+distributed under the conditions defined in clause 3 of the GNU Library General
+Public License. This exception does not however invalidate any other reasons why
+the executable file might be covered by the GNU Library General Public License.
+<----
+
+    You should have received a copy of the GNU Lesser 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 Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+The Debian packaging is © 2007, Samuel Mimram <smimram@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
--- ocaml-ogg-0.3.1.orig/debian/gbp.conf
+++ ocaml-ogg-0.3.1/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
--- ocaml-ogg-0.3.1.orig/debian/libogg-ocaml-dev.install.in
+++ ocaml-ogg-0.3.1/debian/libogg-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+@OCamlStdlibDir@/ogg/META
+@OCamlStdlibDir@/ogg/*.a
+@OCamlStdlibDir@/ogg/*.cm*
+@OCamlStdlibDir@/ogg/*.ml*
+@OCamlStdlibDir@/ogg/*.h
