[Pkg-ocaml-maint-commits] [SCM] ocaml-expect packaging branch, master, updated. debian/0.0.2-1
Sylvain Le Gall
gildor at debian.org
Fri Nov 19 16:40:39 UTC 2010
The following commit has been merged in the master branch:
commit a46013800a4c648c1faba6c643f8368c0636f2cc
Author: Sylvain Le Gall <gildor at debian.org>
Date: Fri Nov 19 14:14:38 2010 +0100
Initial packaging
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..40644f2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+ocaml-expect (0.0.2-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #603829: ITP: ocaml-expect -- Expect-like
+ framework in OCaml)
+
+ -- Sylvain Le Gall <gildor at debian.org> Fri, 19 Nov 2010 13:48:29 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b3d9269
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: ocaml-expect
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders:
+ Sylvain Le Gall <gildor at debian.org>
+Build-Depends:
+ ocaml-nox (>= 3.11.1-3~),
+ ocaml-findlib,
+ ocaml-base-nox,
+ libpcre-ocaml-dev,
+ libounit-ocaml-dev,
+ libextlib-ocaml,
+ dh-ocaml (>= 0.9~),
+ debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: http://forge.ocamlcore.org/projects/ocaml-expect/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-expect.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-expect.git
+
+Package: libexpect-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: Expect-like framework
+ This is a simple implementation of `expect` to help building unitary testing
+ of interactive program.
+ .
+ It helps to receive question and send answers from an interactive process.
+ You can match the question using a regular expression (Str). You can also
+ use a timeout to ensure that the process answer in time.
+ .
+ See the [Expect manual](http://expect.nist.gov/) for more information and
+ example.
+
+Package: libexpect-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Description: Expect-like framework
+ This is a simple implementation of `expect` to help building unitary testing
+ of interactive program.
+ .
+ It helps to receive question and send answers from an interactive process.
+ You can match the question using a regular expression (Str). You can also
+ use a timeout to ensure that the process answer in time.
+ .
+ See the [Expect manual](http://expect.nist.gov/) for more information and
+ example.
+ .
+ This package contains the shared runtime libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..088cdd2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: ocaml-expect
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: (C) 2010 OCamlCore SARL
+License: LGPL-2.1 with OCaml linking exception
+
+ See '/usr/share/common-licenses/LGPL-2.1'.
+
+ As a special exception to the GNU Library General Public License, you may
+ link, statically or dynamically, a "work that uses the Library" with a
+ publicly distributed version of the Library to produce an executable file
+ containing portions of the Library, and distribute that executable file under
+ terms of your choice, without any of the additional requirements listed in
+ clause 6 of the GNU Library General Public License. By "a publicly
+ distributed version of the Library", we mean either the unmodified Library as
+ distributed by upstream author, or a modified version of the Library that is
+ distributed under the conditions defined in clause 3 of the GNU Library
+ General Public License. This exception does not however invalidate any other
+ reasons why the executable file might be covered by the GNU Library General
+ Public License.
+
+Files: debian/*
+Copyright: (C) 2010 Sylvain Le Gall <gildor at debian.org>
+License: GPL-3+
diff --git a/debian/libexpect-ocaml-dev.doc-base b/debian/libexpect-ocaml-dev.doc-base
new file mode 100644
index 0000000..81de760
--- /dev/null
+++ b/debian/libexpect-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: ocaml-expect-api-expect
+Title: API reference for Expect
+Author: Sylvain Le Gall
+Section: Programming/OCaml
+
+Format: html
+Index: /usr/share/doc/libexpect-ocaml-dev/expect/index.html
+Files: /usr/share/doc/libexpect-ocaml-dev/expect/*.html
+
diff --git a/debian/libexpect-ocaml-dev.install.in b/debian/libexpect-ocaml-dev.install.in
new file mode 100644
index 0000000..8aa0ee8
--- /dev/null
+++ b/debian/libexpect-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+ at OCamlStdlibDir@/expect/*.cm[ix]
+ at OCamlStdlibDir@/expect/*.ml*
+OPT: @OCamlStdlibDir@/expect/*.cmxa
+OPT: @OCamlStdlibDir@/expect/*.a
+usr/share/doc/libexpect-ocaml-dev
diff --git a/debian/libexpect-ocaml.install.in b/debian/libexpect-ocaml.install.in
new file mode 100644
index 0000000..d5aeba8
--- /dev/null
+++ b/debian/libexpect-ocaml.install.in
@@ -0,0 +1,2 @@
+ at OCamlStdlibDir@/expect/META
+ at OCamlStdlibDir@/expect/*.cm[ao]
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9c772bc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+include /usr/share/ocaml/ocamlvars.mk
+
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+
+%:
+ dh --with ocaml $@
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+ ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir '/usr/share/doc/libexpect-ocaml-dev'
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+ ocaml setup.ml -build
+ ocaml setup.ml -doc
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+ ocaml setup.ml -test
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+ mkdir -p '$(DESTDIR)/usr/bin'
+ mkdir -p '$(OCAMLFIND_DESTDIR)'
+ ocaml setup.ml -install
+
+.PHONY: override_dh_install
+override_dh_install:
+ dh_install --fail-missing
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+ ocaml setup.ml -distclean
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)
--
ocaml-expect packaging
More information about the Pkg-ocaml-maint-commits
mailing list