[cdftools] 214/228: WIP: Next cut. First build

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jun 12 08:21:51 UTC 2015


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

mckinstry pushed a commit to branch master
in repository cdftools.

commit e5b251189e13ca8fd25afe723ba9dbcd8a22613a
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri May 24 10:36:45 2013 +0100

    WIP: Next cut. First build
---
 debian/cdftools.docs    |  1 +
 debian/cdftools.install |  1 +
 debian/changelog        |  2 +-
 debian/control          |  2 +-
 debian/copyright        |  6 +++++-
 debian/rules            | 11 +++++++++++
 6 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/debian/cdftools.docs b/debian/cdftools.docs
new file mode 100644
index 0000000..b8d3523
--- /dev/null
+++ b/debian/cdftools.docs
@@ -0,0 +1 @@
+DOC/*.pdf
diff --git a/debian/cdftools.install b/debian/cdftools.install
new file mode 100644
index 0000000..e82dac3
--- /dev/null
+++ b/debian/cdftools.install
@@ -0,0 +1 @@
+bin/* /usr/bin
diff --git a/debian/changelog b/debian/changelog
index 5ccae31..0b78caa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 cdftools (3.0-1) UNRELEASED; urgency=low
 
-  * Initial release. (Closes: #XXXXXX)
+  * Initial release. (Closes: #709631).
 
  -- Alastair McKinstry <mckinstry at debian.org>  Fri, 24 May 2013 10:04:43 +0100
diff --git a/debian/control b/debian/control
index dbe501d..8fcbc0e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: cdftools
 Section: utils
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
-Build-Depends: debhelper (>= 9), gfortran
+Build-Depends: debhelper (>= 9), gfortran, libnetcdf-dev
 Standards-Version: 3.9.4
 Homepage: http://servforge.legi.grenoble-inp.fr/projects/CDFTOOLS
 
diff --git a/debian/copyright b/debian/copyright
index 640455a..fa5460a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,11 @@
+Copyright © 2003 LEGI-MEOM (Jean-Marc.Molines at legi.grenoble-inp.fr ) 
+
+This package was debianized by Alastair McKinstry <mckinstry at debian.org>, 2013-05-24;
+
 The following licence information concerns ONLY the CDFTOOLS package
 =======================================================================
 
-Copyright � LEGI-MEOM (Jean-Marc.Molines at legi.grenoble-inp.fr )
+Copyright © LEGI-MEOM (Jean-Marc.Molines at legi.grenoble-inp.fr )
 Contributors : M. Balmaseda, E. Behrens, F. Castruccio,  J. Deshayes,
 N. Djath, C. Dufour, R. Dussin, N. Ferry, F. Hernandez, M. Juza,
 A. Lecointre, P. Mathiot, A. Melet, G. Moreau, A.M. Treguier
diff --git a/debian/rules b/debian/rules
old mode 100644
new mode 100755
index a949204..02543cf
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,15 @@
 %:
 	dh $@ 
 
+override_dh_auto_configure:
+	ln -sf Macrolib/macro.gfortran make.macro
+	mkdir bin
+
 override_dh_auto_make:
+	$(MAKE)
+	$(MAKE) -c DOC pdf
+
+override_dh_auto_clean:
+	rm -f make.macro  *.mod *.o DOC/*.pdf DOC/*.docs
+	rm -fr bin
+	$(MAKE) -C DOC clean

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



More information about the debian-science-commits mailing list