[Pkg-ocaml-maint-commits] [SCM] ocaml-data-notation packaging branch, master, updated. upstream/0.0.2-1-gf74c003

Sylvain Le Gall gildor at debian.org
Thu Nov 18 16:59:01 UTC 2010


The following commit has been merged in the master branch:
commit f74c00321cee87729fd57e49f466fd1d3e890245
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Thu Nov 18 15:19:38 2010 +0000

    Initial packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..70b3fec
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ocaml-data-notation (0.0.2-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #603828)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Thu, 18 Nov 2010 13:52:53 +0000
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..2265786
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: ocaml-data-notation
+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:
+  debhelper (>= 7.0.50~),
+  dh-ocaml (>= 0.9~), 
+  ocaml-nox (>= 3.11.1-3~),
+  ocaml-findlib,
+  libtype-conv-camlp4-dev,
+  camlp4
+Standards-Version: 3.9.1
+Homepage: http://forge.ocamlcore.org/projects/odn
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-data-notation.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-data-notation.git
+
+Package: libodn-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: Store data using OCaml notation
+ none
+
+Package: libodn-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
+Description: Store data using OCaml notation
+ none
+ .
+ This package contains the shared runtime libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7956190
--- /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-data-notation
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: (C) 2009-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/libodn-ocaml-dev.install.in b/debian/libodn-ocaml-dev.install.in
new file mode 100644
index 0000000..30e61ff
--- /dev/null
+++ b/debian/libodn-ocaml-dev.install.in
@@ -0,0 +1,3 @@
+ at OCamlStdlibDir@/odn/*.cm*
+ at OCamlStdlibDir@/odn/*.ml*
+#OPT: @OCamlStdlibDir@/odn/*.a
diff --git a/debian/libodn-ocaml-dev.ocamldoc b/debian/libodn-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..c01ade2
--- /dev/null
+++ b/debian/libodn-ocaml-dev.ocamldoc
@@ -0,0 +1 @@
+# Nothing
diff --git a/debian/libodn-ocaml.install.in b/debian/libodn-ocaml.install.in
new file mode 100644
index 0000000..f6a7121
--- /dev/null
+++ b/debian/libodn-ocaml.install.in
@@ -0,0 +1,2 @@
+ at OCamlStdlibDir@/odn/META
+ at OCamlStdlibDir@/odn/*.cma
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e7bcfb2
--- /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)' 
+
+.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-data-notation packaging



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