[Pkg-ocaml-maint-commits] r2208 - trunk/packages/mlpcap/trunk/debian

Sylvain LE GALL gildor-guest at costa.debian.org
Fri Dec 2 01:00:23 UTC 2005


Author: gildor-guest
Date: 2005-12-02 01:00:22 +0000 (Fri, 02 Dec 2005)
New Revision: 2208

Added:
   trunk/packages/mlpcap/trunk/debian/control.in
Modified:
   trunk/packages/mlpcap/trunk/debian/changelog
   trunk/packages/mlpcap/trunk/debian/control
   trunk/packages/mlpcap/trunk/debian/libmlpcap-ocaml-dev.doc-base
   trunk/packages/mlpcap/trunk/debian/rules
Log:
Prepare to release -- SLG


Modified: trunk/packages/mlpcap/trunk/debian/changelog
===================================================================
--- trunk/packages/mlpcap/trunk/debian/changelog	2005-12-02 00:48:12 UTC (rev 2207)
+++ trunk/packages/mlpcap/trunk/debian/changelog	2005-12-02 01:00:22 UTC (rev 2208)
@@ -3,8 +3,10 @@
   * Remove direct reference to ocaml library dir
   * Upgrade standards version to 3.6.2.0 (no change)
   * Change FSF address in copyright
+  * Remove hardcode ocaml ABI version
+  * Set doc-base section to Apps/Programming rather than libdevel
 
- -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Wed,  9 Nov 2005 16:22:15 +0100
+ -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Fri,  2 Dec 2005 01:58:41 +0100
 
 mlpcap (0.9-5) unstable; urgency=low
 

Modified: trunk/packages/mlpcap/trunk/debian/control
===================================================================
--- trunk/packages/mlpcap/trunk/debian/control	2005-12-02 00:48:12 UTC (rev 2207)
+++ trunk/packages/mlpcap/trunk/debian/control	2005-12-02 01:00:22 UTC (rev 2208)
@@ -2,13 +2,13 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-nox-3.08.3, dpatch (>= 1.11), camlidl, libffcall1-dev, ocaml-findlib, libpcap0.8-dev
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.0), dpatch (>= 1.11), camlidl, libffcall1-dev, ocaml-findlib, libpcap0.8-dev
 Standards-Version: 3.6.2.0
 
 Package: libmlpcap-ocaml
 Architecture: any
 Section: libs
-Depends: ocaml-base-nox-3.08.3, ${shlibs:Depends}
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
 Description: binding of libpcap for OCaml
  MLpcap implements OCaml stubs to libpcap. It allows to call almost
  all function of libpcap from OCaml.
@@ -16,7 +16,7 @@
 Package: libmlpcap-ocaml-dev
 Architecture: any
 Section: libdevel
-Depends: ocaml-nox-3.08.3, libmlpcap-ocaml (= ${Source-Version})
+Depends: ocaml-nox-${F:OCamlABI}, libmlpcap-ocaml (= ${Source-Version})
 Description: binding of libpcap for OCaml
  MLpcap implements OCaml stubs to libpcap. It allows to call almost
  all function of libpcap from OCaml.

Copied: trunk/packages/mlpcap/trunk/debian/control.in (from rev 2188, trunk/packages/mlpcap/trunk/debian/control)
===================================================================
--- trunk/packages/mlpcap/trunk/debian/control	2005-11-29 22:29:10 UTC (rev 2188)
+++ trunk/packages/mlpcap/trunk/debian/control.in	2005-12-02 01:00:22 UTC (rev 2208)
@@ -0,0 +1,24 @@
+Source: mlpcap
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= #OCamlABI#), dpatch (>= 1.11), camlidl, libffcall1-dev, ocaml-findlib, libpcap0.8-dev
+Standards-Version: 3.6.2.0
+
+Package: libmlpcap-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Description: binding of libpcap for OCaml
+ MLpcap implements OCaml stubs to libpcap. It allows to call almost
+ all function of libpcap from OCaml.
+
+Package: libmlpcap-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, libmlpcap-ocaml (= ${Source-Version})
+Description: binding of libpcap for OCaml
+ MLpcap implements OCaml stubs to libpcap. It allows to call almost
+ all function of libpcap from OCaml.
+ .
+ Developpement files.

Modified: trunk/packages/mlpcap/trunk/debian/libmlpcap-ocaml-dev.doc-base
===================================================================
--- trunk/packages/mlpcap/trunk/debian/libmlpcap-ocaml-dev.doc-base	2005-12-02 00:48:12 UTC (rev 2207)
+++ trunk/packages/mlpcap/trunk/debian/libmlpcap-ocaml-dev.doc-base	2005-12-02 01:00:22 UTC (rev 2208)
@@ -2,7 +2,7 @@
 Title: MLpcap Manual
 Author: Jonathan Heusse
 Abstract: Description of all function provided by MLpcap.
-Section: libdevel
+Section: Apps/Programming
 
 Format: HTML
 Index: /usr/share/doc/libmlpcap-ocaml-dev/html/index.html

Modified: trunk/packages/mlpcap/trunk/debian/rules
===================================================================
--- trunk/packages/mlpcap/trunk/debian/rules	2005-12-02 00:48:12 UTC (rev 2207)
+++ trunk/packages/mlpcap/trunk/debian/rules	2005-12-02 01:00:22 UTC (rev 2208)
@@ -4,9 +4,13 @@
 include /usr/share/dpatch/dpatch.make
 PACKAGE = mlpcap
 OCAMLIBDIR=`ocamlc -where`
+OCAMLABI=$(shell ocamlc -version)
 DESTDIR_DEV=$(CURDIR)/debian/libmlpcap-ocaml-dev/
 DESTDIR=$(CURDIR)/debian/libmlpcap-ocaml/
 
+debian/control: debian/control.in
+	 sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+	
 configure: configure-stamp
 configure-stamp: patch-stamp
 	dh_testdir
@@ -59,7 +63,7 @@
 	dh_fixperms -s
 	dh_installdeb -s
 	dh_shlibdeps -s 
-	dh_gencontrol -s
+	dh_gencontrol -s -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums -s 
 	dh_builddeb -s
 




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