--- r-cran-maptools-0.7.20.orig/debian/README.Debian +++ r-cran-maptools-0.7.20/debian/README.Debian @@ -0,0 +1,6 @@ +maptools for Debian +------------------- + +This package was builded as precondiion for R survaillance. + + -- Andreas Tille Fri, 16 Jan 2009 20:43:13 +0100 --- r-cran-maptools-0.7.20.orig/debian/changelog +++ r-cran-maptools-0.7.20/debian/changelog @@ -0,0 +1,7 @@ +r-cran-maptools (0.7.20-1) unstable; urgency=low + + * Initial release (Closes: #515646). + * Many thanks to Charles Plessy who did a really great job + to review the copyright + + -- Andreas Tille Fri, 13 Mar 2009 09:36:18 +0100 --- r-cran-maptools-0.7.20.orig/debian/compat +++ r-cran-maptools-0.7.20/debian/compat @@ -0,0 +1 @@ +7 --- r-cran-maptools-0.7.20.orig/debian/control +++ r-cran-maptools-0.7.20/debian/control @@ -0,0 +1,22 @@ +Source: r-cran-maptools +Section: non-free/science +Priority: optional +Maintainer: Debian Science Team +Uploaders: Andreas Tille +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev, r-cran-foreign, r-cran-sp +Standards-Version: 3.8.1 +Homepage: http://cran.r-project.org/web/packages/maptools +Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-maptools/trunk/?rev=0&sc=0 +Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-maptools/trunk/ +XS-Autobuild: yes + +Package: r-cran-maptools +Architecture: any +Depends: ${shlibs:Depends}, r-base-core, r-cran-foreign, r-cran-sp +Description: GNU R Tools for reading and handling spatial objects + Set of tools for manipulating and reading geographic data, in particular + ESRI shapefiles; C code used from shapelib. It includes binary access to + GSHHS shoreline files. The package also provides interface wrappers for + exchanging spatial objects with packages such as PBSmapping, spatstat, + maps, RArcInfo, Stata tmap, WinBUGS, Mondrian, and others. --- r-cran-maptools-0.7.20.orig/debian/copyright +++ r-cran-maptools-0.7.20/debian/copyright @@ -0,0 +1,163 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Name: maptools +Upstream-Maintainer: Nicholas J. Lewin-Koh, Roger Bivand, and others +Upstream-Source: http://cran.r-project.org/src/contrib/maptools_0.7-20.tar.gz +X-Debianized-By: Andreas Tille +X-Packaged-Date: Tue, 13 Jan 2009 11:48:08 +0100 +Disclaimer : This package is not part of the Debian operating system. + The r-cran-maptools source and binary Debian packages are part of the + "non-free" area in our archive. The packages in this area are not part of the + Debian system, although they have been configured for use with Debian. We + nevertheless support the use of the r-cran-maptools source and binary Debian + pacakges and provide infrastructure for non-free packages (such as our bug + tracking system and mailing lists). + . + The r-cran-maptools package contains some data files, inst/shapes/baltim.*, + inst/shapes/columbus.*, and inst/shapes/sids.* (see below), whose license does + not permit modification. + . + A request about relicensing was send to Julia Koschinsky + but not answered until now. + . + The r-cran-maptools package also contains files of unclear ownership and + licensing: `data/wrld_simpl.rda' and `inst/shapes/pointZ.*'. + +X-Non-Free-Autobuild: yes + The licence does not forbid Debian from using autobuilders to create binary + packages. + +Files: * +License: GPL-2+ +Copyright: © 2001-2008 Nicholas J. Lewin-Koh and Roger Bivand + 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-2'. + +Files: data/wrld_simpl.rda +Copyright: unknown +License: unknown + This file is a modified SpatialPolygonsDataFrame object + generated from the TM_WORLD_BORDERS_SIMPL-0.2 shapefile downloaded from + http://mappinghacks.com/data/TM_WORLD_BORDERS_SIMPL-0.2.zip with the + attribution: "The world_borders.zip dataset has been superseded by Bjørn + Sandvik's improved version, TM_WORLD_BORDERS-0.2.zip, mirrored from + thematicmapping.org." The country Polygons objects and the data slot data + frame row numbers have been set to the ISO 3166 three letter codes. + +Files: inst/shapes/fylk-val.* +Copyright: Statens Kartverk 2001 +License: PD + These files were released (with a collection of other shapefiles) to the + public domain in July 2001. The link to the relevant page under + http://www.statkart.no has now expired, this copy downloaded 13 July 2001. + +Files: inst/shapes/baltim.*, inst/shapes/columbus.*, and inst/shapes/sids.* +License: + These files are derived by permission from SAL data files + prepared by Luc Anselin; they were downloaded from: + . + http://sal.agecon.uiuc.edu/stuff/data.html (now http://geodacenter.asu.edu/sdata) + . + under the following conditions: "The data are provided as is, without + any warranties. Please make sure to give proper credit when using + them in any publications. Some of the data sets are purely illustrative + and should not be used for substantive research." + +Files: inst/shapes/pointZ.* +Copyright: Michael Toews +License: unknown + These files are a sample of points from a 3D point shapefile kindly + contributed by Michael Toews to be used here for illustrative purposes; this + sample is written out using writePointsShape(). + +Files: R/GE_png.R +Copyright: © 2007 by Duncan Golicher, David Forrest and Roger Bivand +License: GPL-2+ + +Files: R/point.in.polygon.R +Copyright: © 2004 Edzer Pebesma +License: GPL-2+ +X-Comment: This file was copied from the R sp package, released under the GNU + GPL version 2 or any later version. + See http://downloads.sourceforge.net/r-spatial/sp_0.7-0.tar.gz for confirmation. + +Files: R/readGPS.R +Copyright: © 2007 Patrick Giraudoux and Roger Bivand +License: GPL-2+ + +Files: R/sp2Mondrian.R +Copyright: © 2006-7 Patrick Hausmann and Roger Bivand +License: GPL-2+ + +Files: src/pip.c +Copyright: © 2004 Edzer Pebesma, with portion © 1998 by Joseph O'Rourke. +License: GPL-2+, with portion as follows: + Written by Joseph O'Rourke, contributions by Min Xu, June 1997. + Questions to orourke@cs.smith.edu. + . + This code is Copyright 1998 by Joseph O'Rourke. It may be freely + redistributed in its entirety provided that this copyright notice is + not removed. +X-Comment: This file was copied from the R sp package, released under the GNU + GPL version 2 or any later version. + See http://downloads.sourceforge.net/r-spatial/sp_0.7-0.tar.gz for confirmation. + +Files: src/shapefil.h, src/shpopen.c, src/shptree.c +Copyright: © 1999, 2001, Frank Warmerdam +License: MIT | LGPL + This software is available under the following "MIT Style" license, + or at the option of the licensee under the LGPL (see LICENSE.LGPL). This + option is discussed in more detail in shapelib.html. + . + -- + . + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. +X-Comment: quoting from http://shapelib.maptools.org/license.html : + I am pleased to receive bug fixes, and improvements for Shapelib. Unless the + submissions indicate otherwise I will assume that changes submitted to me + remain under the the above "dual license" terms. If changes are made to the + library with the intention that those changes should be protected by the LGPL + then I should be informed upon submission. Note that I will not generally + incorporate changes into the core of Shapelib that are protected under the LGPL + as this would effectively limit the whole file and distribution to LGPL terms. + +Files: src/Rcentroid.c +Copyright: © Joseph O'Rourke, Carl Anderson, Frank Warmerdam, Nicholas Lewin-Koh, Roger S. Bivand +License: GPL-2+ + +Files: src/Rgshhs.* +Copyright: © 1996-2008 P. Wessel and W. H. F. Smith + © 2005-7 Roger Bivand +License: GPL-2+ + +Files: debian/* +Copyright: 2009 Andreas Tille +License: Same as maptools itself --- r-cran-maptools-0.7.20.orig/debian/get-orig-source +++ r-cran-maptools-0.7.20/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 --- r-cran-maptools-0.7.20.orig/debian/rules +++ r-cran-maptools-0.7.20/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules file for the Debian/GNU Linux r-cran-maptools package +# Copyright 2009 by Andreas Tille + +include /usr/share/R/debian/r-cran.mk + +get-orig-source: + . debian/get-orig-source --- r-cran-maptools-0.7.20.orig/debian/watch +++ r-cran-maptools-0.7.20/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/maptools_([-\d.]*)\.tar\.gz