[r-cran-rnetcdf] 02/07: first debianization of the package

Sebastian Gibb sgibb-guest at moszumanska.debian.org
Mon Feb 10 14:58:25 UTC 2014


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

sgibb-guest pushed a commit to branch master
in repository r-cran-rnetcdf.

commit 592c6e0a6a7bd59fd219cc097eecacf45783c841
Author: Sebastian Gibb <mail at sebastiangibb.de>
Date:   Sun Feb 2 16:06:01 2014 +0100

    first debianization of the package
---
 debian/changelog              |  5 ++++
 debian/compat                 |  1 +
 debian/control                | 21 ++++++++++++++
 debian/copyright              | 66 +++++++++++++++++++++++++++++++++++++++++++
 debian/lintian-overrides      |  1 +
 debian/patches/hardening.diff |  8 ++++++
 debian/patches/series         |  1 +
 debian/rules                  | 15 ++++++++++
 debian/source/format          |  1 +
 debian/upstream               |  4 +++
 debian/watch                  |  3 ++
 11 files changed, 126 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3378b19
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-rnetcdf (1.6.1-2-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- The Debichem Group <debichem-devel at lists.alioth.debian.org>  Sun, 02 Feb 2014 15:54:06 +0100
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..9bcf5aa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: r-cran-rnetcdf
+Section: gnu-r
+Priority: optional
+Maintainer: The Debichem Group <debichem-devel at lists.alioth.debian.org>
+Uploaders: Filippo Rusconi <lopippo at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, r-base-dev (>= 2.4.0),
+  libnetcdf-dev (>= 3.6.0), libudunits2-dev (>= 2.1.22)
+Standards-Version: 3.9.5
+Homepage: http://cran.r-project.org/web/packages/RNetCDF/index.html
+Vcs-Git: git://anonscm.debian.org/debichem/packages/r-cran-rnetcdf.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debichem/packages/r-cran-rnetcdf.git
+
+Package: r-cran-rnetcdf
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${R:Depends}
+Description: GNU R package that provides an R Interface to NetCDF Datasets
+ This package provides an interface to
+ Unidata's NetCDF library functions (version 3) and furthermore access to
+ Unidata's UDUNITS calendar conversions. The routines and the documentation
+ follow the NetCDF and UDUNITS C interface, so the corresponding manuals
+ can be consulted for more detailed information.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..17ddd0b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: RNetCDF
+Upstream-Contact: Pavel Michna <michna at giub.unibe.ch>
+Source: http://cran.r-project.org/web/packages/RNetCDF/index.html
+
+Files: *
+Copyright: 2012 Pavel Michna <michna at giub.unibe.ch>
+License: GPL-2 or GPL-3
+
+License: GPL-2
+ 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 full text of the
+ GNU General Public License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-3
+ 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 program 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 full text of the
+ GNU General Public License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+
+Files: debian/*
+Copyright: 2014 Sebastian Gibb <sgibb.debian at gmail.com>
+License: GPL-3
+ 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 program 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 full text of the
+ GNU General Public License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..fc882fe
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1 @@
+no-upstream-changelog
diff --git a/debian/patches/hardening.diff b/debian/patches/hardening.diff
new file mode 100644
index 0000000..0932380
--- /dev/null
+++ b/debian/patches/hardening.diff
@@ -0,0 +1,8 @@
+add hardening flags
+--- a/src/Makevars.in
++++ b/src/Makevars.in
+@@ -1,2 +1,2 @@
+-PKG_CPPFLAGS = @CPPFLAGS@
+-PKG_LIBS = @LIBS@
++PKG_CPPFLAGS = @CPPFLAGS@ $(shell dpkg-buildflags --get CPPFLAGS)
++PKG_LIBS = @LIBS@ $(shell dpkg-buildflags --get LDFLAGS)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..978dfcf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hardening.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0d617f9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-rnetcdf package
+# Copyright 2014 by Sebastian Gibb <sgibb.debian at gmail.com>
+
+DEB_DH_ALWAYS_EXCLUDE := LICENSE
+DEB_DH_MD5SUMS_ARGS := --exclude=LICENSE
+DEB_INSTALL_DOCS_ALL :=
+
+include /usr/share/R/debian/r-cran.mk
+
+get-orig-source:
+	## download newest version from CRAN
+	uscan --no-conf --force-download --no-symlink --destdir ../tarballs
+
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 b/debian/upstream
new file mode 100644
index 0000000..bb478a5
--- /dev/null
+++ b/debian/upstream
@@ -0,0 +1,4 @@
+Name: RNetCDF
+Homepage: http://cran.r-project.org/web/packages/RNetCDF/index.html
+Repository: http://cran.r-project.org/web/packages/RNetCDF/index.html
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..77e27fc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://cran.r-project.org/src/contrib/RNetCDF_([\d\.-]*).tar.gz
+

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



More information about the debian-science-commits mailing list