[Pkg-ocaml-maint-commits] [SCM] ocaml-curses packaging branch, master, updated. debian/1.0.3-1

Sylvain Le Gall gildor at debian.org
Wed Dec 16 23:54:22 UTC 2009


The following commit has been merged in the master branch:
commit 12eb8f4c96127dca20e1cc6639de50381dc0637c
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Wed Dec 16 23:19:55 2009 +0000

    dh-ocaml transition
    
    * Use dh-ocaml 0.9.1 features
    * Upgrade Standards-Version to 3.8.3 (README.source, section ocaml)
    * Add myself to Uploaders and set Maintainer to 'Debian OCaml
      Maintainers'
    * Clean up file left after build
    * Add .doc-base file for API documentation

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..fc98b3d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,38 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To get the fully patched source after unpacking the source package, cd
+to the root level of the source package and run:
+
+    debian/rules patch
+
+Removing a patch is as simple as removing its entry from the
+debian/patches/00list file, and please also remove the patch file
+itself.
+
+Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
+where you should replace XX with a new number and patchname with a
+descriptive shortname of the patch. You can then simply edit all the
+files your patch wants to edit, and then simply "exit 0" from the shell
+to actually create the patch file.
+
+To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
+and replace XX_patchname with the actual filename from debian/patches
+you want to use.
+
+To clean up afterwards again, "debian/rules unpatch" will do the
+work for you - or you can of course choose to call
+"fakeroot debian/rules clean" all together.
+
+
+--- 
+
+this documentation is part of dpatch package, and may be used by
+packages using dpatch to comply with policy on README.source. This
+documentation is meant to be useful to users who are not proficient in
+dpatch in doing work with dpatch-based packages. Please send any
+improvements to the BTS of dpatch package.
+
+original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer at debian.org>
+10 Aug 2008.
diff --git a/debian/changelog b/debian/changelog
index 39900d8..79e2f4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+ocaml-curses (1.0.2-4) UNRELEASED; urgency=low
+
+  * Use dh-ocaml 0.9.1 features
+  * Upgrade Standards-Version to 3.8.3 (README.source, section ocaml)
+  * Add myself to Uploaders and set Maintainer to 'Debian OCaml
+    Maintainers'
+  * Clean up file left after build
+  * Add .doc-base file for API documentation
+
+ -- Sylvain Le Gall <gildor at debian.org>  Wed, 16 Dec 2009 23:06:05 +0000
+
 ocaml-curses (1.0.2-3) unstable; urgency=low
 
   [ Stephane Glondu ]
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..ea21f4e
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+META
diff --git a/debian/control b/debian/control
index 2b4da54..d1f088c 100644
--- a/debian/control
+++ b/debian/control
@@ -1,17 +1,18 @@
 Source: ocaml-curses
-Section: devel
+Section: ocaml
 Priority: optional
-Maintainer: Samuel Mimram <smimram at debian.org>
-Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19), libncurses5-dev, ocaml-nox (>= 3.11), dh-ocaml, ocaml-findlib (>= 1.2.4), dpatch
-Standards-Version: 3.8.0
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Samuel Mimram <smimram at debian.org>, Sylvain Le Gall <gildor at debian.org>
+Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19), libncurses5-dev, ocaml-nox (>= 3.11), dh-ocaml (>= 0.9.1), ocaml-findlib (>= 1.2.4), dpatch
+Standards-Version: 3.8.3
 Homepage: http://www.nongnu.org/ocaml-tmk/
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-curses.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-curses.git
 
 Package: libcurses-ocaml
-Section: libs
 Architecture: any
-Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Depends: ${ocaml:Depends}, ${shlibs:Depends}
+Provides: ${ocaml:Provides}
 Description: OCaml bindings for the ncurses library
  The ncurses library provides functions to create rich text-mode
  interfaces. This package contains the necessary files to use the ncurses
@@ -20,9 +21,9 @@ Description: OCaml bindings for the ncurses library
  This package contains only the shared runtime stub libraries.
 
 Package: libcurses-ocaml-dev
-Section: libdevel
 Architecture: any
-Depends: ocaml-nox-${F:OCamlABI}, libncurses5-dev, libcurses-ocaml (= ${binary:Version})
+Depends: ${ocaml:Depends}, libncurses5-dev, libcurses-ocaml (= ${binary:Version})
+Provides: ${ocaml:Provides}
 Description: OCaml bindings for the ncurses library
  The ncurses library provides functions to create rich text-mode
  interfaces. This package contains the necessary files to use the ncurses
diff --git a/debian/libcurses-ocaml-dev.doc-base b/debian/libcurses-ocaml-dev.doc-base
new file mode 100644
index 0000000..6818401
--- /dev/null
+++ b/debian/libcurses-ocaml-dev.doc-base
@@ -0,0 +1,8 @@
+Document: libcurses-ocaml-dev-ocamldoc-api-reference
+Title: OCaml-curses  API Reference
+Abstract: API reference manual for libcurses-ocaml-dev 
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libcurses-ocaml-dev/html/index.html
+Files: /usr/share/doc/libcurses-ocaml-dev/html/*
diff --git a/debian/rules b/debian/rules
index 6feee95..df453c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,7 @@ clean: unpatch ocamlinit-clean
 	rm -f build-stamp
 
 	$(MAKE) clean
+	-$(RM) -r doc/
 
 	dh_clean
 
@@ -57,7 +58,8 @@ binary-arch: build install
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol -- -VF:OCamlABI="$(OCAML_ABI)"
+	dh_ocaml
+	dh_gencontrol 
 	dh_md5sums
 	dh_builddeb
 

-- 
ocaml-curses packaging



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