diff options
author | Stephane Glondu <steph@glondu.net> | 2019-08-07 19:13:29 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2019-08-07 19:21:02 +0200 |
commit | dc23e5e61be7da0c894e0dc08e4fc1c39f87e53e (patch) | |
tree | 45ab2240c10305b727c9df5d15827c0e010f953e | |
parent | 2a479ef4f28969769afe8ad375c14281e845ac8b (diff) |
Initial packaging
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 44 | ||||
-rw-r--r-- | debian/copyright | 24 | ||||
-rw-r--r-- | debian/gbp.conf | 2 | ||||
-rw-r--r-- | debian/libsexplib0-ocaml-dev.install.in | 10 | ||||
-rw-r--r-- | debian/libsexplib0-ocaml.install.in | 3 | ||||
-rwxr-xr-x | debian/rules | 16 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
10 files changed, 108 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8fd1101 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ocaml-sexplib0 (0.12.0-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #934149) + + -- Stéphane Glondu <glondu@debian.org> Wed, 07 Aug 2019 18:58:30 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..17f66b3 --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +Source: ocaml-sexplib0 +Priority: optional +Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> +Uploaders: + Stéphane Glondu <glondu@debian.org> +Build-Depends: + debhelper (>= 12), + ocaml-nox, + dune, + dh-ocaml +Standards-Version: 4.4.0 +Section: ocaml +Homepage: https://github.com/janestreet/sexplib0 +Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-sexplib0.git +Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-sexplib0 + +Package: libsexplib0-ocaml-dev +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Recommends: ocaml-findlib +Description: S-expression library (development) + Part of Jane Street's Core library. The Core suite of libraries is an + industrial strength alternative to OCaml's standard library that was + developed by Jane Street, the largest industrial user of OCaml. + . + This package contains development files. + +Package: libsexplib0-ocaml +Architecture: any +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Description: S-expression library (runtime) + Part of Jane Street's Core library. The Core suite of libraries is an + industrial strength alternative to OCaml's standard library that was + developed by Jane Street, the largest industrial user of OCaml. + . + This package contains runtime files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..dc5abee --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: (c) 2005-2019 Jane Street Group, LLC +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (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 THE AUTHORS OR COPYRIGHT HOLDERS + 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. 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/libsexplib0-ocaml-dev.install.in b/debian/libsexplib0-ocaml-dev.install.in new file mode 100644 index 0000000..1751ef4 --- /dev/null +++ b/debian/libsexplib0-ocaml-dev.install.in @@ -0,0 +1,10 @@ +@OCamlStdlibDir@/sexplib0/*dune* +@OCamlStdlibDir@/sexplib0/*opam* +@OCamlStdlibDir@/sexplib0/*.ml +@OCamlStdlibDir@/sexplib0/*.mli +@OCamlStdlibDir@/sexplib0/*.cmi +@OCamlStdlibDir@/sexplib0/*.cmt +@OCamlStdlibDir@/sexplib0/*.cmti +OPT: @OCamlStdlibDir@/sexplib0/*.a +OPT: @OCamlStdlibDir@/sexplib0/*.cmx +OPT: @OCamlStdlibDir@/sexplib0/*.cmxa diff --git a/debian/libsexplib0-ocaml.install.in b/debian/libsexplib0-ocaml.install.in new file mode 100644 index 0000000..bc9bcaa --- /dev/null +++ b/debian/libsexplib0-ocaml.install.in @@ -0,0 +1,3 @@ +@OCamlStdlibDir@/sexplib0/META +@OCamlStdlibDir@/sexplib0/*.cma +OPT: @OCamlStdlibDir@/sexplib0/*.cmxs diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..47a2000 --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/ocaml/ocamlvars.mk + +DESTDIR=$(CURDIR)/debian/tmp + +%: + dh $@ --with ocaml + +override_dh_auto_install: + dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) + rm -f $(DESTDIR)/usr/doc/sexplib0/LICENSE.md + +override_dh_missing: + dh_missing --fail-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..512b620 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/janestreet/sexplib0/releases .*/archive/v(.*)\.tar\.gz |