[r-cran-gam] 18/20: d/copyright: DEP5
Andreas Tille
tille at debian.org
Fri Dec 16 14:32:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-gam.
commit d94cecc94e5a6266ca19eac4a3e9ff72a07e0471
Author: Andreas Tille <tille at debian.org>
Date: Fri Dec 16 14:47:55 2016 +0100
d/copyright: DEP5
---
debian/changelog | 2 +
debian/control | 7 ++--
debian/copyright | 112 +++++++++++++++++++++++++++++++------------------------
debian/rules | 17 +--------
4 files changed, 71 insertions(+), 67 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d9ff609..d980034 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ r-cran-gam (1.14-1) UNRELEASED; urgency=medium
* d/watch: version=4
* Take over packaging into Debian Science team
* cme fix dpkg-control
+ * Convert to dh-r
+ * d/copyright: DEP5
-- Andreas Tille <tille at debian.org> Fri, 16 Dec 2016 13:41:21 +0100
diff --git a/debian/control b/debian/control
index 4a893a1..0a65ebb 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Chris Lawrence <lawrencc at debian.org>
Section: gnu-r
Priority: optional
Build-Depends: debhelper (>> 9),
- cdbs,
+ dh-r,
r-base-dev (>= 3.0),
r-cran-foreach
Standards-Version: 3.9.8
@@ -16,8 +16,9 @@ Package: r-cran-gam
Architecture: any
Depends: ${R:Depends},
${shlibs:Depends},
- ${misc:Depends},
- r-cran-foreach
+ ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
Description: Generalized Additive Models for R
Functions for fitting and working with generalized additive models,
as described in chapter 7 of “Statistical Models in S” (Chambers and
diff --git a/debian/copyright b/debian/copyright
index c7630f8..5c5b8f8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,59 +1,73 @@
-This is the Debian package of the GNU R package known as "gam".
-The upstream author is Trevor Hastie <hastie at stanford.edu>
-
-This package was created by Chris Lawrence <lawrencc at debian.org>,
-based on Dirk Eddelbuettel's packaging of r-cran-car.
-
-The sources were downloaded from
-http://www.cran.mirrors.pair.com/src/contrib/
-
-The package was renamed from its upstream name 'gam' to 'r-cran-gam'
-to fit the pattern of CRAN (and non-CRAN) packages for R.
-
-Copyright (C) 2010-11 Trevor Hastie.
-
-It has been placed under the GNU General Public License, version 2.
-On Debian systems, the GPL is included in the file
-/usr/share/common-licenses/GPL-2.
-
-The upstream DESCRIPTION file for this package is available in
-/usr/lib/R/site-library/gam/
-
-loessc.c and loessf.f are distributed under the following license:
-
- * Copyright (c) 1989, 1992 by AT&T.
-
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gam
+Upstream-Contact: Trevor Hastie <hastie at stanford.edu>
+Source: http://cran.r-project.org/package=gam
+
+Files: *
+Copyright: 2010-2016 Trevor Hastie <hastie at stanford.edu>
+License: GPL-2
+
+Files: src/loessc.*
+Copyright: 1989, 1992 by AT&T.
+License: AS_IS
* Permission to use, copy, modify, and distribute this software for any
* purpose without fee is hereby granted, provided that this entire notice
* is included in all copies of any software which is or includes a copy
* or modification of this software and in all copies of the supporting
* documentation for such software.
-
+ .
* THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR AT&T MAKE ANY
* REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
-The upstream source also includes a number of Ratfor programs, written
-by Trevor Hastie and Robert Tibshirani, translated into plain Fortran
-code. The original Ratfor programs, along with translations into
-Fortran, can be found as a shell archive, available at:
-
-http://lib.stat.cmu.edu/general/gamfit
-
-Specifically, the following Fortran translations are included in this
-package, named as follows:
-
-Ratfor Fortran (gamfit) Fortran (r-cran-gam)
-
-bakfit.r bakfit.f backfit.f
-qsbart.r qsbart.r qsbart.f
-sgram.r sgram.f sgram.f
-sinerp.r sinerp.f sinerp.f
-splsm.r splsm.f splsm.f
-sslvrg.r sslvrg.f sslvrg.f
-stxwx.r stxwx.f stxwx.f
-
-Also, sbart.c is translated from sbart.f (and thus sbart.r) from Gamfit.
-
-According to the authors, "This software is in the public domain."
+Files: inst/ratfor/*.r
+Copyright: 2010-2016 Trevor Hastie, Robert Tibshirani
+License: GPL-2
+Comment:
+ The upstream source also includes a number of Ratfor programs, written
+ by Trevor Hastie and Robert Tibshirani, translated into plain Fortran
+ code. The original Ratfor programs, along with translations into
+ Fortran, can be found as a shell archive, available at:
+ .
+ http://lib.stat.cmu.edu/general/gamfit
+ .
+ Specifically, the following Fortran translations are included in this
+ package, named as follows:
+ .
+ Ratfor Fortran (gamfit) Fortran (r-cran-gam)
+ .
+ bakfit.r bakfit.f backfit.f
+ qsbart.r qsbart.r qsbart.f
+ sgram.r sgram.f sgram.f
+ sinerp.r sinerp.f sinerp.f
+ splsm.r splsm.f splsm.f
+ sslvrg.r sslvrg.f sslvrg.f
+ stxwx.r stxwx.f stxwx.f
+
+Files: src/sbart.c
+Copyright: not claimed
+License: public_domain
+ sbart.c is translated from sbart.f (and thus sbart.r) from Gamfit.
+ .
+ According to the authors, "This software is in the public domain."
+
+Files: debian/*
+Copyright: 2011-2015 Chris Lawrence <lawrencc at debian.org>
+License: GPL-2
+
+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
+ version 2 of the License.
+ .
+ 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.
+ .
+ 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'.
diff --git a/debian/rules b/debian/rules
index 036288f..68d9a36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-gam package
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-PKG_CFLAGS=$(CFLAGS)
-PKG_CXXFLAGS=$(CXXFLAGS)
-PKG_CPPFLAGS=$(CPPFLAGS)
-PKG_FFLAGS=$(FFLAGS)
-
-export PKG_CFLAGS PKG_CXXFLAGS PKG_CPPFLAGS PKG_FFLAGS
-
-makeFlags="LDFLAGS=$(LDFLAGS)"
-
-include /usr/share/R/debian/r-cran.mk
+%:
+ dh $@ --buildsystem R
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-gam.git
More information about the debian-science-commits
mailing list