[Pkg-ocaml-maint-commits] [SCM] libfuse-ocaml packaging branch, master, updated. upstream/0.0.0-1-g0c460b4

Goswin von Brederlow goswin-v-b at web.de
Wed Mar 4 16:06:48 UTC 2009


The following commit has been merged in the master branch:
commit 0c460b4f28103e641589bc2a5195654ff01482d1
Author: Goswin von Brederlow <goswin-v-b at web.de>
Date:   Wed Mar 4 17:06:26 2009 +0100

    Initial checkin.

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..984e959
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,21 @@
+-----------------------------------
++ libfuse-ocaml package for Debian +
+-----------------------------------
+
+
+Patch system
+------------
+
+This package uses 3.0 (quilt) format so the patch system is included
+in dpkg. Just edit the source and build.
+
+
+Version Control System
+----------------------
+
+Packaging is versioned with git, using git-buildpackage. Please
+consider reading the documentation of these tools. The repository
+is hosted of git.debian.org:
+
+http://git.debian.org/?p=pkg-ocaml-maint/packages/libfuse-ocaml.git
+git://git.debian.org/pkg-ocaml-maint/packages/libfuse-ocaml.git
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..69f1744
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libfuse-ocaml (0.0.0) UNRELEASED; urgency=low
+
+  * Initial Release
+
+ -- Goswin von Brederlow <goswin-v-b at web.de>  Tue,  3 Mar 2009 08:40:14 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7d2cb4e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: libfuse-ocaml
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Goswin von Brederlow <goswin-v-b at web.de>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0.0), libfuse-dev, ocaml-nox (>= 3.11.0), ocaml-findlib (>= 1.2.1-5), dh-ocaml (>= 0.4)
+Standards-Version: 3.8.0
+Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/libfuse-ocaml.git
+Vcs-Browser: http://git.debian.org/git/pkg-ocaml-maint/packages/libfuse-ocaml.git
+Format: 3.0 (quilt)
+
+Package: libfuse-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml bindings for libfuse (filesystem in userspace library)
+ This OCaml-library interfaces the libfuse (filesystem in userspace
+ library) C library. It can be used to implement filesystems in userspace.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libfuse-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libfuse-dev (>= 0.3), libfuse-ocaml (= ${binary:Version}), ocaml-findlib (>= 1.1), ${misc:Depends}
+Description: OCaml bindings for libfuse (filesystem in userspace library)
+ This OCaml-library interfaces the libfuse (filesystem in userspace
+ library) C library. It can be used to implement filesystems in userspace.
+ .
+ This package contains all the development stuff you need to use
+ OCaml fuse in your programs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..96e4219
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+This package was written and debianized by Goswin von Brederlow <goswin-v-b at web.de> on Tue,  3 Mar 2009 08:40:14 +0200.
+
+Upstream Author:
+  Goswin von Brederlow <goswin-v-b at web.de>
+
+Copyright:
+  © 2009 Goswin von Brederlow
+
+License:
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or (at your option) any later version.
+
+  This library is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+  USA.
+
+  On a Debian GNU/Linux system, the LGPL can be found as
+  /usr/share/common-licenses/LGPL-3.
+
+
+  As a special exception to the GNU Lesser 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 Lesser General Public License.
+  By "a publicly distributed version of the Library", we mean either the
+  unmodified Library as distributed by the authors, or a modified version
+  of the Library that is distributed under the conditions defined in clause
+  3 of the GNU Lesser General Public License.  This exception does not
+  however invalidate any other reasons why the executable file might be
+  covered by the GNU Lesser General Public License.
diff --git a/debian/libfuse-ocaml-dev.README.Debian b/debian/libfuse-ocaml-dev.README.Debian
new file mode 100644
index 0000000..533b2d4
--- /dev/null
+++ b/debian/libfuse-ocaml-dev.README.Debian
@@ -0,0 +1,13 @@
+
+  - About the examples
+    
+    Examples' Makefiles are built using OcamlMakefile and thus
+    depend on it, to build them install the ocaml-tools package
+    that contains OcamlMakefile and change the OCAMLMAKEFILE
+    variable defined in the various Makefiles making it point to
+    /usr/share/ocaml-tools/OcamlMakefile.
+
+    E.g.  OCAMLMAKEFILE = /usr/share/ocaml-tools/OcamlMakefile
+
+-- Stefano Zacchiroli <zack at debian.org>, Thu,  2 May 2002 23:01:21 +0200
+
diff --git a/debian/libfuse-ocaml-dev.doc-base.ocamldoc-apiref b/debian/libfuse-ocaml-dev.doc-base.ocamldoc-apiref
new file mode 100644
index 0000000..ce4b231
--- /dev/null
+++ b/debian/libfuse-ocaml-dev.doc-base.ocamldoc-apiref
@@ -0,0 +1,8 @@
+Document: libfuse-ocaml-dev-ocamldoc-api-reference
+Title: libfuse-ocaml-dev OCamldoc API Reference
+Abstract: API reference manual for libfuse-ocaml-dev (generated via OCamldoc)
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libfuse-ocaml-dev/html/api/index.html
+Files: /usr/share/doc/libfuse-ocaml-dev/html/api/*
diff --git a/debian/libfuse-ocaml-dev.docs b/debian/libfuse-ocaml-dev.docs
new file mode 100644
index 0000000..71dfd5b
--- /dev/null
+++ b/debian/libfuse-ocaml-dev.docs
@@ -0,0 +1 @@
+README.txt
diff --git a/debian/libfuse-ocaml-dev.examples b/debian/libfuse-ocaml-dev.examples
new file mode 100644
index 0000000..6e72ae2
--- /dev/null
+++ b/debian/libfuse-ocaml-dev.examples
@@ -0,0 +1 @@
+examples/*.ml
diff --git a/debian/libfuse-ocaml-dev.install b/debian/libfuse-ocaml-dev.install
new file mode 100644
index 0000000..9dfe453
--- /dev/null
+++ b/debian/libfuse-ocaml-dev.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/lib/ocaml/*/fuse/META
+debian/tmp/usr/lib/ocaml/*/fuse/*.a
+debian/tmp/usr/lib/ocaml/*/fuse/*.cm*
+debian/tmp/usr/lib/ocaml/*/fuse/*.ml*
+doc/fuse/html/* /usr/share/doc/libfuse-ocaml-dev/html/api
diff --git a/debian/libfuse-ocaml.install.in b/debian/libfuse-ocaml.install.in
new file mode 100644
index 0000000..58722ba
--- /dev/null
+++ b/debian/libfuse-ocaml.install.in
@@ -0,0 +1 @@
+debian/tmp/usr/lib/ocaml/*/fuse/*.so	usr/lib/ocaml/@OCamlABI@/stublibs/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1756f96
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_VERBOSE=1
+
+include /usr/share/ocaml/ocamlvars.mk
+include /usr/share/ocaml/ocamlinit.mk
+
+DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
+STRIPOPT := $(if $(OCAML_OPT_ARCH),-e "",-e "/native/d")
+
+build: build-stamp
+build-stamp: ocamlinit-stamp
+	dh_testdir
+	$(MAKE) TARGET=$(OCAML_BEST) PREFIX=/usr all doc
+	#sed $(STRIPOPT) META.in > META
+	dh build --after auto_build
+	touch $@
+
+clean: ocamlinit-clean
+	dh clean
+	$(MAKE) clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh install --before auto_install
+	$(MAKE) TARGET=$(OCAML_BEST) DESTDIR=$(DESTDIR) install
+	dh install --after auto_install
+	touch $@
+
+binary-indep: install-stamp
+
+binary-arch: install-stamp
+	echo 'F:OCamlAbi=$(OCAML_ABI)' >> debian/libfuse-ocaml.substvars
+	echo 'F:OCamlAbi=$(OCAML_ABI)' >> debian/libfuse-ocaml-dev.substvars
+	dh $@
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch

-- 
libfuse-ocaml packaging



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