[Pkg-ocaml-maint-commits] [SCM] react packaging branch, master, updated. upstream/0.9.0-1-g76a4b53
Stephane Glondu
steph at glondu.net
Wed Jun 10 16:52:26 UTC 2009
The following commit has been merged in the master branch:
commit 76a4b539bd4905ebbe8247bdbbfaaac4f6f7c594
Author: Stephane Glondu <steph at glondu.net>
Date: Wed Jun 10 17:31:27 2009 +0200
Initial Debian packaging
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1f46afe
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,16 @@
+React Debian source package
+===========================
+
+Patching upstream sources
+-------------------------
+
+This source package uses quilt to apply and remove its patches. Please
+refer to `/usr/share/doc/quilt/README.source' for information about
+how to use quilt for source packages.
+
+The quilt series is generated from the Git repository, using
+dom-{apply,save}-patches, from the dh-ocaml (>= 0.4.2) package. Please
+refer to the appendix about Git in the Debian OCaml Packaging Policy
+(from the same package).
+
+ -- Stephane Glondu <steph at glondu.net>, Wed, 10 Jun 2009 17:26:19 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..11eae36
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+react (0.9.0-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #532639)
+
+ -- Stephane Glondu <steph at glondu.net> Sat, 09 May 2009 11:47:11 +0200
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..6b67eae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: react
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Stephane Glondu <steph at glondu.net>
+DM-Upload-Allowed: yes
+Build-Depends:
+ debhelper (>= 7.0.52),
+ quilt (>= 0.46-7),
+ dh-ocaml,
+ ocaml-nox
+Standards-Version: 3.8.1
+Section: ocaml
+Homepage: http://erratique.ch/software/react
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/react.git
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/react.git
+
+Package: libreact-ocaml-dev
+Architecture: any
+Depends:
+ ocaml-nox-${F:OCamlABI},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ocaml-findlib
+Description: functional reactive programming in OCaml
+ React is an OCaml module for functional reactive programming.
+ It provides support to program with time varying values:
+ applicative events and signals. React doesn't define any primitive
+ event or signal, this lets the client chooses the concrete timeline.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9baf0f8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Packaged-By: Stéphane Glondu <steph at glondu.net>
+Packaged-Date: Wed, 10 Jun 2009 17:16:52 +0200
+Original-Source-Location: http://erratique.ch/software/react
+Upstream-Author: Daniel C. Bünzli <daniel.buenzli at erratique.ch>
+
+Files: *
+Copyright: © 2009 Daniel C. Bünzli
+License: BSD-C3
+
+ All rights reserved.
+
+ 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: © 2009 Stéphane Glondu <steph at glondu.net>
+License: BSD-C3
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/libreact-ocaml-dev.doc-base b/debian/libreact-ocaml-dev.doc-base
new file mode 100644
index 0000000..65e55c5
--- /dev/null
+++ b/debian/libreact-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: react
+Title: React API documentation
+Author: Daniel C. Bünzli
+Abstract: React ocamldoc-generated API documentation
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libreact-ocaml-dev/html/index.html
+Files: /usr/share/doc/libreact-ocaml-dev/html/*
diff --git a/debian/libreact-ocaml-dev.install.in b/debian/libreact-ocaml-dev.install.in
new file mode 100644
index 0000000..34b7cb0
--- /dev/null
+++ b/debian/libreact-ocaml-dev.install.in
@@ -0,0 +1,7 @@
+_build/src/react.mli @OCamlStdlibDir@/react
+_build/src/react.cmi @OCamlStdlibDir@/react
+_build/src/react.cmo @OCamlStdlibDir@/react
+OPT: _build/src/react.cmx @OCamlStdlibDir@/react
+OPT: _build/src/react.o @OCamlStdlibDir@/react
+src/META @OCamlStdlibDir@/react
+doc/*.html /usr/share/doc/libreact-ocaml-dev/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..22e34ab
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+include /usr/share/ocaml/ocamlinit.mk
+
+OCAMLBUILD := ocamlbuild -classic-display $(if $(OCAML_OPT_ARCH),,-byte-plugin)
+
+TARGETS := react.cmo $(if $(OCAML_OPT_ARCH),react.cmx)
+
+%:
+ dh --with quilt $@
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure: ocamlinit-stamp $(QUILT_STAMPFN)
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+ $(OCAMLBUILD) $(TARGETS)
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean: ocamlinit-clean
+ $(OCAMLBUILD) -clean
+
+.PHONY: override_dh_gencontrol
+override_dh_gencontrol:
+ dh_gencontrol -- -VF:OCamlABI="$(OCAML_ABI)"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c9d9b56
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+http://erratique.ch/software/react/releases/react-(.*)\.tbz
+# Upstream darcs repository:
+# http://erratique.ch/software/react/repo/
--
react packaging
More information about the Pkg-ocaml-maint-commits
mailing list