--- json-wheel-1.0.6.orig/debian/rules +++ json-wheel-1.0.6/debian/rules @@ -0,0 +1,31 @@ +#!/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/class/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/copyright +++ json-wheel-1.0.6/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Romain Beauxis . + +It was downloaded from + +Upstream Author: Martin Jambon + +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/control +++ json-wheel-1.0.6/debian/control @@ -0,0 +1,28 @@ +Source: json-wheel +Section: devel +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Romain Beauxis +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 7), + ocaml-nox, ocaml-findlib, libocamlnet-ocaml-dev (>= 2.2.9-6), + dh-ocaml +Standards-Version: 3.8.0 +Homepage: http://martin.jambon.free.fr/json-wheel.html +Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/json-wheel/trunk/ + +Package: libjson-wheel-ocaml-dev +Architecture: any +Section: libdevel +Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, + libocamlnet-ocaml-dev, ${shlibs:Depends}, + ${misc:Depends} +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/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/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 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\fP and +.\" \fI\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 +.PP +This manual page was written by Romain Beauxis , +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/control.in +++ json-wheel-1.0.6/debian/control.in @@ -0,0 +1,26 @@ +Source: json-wheel +Section: devel +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Romain Beauxis +Build-Depends: @cdbs@, ocaml-findlib, libocamlnet-ocaml-dev, dh-ocaml +Standards-Version: 3.8.0 +Homepage: http://martin.jambon.free.fr/json-wheel.html +Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/json-wheel/trunk/ + +Package: libjson-wheel-ocaml-dev +Architecture: any +Section: libdevel +Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, + libocamlnet-ocaml-dev, ${shlibs:Depends}, + ${misc:Depends} +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/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 --- 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/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/changelog +++ json-wheel-1.0.6/debian/changelog @@ -0,0 +1,41 @@ +json-wheel (1.0.6-1build1) karmic; urgency=low + + * no change rebuild for Ocaml 3.11.0 -> 3.11.1 transision + + -- Andrea Gasparini Wed, 29 Jul 2009 15:20:36 +0200 + +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 Sat, 07 Mar 2009 19:26:58 +0100 + +json-wheel (1.0.4-4) unstable; urgency=low + + * Fixed wrong dh_install call + + -- Romain Beauxis 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 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 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 Fri, 01 Aug 2008 08:55:56 +0200 + --- json-wheel-1.0.6.orig/debian/compat +++ json-wheel-1.0.6/debian/compat @@ -0,0 +1 @@ +7