[mbsystem] 02/02: Add debian/ dir template

Andreas Tille tille at debian.org
Mon Aug 17 12:12:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mbsystem.

commit a076f1751fe2995ba4746d771bb2f14b18f0915d
Author: Andreas Tille <tille at debian.org>
Date:   Mon Aug 17 14:07:08 2015 +0200

    Add debian/ dir template
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 31 +++++++++++++++++++++++++++++++
 debian/copyright         | 11 +++++++++++
 debian/createmanpages    | 16 ++++++++++++++++
 debian/doc-base          | 20 ++++++++++++++++++++
 debian/rules             | 22 ++++++++++++++++++++++
 debian/source/format     |  1 +
 debian/upstream/metadata | 12 ++++++++++++
 debian/watch             |  3 +++
 10 files changed, 122 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2b07ff4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mbsystem (5.5.2252-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #<bug>)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 17 Aug 2015 13:53:13 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b1c18b2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: mbsystem
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/mbsystem.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/mbsystem.git
+Homepage: http://www.ldeo.columbia.edu/res/pi/MB-System/
+
+Package: mbsystem
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: processing and display of swath sonar data
+ MB-System is an open source software package for the processing and
+ display of bathymetry and backscatter imagery data derived from
+ multibeam, interferometry, and sidescan sonars. The source code for MB-
+ System is freely available (for free) by anonymous ftp (including "point
+ and click" access through these web pages). A complete description is
+ provided in web pages accessed through links below.
+ .
+ MB-System was originally developed at the Lamont-Doherty Earth
+ Observatory of Columbia University (L-DEO) and is now a collaborative
+ effort between the Monterey Bay Aquarium Research Institute (MBARI) and
+ L-DEO. The National Science Foundation has provided the primary support
+ for MB-System development since 1993. The Packard Foundation has
+ provided significant support through MBARI since 1998. Additional
+ support has derived from SeaBeam Instruments (1994-1997), NOAA (2002-
+ 2004), and others.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c76e73d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: <pkg>
+Source: <path_to_download>
+
+Files: *
+Copyright: © 20xx-20yy <upstream>
+License: <license>
+
+Files: debian/*
+Copyright: © 2014 maintainername <maintainer at e.mail>
+License: <license>
diff --git a/debian/createmanpages b/debian/createmanpages
new file mode 100755
index 0000000..febcd91
--- /dev/null
+++ b/debian/createmanpages
@@ -0,0 +1,16 @@
+#!/bin/sh
+MANDIR=debian
+mkdir -p $MANDIR
+
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
+
+help2man --no-info --no-discard-stderr --help-option=" " \
+         --name='<optional description of the program>' \
+            --version-string="$VERSION" <programname> > $MANDIR/<programname>.1
+
+cat <<EOT
+Please enhance the help2man output.
+The following web page might be helpful in doing so:
+    http://liw.fi/manpages/
+EOT
+
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..5e7e1d4
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,20 @@
+Document: <pkg>
+Title: <title for this doc>
+Author: <author of this doc>
+Abstract: <if you have no better clue the short and
+ long description from debian/control might fit here as well>
+Section: Science/{Biology,Medicine} # see /usr/share/doc/doc-base/doc-base.txt.gz "2.3.3. The `section' field"
+
+# pick one of the below options
+Format: Text
+Files: /usr/share/doc/<pkg>/<pkg>.txt.gz
+
+Format: html
+Index: /usr/share/doc/<pkg>/html/index.html
+Files: /usr/share/doc/<pkg>/html/*
+
+Format: pdf
+Files: /usr/share/doc/<pkg>/<pkg>.pdf.gz
+
+Format: postscript
+Files: /usr/share/doc/<pkg>/<pkg>.ps.gz
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1d11ebc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables, you can
+#  include /usr/share/dpkg/default.mk
+# and use what is set there.
+
+%:
+	dh $@
+
+#get-orig-source:
+#	. debian/get-orig-source
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d8b5812
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,12 @@
+Reference:
+  Author: 
+  Title: 
+  Journal: 
+  Year: 
+  Volume: 
+  Number: 
+  Pages: 
+  DOI: 
+  PMID:
+  URL: 
+  eprint: 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8484754
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+ftp://ftp.ldeo.columbia.edu/pub/MB-System/mbsystem-(\d[\d.]*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mbsystem.git



More information about the debian-science-commits mailing list