[Pkg-ocaml-maint-commits] [SCM] camlbz2 packaging branch, master, updated. debian/0.6.0-4

Sylvain Le Gall gildor at debian.org
Thu Dec 17 21:54:59 UTC 2009


The following commit has been merged in the master branch:
commit 268760a23cfc0c49c1c04adbd72ef73a779bde94
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Thu Dec 17 21:52:55 2009 +0000

    dh-ocaml transition
    
    * Use dh-ocaml 0.9.1 features
    * Upgrade Standards-Version to 3.8.3 (section ocaml)
    * Install API documentation
    * Use only clean target, distclean remove too much source file

diff --git a/debian/changelog b/debian/changelog
index af5ae8b..dd276d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,17 @@
 camlbz2 (0.6.0-4) UNRELEASED; urgency=low
 
+  [ Stefano Zacchiroli ]
   * debian/copyright:
     - bump copyright years
     - reference versioned file under /usr/share/common-licenses/
 
- -- Stefano Zacchiroli <zack at debian.org>  Wed, 25 Feb 2009 11:26:04 +0100
+  [ Sylvain Le Gall ]
+  * Use dh-ocaml 0.9.1 features
+  * Upgrade Standards-Version to 3.8.3 (section ocaml)
+  * Install API documentation
+  * Use only clean target, distclean remove too much source file
+
+ -- Sylvain Le Gall <gildor at debian.org>  Thu, 17 Dec 2009 21:20:21 +0000
 
 camlbz2 (0.6.0-3) unstable; urgency=low
 
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..5dbc72d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,4 @@
+.depend
+Makefile
+config.log
+config.status
diff --git a/debian/control b/debian/control
index f9b21a0..c4f9585 100644
--- a/debian/control
+++ b/debian/control
@@ -1,30 +1,30 @@
 Source: camlbz2
-Section: devel
+Section: ocaml
 Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
-Uploaders: Stefano Zacchiroli <zack at debian.org>
+Uploaders: Stefano Zacchiroli <zack at debian.org>, Sylvain Le Gall <gildor at debian.org>
 Build-Depends:
  debhelper (>> 7),
  ocaml-nox (>= 3.11),
  ocaml-findlib (>= 1.2.4),
  libbz2-dev,
- dh-ocaml (>= 0.4),
+ dh-ocaml (>= 0.9.1),
  quilt,
  cdbs
-Standards-Version: 3.8.0
+Standards-Version: 3.8.3
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camlbz2.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camlbz2.git
 Homepage: http://camlbz2.forge.ocamlcore.org
 
 Package: libbz2-ocaml-dev
-Section: libdevel
 Architecture: any
 Depends:
- ocaml-nox-${F:OCamlABI},
  libbz2-ocaml (= ${binary:Version}),
  ocaml-findlib,
+ ${ocaml:Depends},
  ${shlibs:Depends},
  ${misc:Depends}
+Provides: ${ocaml:Provides}
 Description: OCaml bindings for the bzip2 compression library
  CamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular
  compression library which typically compresses better (i.e., smaller
@@ -41,12 +41,13 @@ Description: OCaml bindings for the bzip2 compression library
  CamlBZ2 in your programs.
 
 Package: libbz2-ocaml
-Section: libs
 Architecture: any
 Depends:
- ocaml-base-nox-${F:OCamlABI},
+ ${ocaml:Depends},
  ${shlibs:Depends},
  ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
 Description: OCaml bindings for the bzip2 compression library
  CamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular
  compression library which typically compresses better (i.e., smaller
diff --git a/debian/libbz2-ocaml-dev.doc-base b/debian/libbz2-ocaml-dev.doc-base
new file mode 100644
index 0000000..a901312
--- /dev/null
+++ b/debian/libbz2-ocaml-dev.doc-base
@@ -0,0 +1,8 @@
+Document: libbz2-ocaml-dev-ocamldoc-api-reference
+Title: Camlbz2 API Reference
+Abstract: API reference manual for libbz2-ocaml-dev
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libbz2-ocaml-dev/doc/index.html
+Files: /usr/share/doc/libbz2-ocaml-dev/doc/*
diff --git a/debian/libbz2-ocaml-dev.docs b/debian/libbz2-ocaml-dev.docs
index 409b9a4..87f91cc 100644
--- a/debian/libbz2-ocaml-dev.docs
+++ b/debian/libbz2-ocaml-dev.docs
@@ -1,3 +1,4 @@
 BUGS
 README
 ROADMAP
+doc/
diff --git a/debian/rules b/debian/rules
index 93080db..d387bcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,8 @@
 #!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/ocaml.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/ocaml.mk
 -include /usr/share/topgit/tg2quilt.mk
 
 LIB_NAME = bz2
@@ -14,6 +14,7 @@ QUILT_PATCH_DIR ?= debian/patches	# can be removed once #513952 gets fixed
 
 DEB_MAKE_BUILD_TARGET = all
 DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEST_DIR)
+DEB_MAKE_CLEAN_TARGET = clean
 
 binary-install/$(DEV_PKG_NAME)::
 	mkdir -p $(DLL_DEST_DIR)

-- 
camlbz2 packaging



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