json-wheel (1.0.6-2) debian-dir only changes

Summary

 debian/changelog                          |   47 +++++++++++++++++++++
 debian/compat                             |    1 
 debian/control                            |   37 +++++++++++++++++
 debian/control.in                         |   35 ++++++++++++++++
 debian/copyright                          |   28 ++++++++++++
 debian/jsoncat.1                          |   65 ++++++++++++++++++++++++++++++
 debian/libjson-wheel-ocaml-dev.doc-base   |    8 +++
 debian/libjson-wheel-ocaml-dev.docs       |    2 
 debian/libjson-wheel-ocaml-dev.install.in |    5 ++
 debian/rules                              |   30 +++++++++++++
 debian/svn-deblayout                      |    1 
 debian/watch                              |    2 
 12 files changed, 261 insertions(+)

    
download this patch

Patch contents

--- json-wheel-1.0.6.orig/debian/changelog
+++ json-wheel-1.0.6/debian/changelog
@@ -0,0 +1,47 @@
+json-wheel (1.0.6-2) unstable; urgency=low
+
+  * Use ocaml.mk as a CDBS "rules" file (Closes: #549766)
+  * Switch packaging to dh-ocaml 0.9
+  * debian/control:
+    - downgrade dependency to ocaml-findlib to Recommends
+    - add myself to Uploaders
+    - move to section ocaml
+    - update Standards-Version to 3.8.3
+
+ -- Stéphane Glondu <glondu@debian.org>  Sat, 31 Oct 2009 20:50:00 +0100
+
+json-wheel (1.0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added build-dep on dh_ocaml.
+  * Updated install files to use new ocaml related variables.
+  * Versioned build-dep on ocamlnet.
+  * Updated compat to 7.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sat, 07 Mar 2009 19:26:58 +0100
+
+json-wheel (1.0.4-4) unstable; urgency=low
+
+  * Fixed wrong dh_install call
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sun, 10 Aug 2008 14:30:09 +0200
+
+json-wheel (1.0.4-3) unstable; urgency=low
+
+  * Really fix build on non native archs.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sun, 10 Aug 2008 11:16:09 +0200
+
+json-wheel (1.0.4-2) unstable; urgency=low
+
+  * Fixed build on non native archs
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sun, 10 Aug 2008 10:34:31 +0200
+
+json-wheel (1.0.4-1) unstable; urgency=low
+
+  * Initial release and upload to unstable
+    Closes: #493105
+
+ -- Romain Beauxis <toots@rastageeks.org>  Fri, 01 Aug 2008 08:55:56 +0200
+
--- json-wheel-1.0.6.orig/debian/libjson-wheel-ocaml-dev.docs
+++ json-wheel-1.0.6/debian/libjson-wheel-ocaml-dev.docs
@@ -0,0 +1,2 @@
+README
+html
--- json-wheel-1.0.6.orig/debian/libjson-wheel-ocaml-dev.doc-base
+++ json-wheel-1.0.6/debian/libjson-wheel-ocaml-dev.doc-base
@@ -0,0 +1,8 @@
+Document: libjson-wheel-ocaml-doc-ocamldoc-api-reference
+Title: Json-wheel OCamldoc API Reference
+Abstract: API reference manual for libjson-wheel-ocaml-dev (generated via OCamldoc)
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libjson-wheel-ocaml-dev/html/index.html
+Files: /usr/share/doc/libjson-wheel-ocaml-dev/html/*
--- json-wheel-1.0.6.orig/debian/control.in
+++ json-wheel-1.0.6/debian/control.in
@@ -0,0 +1,35 @@
+Source: json-wheel
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders:
+ Romain Beauxis <toots@rastageeks.org>,
+ Stéphane Glondu <glondu@debian.org>
+Build-Depends:
+ @cdbs@,
+ ocaml-findlib (>= 1.2.5),
+ libocamlnet-ocaml-dev (>= 2.2.9-7~),
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.8.3
+Homepage: http://martin.jambon.free.fr/json-wheel.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/json-wheel.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/json-wheel.git
+
+Package: libjson-wheel-ocaml-dev
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: OCaml API to JSON data format
+ json-wheel provides an API to generate and read JSON
+ data from an OCaml program. It maps each types of data
+ defined in the JSON specification to a typed variable
+ in OCaml
+ .
+ json-wheel can also be used in conjonction with
+ json-static to provide a convenient syntax extension
+ to OCaml dedicated to parsing an validating JSON
+ data.
--- json-wheel-1.0.6.orig/debian/copyright
+++ json-wheel-1.0.6/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Romain Beauxis <toots@rastageeks.org>.
+
+It was downloaded from <http://martin.jambon.free.fr/json-wheel.html>
+
+Upstream Author: Martin Jambon <martin_jambon@emailuser.net> 
+
+Copyright: 
+  Copyright (c) 2006 Wink Technologies, Inc.
+  Copyright (c) 2006 Martin Jambon
+
+License:
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+
+On Debian systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.
--- json-wheel-1.0.6.orig/debian/watch
+++ json-wheel-1.0.6/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://martin.jambon.free.fr/json-wheel.html  json-wheel-(.+)\.tar\.gz
--- json-wheel-1.0.6.orig/debian/control
+++ json-wheel-1.0.6/debian/control
@@ -0,0 +1,37 @@
+Source: json-wheel
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders:
+ Romain Beauxis <toots@rastageeks.org>,
+ Stéphane Glondu <glondu@debian.org>
+Build-Depends:
+ cdbs (>= 0.4.23-1.1),
+ debhelper (>= 7),
+ ocaml-nox (>= 3.11.1-3~),
+ ocaml-findlib (>= 1.2.5),
+ libocamlnet-ocaml-dev (>= 2.2.9-7~),
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.8.3
+Homepage: http://martin.jambon.free.fr/json-wheel.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/json-wheel.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/json-wheel.git
+
+Package: libjson-wheel-ocaml-dev
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: OCaml API to JSON data format
+ json-wheel provides an API to generate and read JSON
+ data from an OCaml program. It maps each types of data
+ defined in the JSON specification to a typed variable
+ in OCaml
+ .
+ json-wheel can also be used in conjonction with
+ json-static to provide a convenient syntax extension
+ to OCaml dedicated to parsing an validating JSON
+ data.
--- json-wheel-1.0.6.orig/debian/jsoncat.1
+++ json-wheel-1.0.6/debian/jsoncat.1
@@ -0,0 +1,65 @@
+.\"                                      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 JSONCAT 1 "August 1, 2008"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+jsoncat \- Display JSON data
+.SH SYNOPSIS
+.B jsoncat [options] file
+.SH DESCRIPTION
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+This manual page documents briefly the
+.B jsoncat
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+.SH OPTIONS
+.TP
+.B   \-help, \-\-help
+Show help about options
+
+.TP
+.B   \-big
+Whether to accept large ints and represent them as strings
+
+.TP
+.B   \-comments
+Whether to allow C-style comments
+
+.TP
+.B   \-compact 
+Minimize the size of the output
+
+.TP
+.B   \-test 
+Some benchmarks
+
+.TP
+.B   \-time 
+Show execution times of parsing and printing
+
+.SH AUTHOR
+jsoncat was written by Martin Jambon <martin_jambon@emailuser.net>
+.PP
+This manual page was written by Romain Beauxis <toots@rastageeks.org>,
+for the Debian project  Permission is granted to copy, distribute and/or
+modify this document under the terms of the GNU General Public
+License, Version 2 any later version published by the Free Software Foundation.
+		  
--- json-wheel-1.0.6.orig/debian/rules
+++ json-wheel-1.0.6/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.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$(shell ocamlc -where)
+PREFIX = $(CURDIR)/debian/tmp/usr
+DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore PREFIX=$(PREFIX)
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_INSTALL_ARGS :=  --list-missing
+DEB_INSTALL_CHANGELOGS := Changes
+DEB_MAKE_BUILD_TARGET := bcl
+
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+        DEB_MAKE_BUILD_TARGET += ncl jsoncat
+	DEB_INSTALL_MANPAGES_libjson-wheel-ocaml-dev = debian/jsoncat.1
+endif
+
+
+CFLAGS += -fPIC
+
+build/libjson-wheel-ocaml-dev::
+	mkdir -p $(DESTDIR)
+	mkdir -p $(PREFIX)/bin
+	make html
--- json-wheel-1.0.6.orig/debian/libjson-wheel-ocaml-dev.install.in
+++ json-wheel-1.0.6/debian/libjson-wheel-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+@OCamlStdlibDir@/json-wheel/META
+@OCamlStdlibDir@/json-wheel/*.cm*
+@OCamlStdlibDir@/json-wheel/*.ml*
+OPT: @OCamlStdlibDir@/json-wheel/*.a
+OPT: usr/bin/jsoncat
--- json-wheel-1.0.6.orig/debian/compat
+++ json-wheel-1.0.6/debian/compat
@@ -0,0 +1 @@
+7
--- json-wheel-1.0.6.orig/debian/svn-deblayout
+++ json-wheel-1.0.6/debian/svn-deblayout
@@ -0,0 +1 @@
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/json-wheel