[r-cran-ncdf4] 01/01: Initial packaging

Balint Reczey rbalint at moszumanska.debian.org
Fri Jul 3 03:32:54 UTC 2015


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

rbalint pushed a commit to branch master
in repository r-cran-ncdf4.

commit 7475df72cebd9abfaa6630f54f66782a17acb3a3
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Tue Sep 30 15:46:46 2014 +0200

    Initial packaging
---
 debian/README.source             |  3 +++
 debian/changelog                 |  5 +++++
 debian/compat                    |  1 +
 debian/control                   | 30 ++++++++++++++++++++++++++++++
 debian/copyright                 | 29 +++++++++++++++++++++++++++++
 debian/patches/01_no_rpath.patch | 22 ++++++++++++++++++++++
 debian/patches/series            |  1 +
 debian/rules                     | 10 ++++++++++
 debian/source/format             |  1 +
 debian/watch                     |  3 +++
 10 files changed, 105 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..d97305b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,3 @@
+Original tarball contains the HDF5 License in a file called HDF5_COPYING.
+It is needed to be part of the binary packages on systems where ncdf4
+statically links to HDF5, but in Debian packages it is obsolete.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8be828d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-ncdf4 (1.13-1) unstable; urgency=low
+
+  * Initial release (Closes: #763501)
+
+ -- Balint Reczey <balint at balintreczey.hu>  Tue, 30 Sep 2014 12:55:32 +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..9bb3e0c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: r-cran-ncdf4
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Balint Reczey <balint at balintreczey.hu>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+	       dh-autoreconf,
+               cdbs,
+               r-base-dev,
+               libnetcdf-dev (>= 1:4.1),
+	       netcdf-bin
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/r-cran-ncdf4.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/r-cran-ncdf4.git
+Homepage: http://cran.r-project.org/web/packages/ncdf4/index.html
+
+Package: r-cran-ncdf4
+Architecture: any
+Depends: ${R:Depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: GNU R interface to Unidata netCDF format data files
+ High-level R interface to data files written using Unidata's netCDF
+ library (version 4 or earlier), which are binary data files that are
+ portable across platforms and include metadata information in addition
+ to the data sets. Using this package, netCDF files
+ (either version 4 or "classic" version 3) can be opened and data sets
+ read in easily. It is also easy to create new netCDF dimensions,
+ variables, and files, in either version 3 or 4 format, and manipulate
+ existing netCDF files. 
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3ed0dc9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ncdf4
+Source: http://cran.r-project.org/web/packages/ncdf4/index.html
+
+Files: *
+Copyright: 2014 David Pierce
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2014 Balint Reczey <balint at balintreczey.hu>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
diff --git a/debian/patches/01_no_rpath.patch b/debian/patches/01_no_rpath.patch
new file mode 100644
index 0000000..fe4293c
--- /dev/null
+++ b/debian/patches/01_no_rpath.patch
@@ -0,0 +1,22 @@
+Description: Disable setting rpath for finding netcdf libraries
+Forwarded: not-needed
+Author: Balint Reczey <balint at balintreczey.hu>
+
+diff --git a/tools/configure.in b/tools/configure.in
+index e97e1eb..36b1342 100644
+--- a/tools/configure.in
++++ b/tools/configure.in
+@@ -32,11 +32,11 @@ fi
+ 
+ HAVE_NETCDF=TRUE
+ 
+-NETCDF_LDFLAGS="$NETCDF_RPATH $NETCDF_LDFLAGS $LDFLAGS"
++NETCDF_LDFLAGS="$NETCDF_LDFLAGS $LDFLAGS"
+ 
+ AC_SUBST(NETCDF_CPPFLAGS)
+ AC_SUBST(NETCDF_LDFLAGS)
+-AC_SUBST(NETCDF_RPATH)
++# AC_SUBST(NETCDF_RPATH)
+ AC_SUBST(HAVE_NETCDF)
+ 
+ AC_OUTPUT(src/Makevars)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..90e18fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_no_rpath.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..01fd055
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_DH_ALWAYS_EXCLUDE := HDF5_COPYING
+DEB_DH_MD5SUMS_ARGS := --exclude=HDF5_COPYING
+
+include /usr/share/R/debian/r-cran.mk
+
+pre-build::
+	(cd tools && ./regenerate)
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/watch b/debian/watch
new file mode 100644
index 0000000..df6d1ba
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://cran.r-project.org/src/contrib/ncdf4_([\d\.-]*).tar.gz
+

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



More information about the debian-science-commits mailing list