[odb-api] 02/21: WIP: debian/ dir

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Aug 30 06:42:48 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository odb-api.

commit 15a4083cfb6c724364a8c0f32a31facc09f11050
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Aug 29 12:53:39 2017 +0100

    WIP: debian/ dir
---
 debian/changelog      |  5 ++++
 debian/compat         |  1 +
 debian/control        | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright      | 48 ++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf       | 16 +++++++++++++
 debian/rules          | 38 ++++++++++++++++++++++++++++++
 debian/source/format  |  1 +
 debian/source/options |  1 +
 debian/watch          |  2 ++
 9 files changed, 176 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c6df862
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+odb-api (VERSION) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Tue, 29 Aug 2017 12:50:56 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2e4deaa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,64 @@
+Source: odb-api
+Section: utils
+Priority: optional
+Maintainer: Alastair McKinstry <mckinstry at debian.org>
+Build-Depends: debhelper (>=10), gfortran, cmake (>= 2.8.11), 
+ libboost-dev (>= 1.47.0), libboost-test-dev, chrpath,
+ libeccodes-dev (>= 2.4.1),
+ libpython2.7-dev, libnetcdf-dev
+Standards-Version: 4.0.1
+Homepage: https://software.ecmwf.int/wiki/display/EMOS/Emoslib
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/emos.git
+
+Package: libemos0d
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}, libemos-data
+Pre-Depends: ${misc:Pre-Depends}
+Description: ECMWF Interpolation Library
+ The Interpolation library (EMOSLIB) includes Interpolation software and GRIB, 
+ BUFR, CREX encoding/decoding routines. It is used by the ECMWF meteorological 
+ archival and retrieval system (MARS) and also by the ECMWF graphics 
+ package MetView.
+
+Package: libemos-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libemos0d ( = ${binary:Version}), ${misc:Depends}, libeccodes-tools | libemos-bin:any 
+Recommends: pkg-config
+Description: ECMWF Interpolation Library - development
+ The Interpolation library (EMOSLIB) includes Interpolation software and GRIB, 
+ BUFR, CREX encoding/decoding routines. It is used by the ECMWF meteorological 
+ archival and retrieval system (MARS) and also by the ECMWF graphics 
+ package MetView.
+ .
+ This package contains the static libraries and headers needed to build 
+ applications against libemos.
+
+Package: libemos-bin
+Section: libs
+Architecture: any
+Multi-Arch: allowed
+Depends: ${misc:Depends}, ${shlibs:Depends}, libemos-data, libeccodes-tools
+Description: ECMWF Interpolation Library - binaries
+ The Interpolation library (EMOSLIB) includes Interpolation software and GRIB,
+ BUFR, CREX encoding/decoding routines. It is used by the ECMWF meteorological
+ archival and retrieval system (MARS) and also by the ECMWF graphics
+ package MetView.
+ .
+ This package provide bufr-* and other tools
+
+Package: libemos-data
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Description: Data files for the ECMWF Interpolation library
+ The Interpolation library (EMOSLIB) includes Interpolation software and GRIB, 
+ BUFR, CREX encoding/decoding routines. It is used by the ECMWF meteorological 
+ archival and retrieval system (MARS) and also by the ECMWF graphics 
+ package MetView.
+ .
+ This package contains the data files needed by EMOSLIB.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1b6f1ce
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,48 @@
+This package was debianized by Alastair McKinstry <mckinstry at debian.org>, on
+Mon,  6 Apr 2009 16:22:04 +0100.  It was downloaded from
+http://www.ecmwf.int/products/data/software/interpolation.html
+
+Upstream authors: ECMWF
+
+Copyright  © 1981-2013  European Centre for Medium-Range Weather Forecasts.
+
+Licensed under the Apache License 2.0. 
+The texts of the license can be found in /usr/share/common-licenses/Apache-2.0
+
+The Debian packaging is Copyright © 2009, Alastair McKinstry <mckinstry at debian.org>,
+is licensed under the terms of the GNU GPL version 3.
+
+
+This product mainly includes software developed by the 
+
+ Data and Services Section 
+
+ and  
+
+ Meteorological Visualisation Section
+
+at the 
+
+  "European Centre for Medium-Range Weather Forecasts" 
+           (ECMWF - http://www.ecmwf.int ).
+
+
+We would like to acknoledge the following contributions to Emoslib:
+
+- Files written by NCAR, the National Center for Atmospheric Research. 
+   bt_ibm_bal.bal
+   btibm.special
+
+- File kwprs1.F makes use of the
+   WMO Manual on Codes re GRIB Code.
+   http://www.nco.ncep.noaa.gov/pmb/docs/on388/appendixc.html.
+
+- File c2gene.F 
+  Algorithm used to determine groups is derived from Harry R. Glahn
+ (U.S. Met Service), from a working paper submitted to WMO SGDRC
+ in 1995.
+
+- File calcop.F 
+  Located in the materials contains the following citation:
+  Seber, G.A.F. (1979). Linear Regression Analyses.
+  John Wiley and Sons
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..0f92903
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = debian/master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = False
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..629e3c0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+# export DH_VERBOSE=1
+
+# The magic debhelper  rule
+%:
+	dh $@ --buildsystem=cmake
+
+
+DESTDIR:=$(shell pwd)/debian/tmp
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+ARCH:=$(shell dpkg --print-architecture)
+#AUTOGENERATED:= libemos-dev.install libemos-dev.links libemos0d.install
+LIBDIR:=/usr/lib/${DEB_HOST_MULTIARCH}
+
+CMAKE_CLAGS:= \
+		-Dgrib_api_BASE_DIR=/usr \
+		-DECBUILD_LOG_LEVEL=DEBUG \
+		-DENABLE_FFTW=ON \
+		-DENABLE_LITTLE_ENDIAN=$(LITTLE) \
+		-DCMAKE_INSTALL_PREFIX=${DESTDIR} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DBUILD_SHARED_LIBS=ON \
+		-DDISABLE_OS_CHECK=ON \
+		-DMCMODEL_FLAGS=${MCMODEL_FLAGS} \
+		-DBUILD_FLAGS=${BUILD_FLAGS} \
+		-DFPIC=${FPIC} \
+		-DINSTALL_LIBDIR=${LIBDIR} \
+		-DINTERPOL_TABLES_PATH=/usr/share/emos \
+		-DBUFR_TABLES_PATH=/usr/share/emos/bufrtables \
+		-DTEST_BUFR_TABLES_PATH=${CURDIR}/bufrtables
+#	for f in ${AUTOGENERATED} ; do \
+#		sed -e 's%@ARCH@%${DEB_HOST_MULTIARCH}%g' < debian/$$f.in  > debian/$$f ; \
+#		done
+
+
+override_dh_auto_configure:
+	dh_auto_configure -- 
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/source/options b/debian/source/options
new file mode 100644
index 0000000..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c26b521
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://software.ecmwf.int/wiki/display/EMOS/Releases /wiki/download/attachments/3473472/libemos\-(.+)\-Source\.tar\.gz\?api=v2

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



More information about the debian-science-commits mailing list