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

hendrik-guest pushed a commit to branch master
in repository ocaml-topkg.

commit b52ca529cdc823260287d00eac7c9b0ee466995e
Author: Hendrik Tews <hend...@askra.de>
Date:   Fri Sep 8 21:51:12 2017 +0200

    initial packaging
---
 .gitignore                           |  1 +
 debian/changelog                     |  8 ++++++++
 debian/compat                        |  1 +
 debian/control                       | 33 +++++++++++++++++++++++++++++++++
 debian/copyright                     | 23 +++++++++++++++++++++++
 debian/gbp.conf                      |  2 ++
 debian/libtopkg-ocaml-dev.docs       |  1 +
 debian/libtopkg-ocaml-dev.install.in |  9 +++++++++
 debian/libtopkg-ocaml-dev.ocamldoc   |  1 +
 debian/not-installed                 |  4 ++++
 debian/rules                         | 20 ++++++++++++++++++++
 debian/source/format                 |  1 +
 debian/watch                         |  2 ++
 13 files changed, 106 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*~
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5c75563
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+ocaml-topkg (0.9.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #869114)
+  * Only provide -dev because the typical use requires the .cmi file being
+    present
+  * build documentation with a simple dh_ocamldoc recipy
+
+ -- Hendrik Tews <hend...@askra.de>  Fri, 08 Sep 2017 21:09:11 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f20dd58
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: ocaml-topkg
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org>
+Uploaders:
+ Hendrik Tews <hend...@askra.de>
+Build-Depends:
+ debhelper (>= 10.3),
+ dh-ocaml (>= 0.9),
+ ocaml-nox (>= 4.01),
+ ocamlbuild,
+ libfindlib-ocaml-dev (>= 1.6.1),
+ libresult-ocaml-dev,
+ opam
+Standards-Version: 4.0.0
+Homepage: http://erratique.ch/software/topkg
+Vcs-Git: 
https://anonscm.debian.org/cgit/pkg-ocaml-maint/packages/ocaml-topkg.git
+Vcs-Browser: 
https://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/ocaml-topkg.git
+
+Package: libtopkg-ocaml-dev
+Architecture: any
+Depends:
+ libfindlib-ocaml-dev,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends:
+ ocaml-findlib
+Description: packager for OCaml software
+ Topkg provides an API to describe the files a package installs in a
+ given build configuration and to specify information about the
+ package's distribution creation and publication procedures. Many
+ OCaml packages depend on topkg for building and packaging.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..80f42ab
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://erratique.ch/software/topkg
+
+Files: *
+Copyright: (c) 2016 Daniel C. Bünzli
+License: ISC
+
+Files: debian/*
+Copyright: (c) 2017 Hendrik Tews <hend...@askra.de>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 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/libtopkg-ocaml-dev.docs b/debian/libtopkg-ocaml-dev.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libtopkg-ocaml-dev.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libtopkg-ocaml-dev.install.in 
b/debian/libtopkg-ocaml-dev.install.in
new file mode 100644
index 0000000..bddc361
--- /dev/null
+++ b/debian/libtopkg-ocaml-dev.install.in
@@ -0,0 +1,9 @@
+@OCamlStdlibDir@/topkg/META
+@OCamlStdlibDir@/topkg/*.mli
+@OCamlStdlibDir@/topkg/*.cmi
+@OCamlStdlibDir@/topkg/*.cma
+DYN: @OCamlStdlibDir@/topkg/*.cmxs
+@OCamlStdlibDir@/topkg/*.cmti
+OPT: @OCamlStdlibDir@/topkg/*.a
+OPT: @OCamlStdlibDir@/topkg/*.cmx
+OPT: @OCamlStdlibDir@/topkg/*.cmxa
diff --git a/debian/libtopkg-ocaml-dev.ocamldoc 
b/debian/libtopkg-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..cdd34fb
--- /dev/null
+++ b/debian/libtopkg-ocaml-dev.ocamldoc
@@ -0,0 +1 @@
+-colorize-code -charset utf-8 -package bytes -package result
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..66e4e28
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,4 @@
+/usr/share/doc/topkg/CHANGES.md
+/usr/share/doc/topkg/README.md
+/usr/share/doc/topkg/LICENSE.md
+/usr/lib/ocaml/topkg/opam
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c470088
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+%:
+       dh $@ --with ocaml
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+       ./pkg/pkg.ml build --pkg-name topkg
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+       opam-installer --libdir $(DESTDIR)/usr/lib/ocaml \
+               --docdir $(DESTDIR)/usr/share/doc
+
+.PHONY: override_dh_missing
+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..3cee316
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://erratique.ch/software/topkg/releases/ .*topkg-(.+)\.tbz

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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to