diff options
author | Stephane Glondu <steph@glondu.net> | 2010-08-30 13:34:28 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2010-08-30 16:17:16 +0200 |
commit | 86e6556d477e261539c201db099676825c8293a2 (patch) | |
tree | 5b5b0fb23b8d5e76be9e9704dac98b30b80184f4 /debian | |
parent | 41fea14ffc25d5f1326dceca37a0f4ac2dc49b52 (diff) |
Initial packaging
Diffstat (limited to 'debian')
-rw-r--r-- | debian/TODO | 2 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/clean | 2 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 51 | ||||
-rw-r--r-- | debian/copyright | 40 | ||||
-rw-r--r-- | debian/gbp.conf | 3 | ||||
-rw-r--r-- | debian/libmelt-ocaml-dev.doc-base.latex | 9 | ||||
-rw-r--r-- | debian/libmelt-ocaml-dev.doc-base.melt | 9 | ||||
-rw-r--r-- | debian/libmelt-ocaml-dev.install.in | 5 | ||||
-rw-r--r-- | debian/libmelt-ocaml-dev.lintian-overrides | 3 | ||||
-rw-r--r-- | debian/ocaml-melt.doc-base.refman | 8 | ||||
-rw-r--r-- | debian/ocaml-melt.install | 2 | ||||
-rwxr-xr-x | debian/rules | 30 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 5 |
16 files changed, 176 insertions, 0 deletions
diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..6ed6806 --- /dev/null +++ b/debian/TODO @@ -0,0 +1,2 @@ +- rename /usr/bin/melt to avoid conflict with melt package (ongoing + discussion with upstream to rename the whole project) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..94672c7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ocaml-melt (1.2.0-1) UNRELEASED; urgency=low + + * Initial release (Closes: #567885) + + -- Stéphane Glondu <glondu@debian.org> Mon, 30 Aug 2010 13:19:15 +0200 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..99f11d5 --- /dev/null +++ b/debian/clean @@ -0,0 +1,2 @@ +bench/*.ps +bench/doc.pdf diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e30be4f --- /dev/null +++ b/debian/control @@ -0,0 +1,51 @@ +Source: ocaml-melt +Priority: optional +Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> +Uploaders: Stéphane Glondu <glondu@debian.org> +Build-Depends: + debhelper (>= 8), + dh-ocaml (>= 0.9), + ocaml-findlib, + mlpost, + ghostscript, + ocaml-nox (>= 3.11.1-3~) +Standards-Version: 3.9.1 +Section: tex +Homepage: http://melt.forge.ocamlcore.org/ +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-melt.git +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-melt.git + +Package: ocaml-melt +Architecture: any +Depends: + texlive-latex-base, + libmelt-ocaml-dev, + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Recommends: mlpost +Description: LaTeX with OCaml (tools) + Melt is a set of libraries and tools which allows you to program + LaTeX documents using OCaml. This combines the typesetting power of + LaTeX with the programming power of OCaml. It can be combined with + Mlpost to include figures. + . + This package contains command-line tools to compile Melt files. + +Package: libmelt-ocaml-dev +Architecture: any +Section: ocaml +Depends: + ${ocaml:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Provides: ${ocaml:Provides} +Recommends: + ocaml-findlib +Description: LaTeX with OCaml (libraries) + Melt is a set of libraries and tools which allows you to program + LaTeX documents using OCaml. This combines the typesetting power of + LaTeX with the programming power of OCaml. It can be combined with + Mlpost to include figures. + . + This package contains libraries needed to compile Melt files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..76b7080 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Name: Melt +Packaged-By: Stéphane Glondu <glondu@debian.org> +Packaged-Date: Mon, 30 Aug 2010 13:19:15 +0200 +Original-Source-Location: http://melt.forge.ocamlcore.org/ +Upstream-Author: Romain Bardou + +Files: * +Copyright: © 2009 Romain Bardou +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: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * 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. + * Neither the name of Melt nor the names of its 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: © 2010 Stéphane Glondu <glondu@debian.org> +License: BSD-C3 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/libmelt-ocaml-dev.doc-base.latex b/debian/libmelt-ocaml-dev.doc-base.latex new file mode 100644 index 0000000..5884167 --- /dev/null +++ b/debian/libmelt-ocaml-dev.doc-base.latex @@ -0,0 +1,9 @@ +Document: ocaml-melt-latex +Title: Latex API documentation +Author: Romain Bardou +Abstract: Latex ocamldoc-generated API documentation +Section: Programming/OCaml + +Format: HTML +Index: /usr/share/doc/libmelt-ocaml-dev/html/latex/index.html +Files: /usr/share/doc/libmelt-ocaml-dev/html/latex/* diff --git a/debian/libmelt-ocaml-dev.doc-base.melt b/debian/libmelt-ocaml-dev.doc-base.melt new file mode 100644 index 0000000..f816de5 --- /dev/null +++ b/debian/libmelt-ocaml-dev.doc-base.melt @@ -0,0 +1,9 @@ +Document: ocaml-melt-melt +Title: Melt API documentation +Author: Romain Bardou +Abstract: Melt ocamldoc-generated API documentation +Section: Programming/OCaml + +Format: HTML +Index: /usr/share/doc/libmelt-ocaml-dev/html/melt/index.html +Files: /usr/share/doc/libmelt-ocaml-dev/html/melt/* diff --git a/debian/libmelt-ocaml-dev.install.in b/debian/libmelt-ocaml-dev.install.in new file mode 100644 index 0000000..e2c4a1b --- /dev/null +++ b/debian/libmelt-ocaml-dev.install.in @@ -0,0 +1,5 @@ +@OCamlStdlibDir@ +/usr/share/doc/libmelt-ocaml-dev +_build/latex/latex.mli @OCamlStdlibDir@/melt +_build/melt/melt.mli @OCamlStdlibDir@/melt +_build/melt/mlpost_specific.ml @OCamlStdlibDir@/melt diff --git a/debian/libmelt-ocaml-dev.lintian-overrides b/debian/libmelt-ocaml-dev.lintian-overrides new file mode 100644 index 0000000..ccebcf0 --- /dev/null +++ b/debian/libmelt-ocaml-dev.lintian-overrides @@ -0,0 +1,3 @@ +# "Latex" is the name of the OCaml module about LaTeX! +libmelt-ocaml-dev: spelling-error-in-doc-base-title-field ocaml-melt-latex:2 Latex LaTeX +libmelt-ocaml-dev: spelling-error-in-doc-base-abstract-field ocaml-melt-latex:4 Latex LaTeX diff --git a/debian/ocaml-melt.doc-base.refman b/debian/ocaml-melt.doc-base.refman new file mode 100644 index 0000000..6dad574 --- /dev/null +++ b/debian/ocaml-melt.doc-base.refman @@ -0,0 +1,8 @@ +Document: ocaml-melt-refman +Title: Melt reference manual +Author: Romain Bardou +Abstract: Melt reference manual +Section: Programming/OCaml + +Format: PDF +Files: /usr/share/doc/ocaml-melt/doc.pdf* diff --git a/debian/ocaml-melt.install b/debian/ocaml-melt.install new file mode 100644 index 0000000..013176e --- /dev/null +++ b/debian/ocaml-melt.install @@ -0,0 +1,2 @@ +usr/bin +bench/doc.pdf /usr/share/doc/ocaml-melt diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f15658d --- /dev/null +++ b/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# -*- makefile -*- +include /usr/share/ocaml/ocamlvars.mk + +export OCAMLFIND_DESTDIR=$(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR) + +%: + dh $@ --with ocaml + +.PHONY: override_dh_auto_clean +override_dh_auto_clean: + $(MAKE) dist-clean + +.PHONY: override_dh_auto_configure +override_dh_auto_configure: + ocaml configure.ml + +.PHONY: override_dh_auto_build +override_dh_auto_build: + dh_auto_build + $(MAKE) -C bench doc.bench + cd bench && ps2pdf doc.ps + +.PHONY: override_dh_auto_install +override_dh_auto_install: + $(MAKE) install INSTALLBIN=debian/tmp/usr/bin + mkdir -p debian/tmp/usr/share/doc/libmelt-ocaml-dev/html + cp -a _build/latex/latex.docdir debian/tmp/usr/share/doc/libmelt-ocaml-dev/html/latex + cp -a _build/melt/melt.docdir debian/tmp/usr/share/doc/libmelt-ocaml-dev/html/melt + rm -f debian/tmp/usr/share/doc/libmelt-ocaml-dev/*/*.stamp 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..2037fbd --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=3 +http://forge.ocamlcore.org/frs/?group_id=76 .*/melt-(.*)\.tgz +# Upstream darcs repository: +# http://darcs.ocamlcore.org/repos/melt +# http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=melt |