[Pkg-ocaml-maint-commits] [jsonm] 01/02: Add Debian dir

Mehdi Dogguy mehdi at moszumanska.debian.org
Wed Jul 22 18:38:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

mehdi pushed a commit to branch master
in repository jsonm.

commit 13be25a617ccbeadcb0a8a82f2d15532a70849dc
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Mon Jul 20 23:27:35 2015 +0000

    Add Debian dir
---
 debian/changelog                     |  5 +++
 debian/compat                        |  1 +
 debian/control                       | 72 ++++++++++++++++++++++++++++++++++++
 debian/copyright                     | 38 +++++++++++++++++++
 debian/gbp.conf                      |  2 +
 debian/libjsonm-ocaml-dev.docs       |  1 +
 debian/libjsonm-ocaml-dev.install.in |  5 +++
 debian/libjsonm-ocaml-doc.ocamldoc   |  2 +
 debian/libjsonm-ocaml.install.in     |  3 ++
 debian/rules                         | 42 +++++++++++++++++++++
 debian/source/format                 |  1 +
 debian/watch                         |  2 +
 12 files changed, 174 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d0f6ebf
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jsonm (0.9.1-1) UNRELEASED; urgency=low
+
+  * Initial upload (Closes: #793058)
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Mon, 20 Jul 2015 22:39:10 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4d597bc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,72 @@
+Source: jsonm
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders:
+ Mehdi Dogguy <mehdi at debian.org>
+Build-Depends:
+ debhelper (>= 8),
+ ocaml-nox (>= 4),
+ ocaml-findlib (>= 1.4),
+ libuutf-ocaml-dev,
+ dh-ocaml (>= 0.9)
+Standards-Version: 3.9.6
+Homepage: http://erratique.ch/software/jsonm
+Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/jsonm.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/jsonm.git
+
+Package: libjsonm-ocaml-dev
+Architecture: any
+Section: ocaml
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ocaml-findlib,
+ ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
+Description: Non-blocking streaming JSON codec for OCaml
+ Jsonm is an OCaml non-blocking streaming codec to decode and encode the
+ JSON data format. It can process JSON text without blocking on IO and
+ without a complete in-memory representation of the data.
+ .
+ The uncut codec also processes whitespace and (non-standard) JSON with
+ JavaScript comments.
+ .
+ This package contains the development modules you need to use Jsonm
+ in your programs.
+
+Package: libjsonm-ocaml
+Architecture: any
+Section: ocaml
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ocaml-findlib,
+ ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
+Description: Non-blocking streaming JSON codec for OCaml (plugins)
+ Jsonm is an OCaml non-blocking streaming codec to decode and encode the
+ JSON data format. It can process JSON text without blocking on IO and
+ without a complete in-memory representation of the data.
+ .
+ The uncut codec also processes whitespace and (non-standard) JSON with
+ JavaScript comments.
+ .
+ This package contains dynamically loadable modules for plugins.
+
+Package: libjsonm-ocaml-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends}
+Description: Non-blocking streaming JSON codec for OCaml (documentation)
+ Jsonm is an OCaml non-blocking streaming codec to decode and encode the
+ JSON data format. It can process JSON text without blocking on IO and
+ without a complete in-memory representation of the data.
+ .
+ The uncut codec also processes whitespace and (non-standard) JSON with
+ JavaScript comments.
+ .
+ This package contains the documentation of Jsonm.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..069b149
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2012, Daniel C. Bünzli
+License: BSD-C3
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the
+    distribution.
+ .
+ 3. Neither the name of the Daniel C. Bünzli nor the names of
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT
+ OWNER 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.
+
+Files: debian/*
+Copyright: 2015, Mehdi Dogguy <mehdi at debian.org>
+License: GPL-2
+ The Debian packaging is licensed under the GPL, see
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/libjsonm-ocaml-dev.docs b/debian/libjsonm-ocaml-dev.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libjsonm-ocaml-dev.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/libjsonm-ocaml-dev.install.in b/debian/libjsonm-ocaml-dev.install.in
new file mode 100644
index 0000000..930b474
--- /dev/null
+++ b/debian/libjsonm-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+ at OCamlStdlibDir@/jsonm/*.mli
+ at OCamlStdlibDir@/jsonm/*.cmi
+OPT: @OCamlStdlibDir@/jsonm/*.a
+OPT: @OCamlStdlibDir@/jsonm/*.cmx
+OPT: @OCamlStdlibDir@/jsonm/*.cmxa
diff --git a/debian/libjsonm-ocaml-doc.ocamldoc b/debian/libjsonm-ocaml-doc.ocamldoc
new file mode 100644
index 0000000..48b475f
--- /dev/null
+++ b/debian/libjsonm-ocaml-doc.ocamldoc
@@ -0,0 +1,2 @@
+--include debian/libjsonm-ocaml-dev
+-package uutf
diff --git a/debian/libjsonm-ocaml.install.in b/debian/libjsonm-ocaml.install.in
new file mode 100644
index 0000000..21f41d6
--- /dev/null
+++ b/debian/libjsonm-ocaml.install.in
@@ -0,0 +1,3 @@
+ at OCamlStdlibDir@/jsonm/META
+ at OCamlStdlibDir@/jsonm/jsonm.cma
+DYN: @OCamlStdlibDir@/jsonm/jsonm.cmxs
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2a48a0f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DESTDIR=$(CURDIR)/debian/tmp
+include /usr/share/ocaml/ocamlvars.mk
+export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+
+%:
+	dh $@ --with ocaml
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+	ocaml setup.ml -configure 	\
+		--enable-tests		\
+		--enable-docs		\
+		--prefix $(DESTDIR)
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	ocaml setup.ml -build
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+	ocaml setup.ml -test
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	$(RM) setup.data setup.log
+	ocaml setup.ml -clean
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	mkdir -p $(OCAMLFIND_DESTDIR)/jsonm
+	ocaml setup.ml -install
+
+.PHONY: override_dh_installchangelogs
+override_dh_installchangelogs:
+	dh_installchangelogs CHANGES
+
+.PHONY: override_dh_install
+override_dh_install:
+	dh_install --list-missing
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1f967d8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://erratique.ch/software/jsonm .*jsonm-(.+)\.tbz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/jsonm.git



More information about the Pkg-ocaml-maint-commits mailing list