[r-cran-spam] 01/09: Added preliminary packaging stuff for R CRAN Spam

Sébastien Villemot sebastien at debian.org
Fri Nov 17 09:18:48 UTC 2017


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

sebastien pushed a commit to branch master
in repository r-cran-spam.

commit 08f694b1b35e79393caebfb699974c1c9fa507cb
Author: Andreas Tille <tille at debian.org>
Date:   Tue Apr 21 20:06:02 2009 +0000

    Added preliminary packaging stuff for R CRAN Spam
---
 debian/changelog       |  5 ++++
 debian/compat          |  1 +
 debian/control         | 20 +++++++++++++++
 debian/copyright       | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/get-orig-source |  7 +++++
 debian/rules           |  9 +++++++
 debian/watch           |  6 +++++
 7 files changed, 118 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bad7e83
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-spam (0.15.4-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #).
+
+ -- Andreas Tille <tille at debian.org>  Tue, 21 Apr 2009 13:41:52 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1228b63
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: r-cran-spam
+Section: non-free/science
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev
+Standards-Version: 3.8.1
+Homepage: http://cran.r-project.org/web/packages/spam/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spam/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-spam/trunk/
+
+Package: r-cran-spam
+Architecture: any
+Depends: ${shlibs:Depends}, r-base-core, r-cran-mvtnorm, r-cran-survival
+Description: GNU R SPArse Matrix
+ Set of function for sparse matrix algebra. Differences with SparseM/Matrix are:
+ (1) onlyone sparse matrix format is supported (essentially) , (2) based on
+ transparent and simple structure(s), (3) tailored for MCMC calculations within
+ GMRF. (4) S3 and S4 like-"compatible" ... and it is fast.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2ec605e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,70 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Name: spam
+Upstream-Maintainer: Reinhard Furrer <rfurrer at mines.edu>
+Upstream-Source: http://cran.r-project.org/web/packages/spam/
+X-Debianized-By: Andreas Tille <tille at debian.org>
+X-Packaged-Date: Tue, 21 Apr 2009 13:41:52 +0200
+
+Files: debian/*
+Copyright: 2009 Andreas Tille <tille at debian.org>
+License: Same as spam itself
+
+Files: *
+Copyright: (C) 2008, 2009 Reinhard Furrer
+
+All R code and documentation in this package is licensed under the terms of the GPL license.  
+
+The Fortran functions in spammodified.f were written by Reinhard Furrer.
+
+The Fortran functions in bckslvmodified.f cholmod.f are modifications of 
+Fortran functions provided by the SparseM package.
+
+The code in cholesky.f is a modified version of code originally
+written by Esmond Ng and Barry Peyton.  The modified version is
+distributed as part of PCx by Czyzyk, Mehrotra, Wagner, and Wright and
+is copywrite by the University of Chicago.  The PCx distribution makes
+the following stipulation:
+
+
+	This software discloses material protectable under copyright 
+	laws of the United States. Permission is hereby granted to use, 
+	reproduce, prepare derivative works, and redistribute to others 
+	at no charge, provided that the original PCx copyright notice, 
+	Government license and disclaimer are retained and any changes 
+	are clearly documented; however, any entity desiring permission 
+	to use this software within a commercial organization or to 
+	incorporate this software or a work based on the software into 
+	a product for sale must contact Paul Betten at the Industrial 
+	Technology Development Center, Argonne National Laboratory.
+
+		PAUL BETTEN
+		betten at anl.gov
+		Industrial Technology Development Center,
+		Argonne National Laboratory,
+		Argonne, IL 60439
+		(630) 252-4962
+		FAX: (630) 252-5230 
+
+All other Fortran functions are from
+
+   http://www-users.cs.umn.edu/~saad/software/SPARSKIT/sparskit.html
+
+(GNU Lesser General Public License)
+
+
+
+ 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+X-Comment: On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100644
index 0000000..96ee179
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,7 @@
+#!/bin/sh
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+RENAME=`uscan --verbose --force-download | \
+   grep "Newest version on remote site is .* local version is .*" | \
+   head -n 1 | \
+   sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?mv ../${PKG}_\1.orig.tar.gz ../${PKG}_\2.orig.tar.gz?"`
+$RENAME
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e5b3cd3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-spam package
+# Copyright 2009 by Andreas Tille <tille at debian.org>
+
+include /usr/share/R/debian/r-cran.mk
+
+get-orig-source:
+	. debian/get-orig-source
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e24d111
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+# Same effect as dversionmangle, but we have to rename the orig.tar.gz
+# anyway and it is easier to write a get-origsource script this way
+# opts="uversionmangle=s/([\d.]+)-(\d)/$1.$2/"
+opts="dversionmangle=s/([\d.]+)\.(\d)/$1-$2/" \
+http://cran.r-project.org/src/contrib/spam_([-\d.]*)\.tar\.gz

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



More information about the debian-science-commits mailing list