[Pkg-ocaml-maint-commits] [SCM] easy-format packaging branch, master, updated. debian/1.0.0-1

Sylvain Le Gall gildor at debian.org
Fri Dec 3 00:10:36 UTC 2010


The following commit has been merged in the master branch:
commit 3b424aabc0761eef79d9a804b8815f3520b07db6
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Fri Dec 3 01:08:13 2010 +0100

    Initial packaging

diff --git a/Makefile b/Makefile
index c10111c..09d38ba 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ simple_example.out: simple_example
 
 doc: ocamldoc/index.html easy_format_example.html
 ocamldoc/index.html: easy_format.mli
+	-mkdir ocamldoc
 	ocamldoc -d ocamldoc -html $<
 easy_format_example.html: simple_example.out simple_example.ml
 	cat simple_example.ml > easy_format_example.ml
@@ -37,6 +38,7 @@ soft-clean:
 	rm -f *.cm[iox] *.o *.annot \
 		test_easy_format lambda_example simple_example \
 		bytecode nativecode
+	-$(RM) -r ocamldoc
 
 clean: soft-clean
 	rm -f *.out ocamldoc/* \
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..21c1176
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+easy-format (1.0.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #605680)
+
+ -- Sylvain Le Gall <gildor at debian.org>  Thu, 02 Dec 2010 22:22:54 +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..97ddad0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: easy-format
+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,
+  dh-ocaml (>= 0.9~),
+  debhelper (>= 7.0.50~),
+  caml2html
+Standards-Version: 3.9.1
+Homepage: http://martin.jambon.free.fr/easy-format.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/easy-format.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/easy-format.git
+
+Package: libeasy-format-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: text generation with indentation made easy(ier) for OCaml
+ This module offers a simplified interface to the Format module of the
+ standard library. Input data must be converted into a tree using 3 kinds
+ of nodes: atoms, lists and labelled nodes. Each node is bound to its own
+ formatting parameters and a single function call produces the formatted
+ output.
+
+Package: libeasy-format-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: text generation with indentation made easy(ier) for OCaml
+ This module offers a simplified interface to the Format module of the
+ standard library. Input data must be converted into a tree using 3 kinds
+ of nodes: atoms, lists and labelled nodes. Each node is bound to its own
+ formatting parameters and a single function call produces the formatted
+ output.
+ .
+ This package contains the shared runtime libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ffe9e94
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: easy-format
+Maintainer: Sylvain Le Gall <gildor at debian.org>
+
+Files: *
+Copyright: Copyright (c) 2008 Martin Jambon
+License: BSD3
+
+ 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. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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: (C) 2010 Sylvain Le Gall <gildor at debian.org>
+License: GPL-3+
+
+ See '/usr/share/common-licenses/GPL-3' for the full text.
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/libeasy-format-ocaml-dev.docs b/debian/libeasy-format-ocaml-dev.docs
new file mode 100644
index 0000000..98874f1
--- /dev/null
+++ b/debian/libeasy-format-ocaml-dev.docs
@@ -0,0 +1 @@
+ocamldoc
diff --git a/debian/libeasy-format-ocaml-dev.examples b/debian/libeasy-format-ocaml-dev.examples
new file mode 100644
index 0000000..d423e37
--- /dev/null
+++ b/debian/libeasy-format-ocaml-dev.examples
@@ -0,0 +1,3 @@
+examples/*
+lambda_example.ml
+simple_example.ml
diff --git a/debian/libeasy-format-ocaml-dev.install.in b/debian/libeasy-format-ocaml-dev.install.in
new file mode 100644
index 0000000..26612c5
--- /dev/null
+++ b/debian/libeasy-format-ocaml-dev.install.in
@@ -0,0 +1,4 @@
+ at OCamlStdlibDir@/easy-format/*.mli
+ at OCamlStdlibDir@/easy-format/*.cmi
+OPT: @OCamlStdlibDir@/easy-format/*.cmx
+OPT: @OCamlStdlibDir@/easy-format/*.o
diff --git a/debian/libeasy-format-ocaml-dev.ocamldoc b/debian/libeasy-format-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..aa4fc40
--- /dev/null
+++ b/debian/libeasy-format-ocaml-dev.ocamldoc
@@ -0,0 +1,2 @@
+-d ocamldoc
+--doc-base-generate
diff --git a/debian/libeasy-format-ocaml.install.in b/debian/libeasy-format-ocaml.install.in
new file mode 100644
index 0000000..18cb91f
--- /dev/null
+++ b/debian/libeasy-format-ocaml.install.in
@@ -0,0 +1,2 @@
+ at OCamlStdlibDir@/easy-format/META
+ at OCamlStdlibDir@/easy-format/*.cmo
diff --git a/debian/patches/debian-changes-1.0.0-1 b/debian/patches/debian-changes-1.0.0-1
new file mode 100644
index 0000000..7cea828
--- /dev/null
+++ b/debian/patches/debian-changes-1.0.0-1
@@ -0,0 +1,44 @@
+Description: Upstream changes introduced in version 1.0.0-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ easy-format (1.0.0-1) unstable; urgency=low
+ .
+   * Initial release. (Closes: #605680)
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Sylvain Le Gall <gildor at debian.org>
+Bug-Debian: http://bugs.debian.org/605680
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- easy-format-1.0.0.orig/Makefile
++++ easy-format-1.0.0/Makefile
+@@ -24,6 +24,7 @@ simple_example.out: simple_example
+ 
+ doc: ocamldoc/index.html easy_format_example.html
+ ocamldoc/index.html: easy_format.mli
++	-mkdir ocamldoc
+ 	ocamldoc -d ocamldoc -html $<
+ easy_format_example.html: simple_example.out simple_example.ml
+ 	cat simple_example.ml > easy_format_example.ml
+@@ -37,6 +38,7 @@ soft-clean:
+ 	rm -f *.cm[iox] *.o *.annot \
+ 		test_easy_format lambda_example simple_example \
+ 		bytecode nativecode
++	-$(RM) -r ocamldoc
+ 
+ clean: soft-clean
+ 	rm -f *.out ocamldoc/* \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f9b6479
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian-changes-1.0.0-1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..01c8696
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,39 @@
+#!/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
+OCAMLFIND_LDCONF=ignore
+export OCAMLFIND_LDCONF
+
+%:
+	dh --with ocaml $@
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+	$(MAKE)
+else
+	$(MAKE) all
+endif 
+	$(MAKE) doc
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	mkdir -p '$(OCAMLFIND_DESTDIR)'
+	make install 
+
+.PHONY: override_dh_install
+override_dh_install:
+	dh_install --fail-missing
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	$(MAKE) clean
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..006dbfa
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://martin.jambon.free.fr/easy-format.html easy-format-([\d\.]*)\.tar\.gz

-- 
easy-format packaging



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