[Pkg-ocaml-maint-commits] [SCM] oasis packaging branch, master, updated. upstream/0.2.0.alpha1-2-g4628b4e

Sylvain Le Gall gildor at debian.org
Wed Mar 30 10:11:27 UTC 2011


The following commit has been merged in the master branch:
commit 4628b4ed0d66c84c2ac987f13f4a992abc962d18
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Wed Mar 30 10:11:14 2011 +0000

    Initial packaging with oasis2debian

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a13cf13
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+oasis (0.2.0-1) UNRELEASED; urgency=low
+
+  * Closes: #603830:
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Mon, 22 Nov 2010 15:59:13 +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..af90a3d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,136 @@
+Source: oasis
+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:
+  ocamlify,
+  ocaml-nox (>= 3.11.1-3~),
+  ocaml-findlib,
+  ocaml-base-nox,
+  make,
+  libpcre-ocaml-dev,
+  libounit-ocaml-dev (>= 1.1.0),
+  libodn-ocaml-dev (>= 0.0.3),
+  libocamlgraph-ocaml-dev,
+  libfindlib-ocaml-dev,
+  libfileutils-ocaml-dev,
+  libextlib-ocaml-dev,
+  libexpect-ocaml-dev (>= 0.0.2),
+  dh-ocaml (>= 0.9~),
+  debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: http://oasis.forge.ocamlcore.org/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/oasis.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/oasis.git
+
+Package: oasis
+Architecture: all
+Suggests: liboasis-ocaml-doc
+Depends: ${misc:Depends}, ${ocaml:Depends}
+Description: Architecture for building OCaml libraries and applications
+ OASIS generates a full configure, build and install system for your
+ application. It starts with a simple `_oasis` file at the toplevel of your
+ project and creates everything required.
+ .
+ It uses external tools like OCamlbuild and it can be considered as the glue
+ between various subsystems that do the job. It should support the following
+ tools:
+ .
+ - OCamlbuild
+ - OMake (todo)
+ - OCamlMakefile (todo),
+ - ocaml-autoconf (todo)
+ .
+ It also features a do-it-yourself command line invocation and an internal
+ configure/install scheme. Libraries are managed through findlib. It has been
+ tested on GNU Linux and Windows.
+ .
+ It also allows to have standard entry points and description. It helps to
+ integrates your libraries and software with third parties tools like GODI.
+ .
+ This package contains command-line tools.
+
+Package: liboasis-ocaml-dev
+Architecture: any
+Suggests: liboasis-ocaml-doc
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: Architecture for building OCaml libraries and applications
+ OASIS generates a full configure, build and install system for your
+ application. It starts with a simple `_oasis` file at the toplevel of your
+ project and creates everything required.
+ .
+ It uses external tools like OCamlbuild and it can be considered as the glue
+ between various subsystems that do the job. It should support the following
+ tools:
+ .
+ - OCamlbuild
+ - OMake (todo)
+ - OCamlMakefile (todo),
+ - ocaml-autoconf (todo)
+ .
+ It also features a do-it-yourself command line invocation and an internal
+ configure/install scheme. Libraries are managed through findlib. It has been
+ tested on GNU Linux and Windows.
+ .
+ It also allows to have standard entry points and description. It helps to
+ integrates your libraries and software with third parties tools like GODI.
+
+Package: liboasis-ocaml
+Architecture: any
+Suggests: liboasis-ocaml-doc
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Description: Architecture for building OCaml libraries and applications
+ OASIS generates a full configure, build and install system for your
+ application. It starts with a simple `_oasis` file at the toplevel of your
+ project and creates everything required.
+ .
+ It uses external tools like OCamlbuild and it can be considered as the glue
+ between various subsystems that do the job. It should support the following
+ tools:
+ .
+ - OCamlbuild
+ - OMake (todo)
+ - OCamlMakefile (todo),
+ - ocaml-autoconf (todo)
+ .
+ It also features a do-it-yourself command line invocation and an internal
+ configure/install scheme. Libraries are managed through findlib. It has been
+ tested on GNU Linux and Windows.
+ .
+ It also allows to have standard entry points and description. It helps to
+ integrates your libraries and software with third parties tools like GODI.
+ .
+ This package contains the shared runtime libraries.
+
+Package: liboasis-ocaml-doc
+Architecture: all
+Suggests: liboasis-ocaml-doc
+Section: doc
+Depends: ${misc:Depends}
+Description: Architecture for building OCaml libraries and applications
+ OASIS generates a full configure, build and install system for your
+ application. It starts with a simple `_oasis` file at the toplevel of your
+ project and creates everything required.
+ .
+ It uses external tools like OCamlbuild and it can be considered as the glue
+ between various subsystems that do the job. It should support the following
+ tools:
+ .
+ - OCamlbuild
+ - OMake (todo)
+ - OCamlMakefile (todo),
+ - ocaml-autoconf (todo)
+ .
+ It also features a do-it-yourself command line invocation and an internal
+ configure/install scheme. Libraries are managed through findlib. It has been
+ tested on GNU Linux and Windows.
+ .
+ It also allows to have standard entry points and description. It helps to
+ integrates your libraries and software with third parties tools like GODI.
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..565e27c
--- /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: oasis
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: (C) 2008-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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..6c7ed3b
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+cleaner = debuild clean && dh_quilt_unpatch && dh_clean
diff --git a/debian/liboasis-ocaml-dev.install.in b/debian/liboasis-ocaml-dev.install.in
new file mode 100644
index 0000000..badddfc
--- /dev/null
+++ b/debian/liboasis-ocaml-dev.install.in
@@ -0,0 +1,4 @@
+ at OCamlStdlibDir@/oasis/*.cm[ix]
+ at OCamlStdlibDir@/oasis/*.ml*
+OPT: @OCamlStdlibDir@/oasis/*.cmxa
+OPT: @OCamlStdlibDir@/oasis/*.a
diff --git a/debian/liboasis-ocaml-doc.doc-base.1 b/debian/liboasis-ocaml-doc.doc-base.1
new file mode 100644
index 0000000..8196e90
--- /dev/null
+++ b/debian/liboasis-ocaml-doc.doc-base.1
@@ -0,0 +1,7 @@
+Document: oasis-api-oasis
+Title: API reference for OASIS
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/liboasis-ocaml-doc/oasis/index.html
+Files: /usr/share/doc/liboasis-ocaml-doc/oasis/*
diff --git a/debian/liboasis-ocaml-doc.doc-base.2 b/debian/liboasis-ocaml-doc.doc-base.2
new file mode 100644
index 0000000..4cd8d97
--- /dev/null
+++ b/debian/liboasis-ocaml-doc.doc-base.2
@@ -0,0 +1,7 @@
+Document: oasis-manual
+Title: OASIS User Manual
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/liboasis-ocaml-doc/index.html
+Files: /usr/share/doc/liboasis-ocaml-doc/*
diff --git a/debian/liboasis-ocaml-doc.install b/debian/liboasis-ocaml-doc.install
new file mode 100644
index 0000000..51319f7
--- /dev/null
+++ b/debian/liboasis-ocaml-doc.install
@@ -0,0 +1 @@
+usr/share/doc/liboasis-ocaml-doc
diff --git a/debian/liboasis-ocaml.install.in b/debian/liboasis-ocaml.install.in
new file mode 100644
index 0000000..e902d32
--- /dev/null
+++ b/debian/liboasis-ocaml.install.in
@@ -0,0 +1,2 @@
+ at OCamlStdlibDir@/oasis/META
+ at OCamlStdlibDir@/oasis/*.cm[ao]
diff --git a/debian/oasis.install b/debian/oasis.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/oasis.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..78fe797
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/liboasis-ocaml-doc
+
+include /usr/share/ocaml/ocamlvars.mk
+
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+OCAMLFIND_LDCONF=ignore
+export OCAMLFIND_LDCONF
+
+%:
+	dh --with ocaml $@
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+	ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir '/usr/share/doc/liboasis-ocaml-doc'
+
+.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)

-- 
oasis packaging



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