--- dans-gdal-scripts-0.14.orig/debian/control +++ dans-gdal-scripts-0.14/debian/control @@ -0,0 +1,20 @@ +Source: dans-gdal-scripts +Section: science +Priority: extra +Maintainer: Debian GIS Project +Uploaders: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 7), autotools-dev, libgdal1-dev, libproj-dev +Standards-Version: 3.8.1 +Homepage: http://www.gina.alaska.edu/projects/gina-tools + +Package: dans-gdal-scripts +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: gdal-contrib +Recommends: gdal-bin +Description: GDAL contributed tools by Geographic Information Network of Alaska + Dan Stahlke's GDAL contributed tools are a collection of useful programs to + perform common raster operations. The included tools are: + gdal_contrast_stretch, gdal_dem2rgb, gdal_get_projected_bounds, + gdal_landsat_pansharpi, gdal_list_corners, gdal_merge_simple, gdal_merge_vrt + gdal_raw2geotiff, gdal_trace_outline, gdal_wkt_to_mask. --- dans-gdal-scripts-0.14.orig/debian/dirs +++ dans-gdal-scripts-0.14/debian/dirs @@ -0,0 +1 @@ +usr/bin --- dans-gdal-scripts-0.14.orig/debian/copyright +++ dans-gdal-scripts-0.14/debian/copyright @@ -0,0 +1,57 @@ +This package was debianized by Francesco Paolo Lovergine on +Wed, 25 Mar 2009 10:55:18 +0100. + +It was downloaded from http://www.gina.alaska.edu/projects/gina-tools + +Upstream Author: + + Dan Stalke + +Copyright: + + Copyright (c) 2009, Regents of the University of Alaska + +License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the Geographic Information Network of Alaska + nor the names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This code was developed by Dan Stahlke for the Geographic Information Network of Alaska. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + +The Debian packaging is: + + Copyright (C) 2009 Francesco Paolo Lovergine + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. + + + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. --- dans-gdal-scripts-0.14.orig/debian/rules +++ dans-gdal-scripts-0.14/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + dh_auto_configure + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + dh_auto_build + touch $@ + +clean: + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + dh_auto_clean + rm -f config.sub config.guess + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/dans-gdal-scripts. + dh_auto_install + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman debian/dans-gdal-scripts.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- dans-gdal-scripts-0.14.orig/debian/compat +++ dans-gdal-scripts-0.14/debian/compat @@ -0,0 +1 @@ +7 --- dans-gdal-scripts-0.14.orig/debian/dans-gdal-scripts.1 +++ dans-gdal-scripts-0.14/debian/dans-gdal-scripts.1 @@ -0,0 +1,72 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH DANS-GDAL-SCRIPTS 1 "March 25, 2009" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +dans-gdal-scripts \- A GDAL add-on set of utilities +.PP +.PD 0 +.IP "\(bu" 2 +\fBgdal_contrast_stretch\fP - Contrast stretch and conversion from 16-bit to 8-bit +.IP "\(bu" 2 +\fBgdal_dem2rgb\fP - Generate hillshaded images from DEMs +.IP "\(bu" 2 +\fBgdal_raw2geotiff\fP - Convert raw binary files into GeoTIFFs +.IP "\(bu" 2 +\fBgdal_get_projected_bounds\fP - Project a polygon and return its bounding rectangle +.IP "\(bu" 2 +\fBgdal_trace_outline\fP - Trace the outline of an image and generate WKT or Shapefile +.IP "\(bu" 2 +\fBgdal_merge_vrt\fP - Merge individual bands into a single VRT image +.IP "\(bu" 2 +\fBgdal_merge_simple\fP - Merge individual bands into a single GeoTIFF image (8-bit only) +.IP "\(bu" 2 +\fBgdal_landsat_pansharp\fP - Pansharpening - works best for Landsat 7 images +.IP "\(bu" 2 +\fBgdal_wkt_to_mask\fP - Generate a bitmap of the area covered by a polygon +.IP "\(bu" 2 +\fBgdal_list_corners\fP - Prints raster geocode information in YAML format (similar to gdalinfo but gives YAML) +.IP "\(bu" 2 +.PP +.SH DESCRIPTION +This manual page documents briefly the Dan's GDAL Scripts set of commands. +You can get a synthetic description of accepted options and +command line arguments by using \fB-h\fP option with every command. +This set of tools is based on the GDAL/OGR library +and provides some useful simple manipulation of geo rasters and satellite data. +Do not buggy GDAL team for possible issues with this software, this is a contributed +set of programs. +.PP +.SH SEE ALSO +.BR gdalinfo (1), +.BR gdal_translate (1), +.BR gdal_contour (1), +.BR gdaladdo (1), +.BR gdal_grid (1), +.BR gdaltransform (1), +.BR gdalmanage (1), +.BR gdal_rasterize (1), +.BR gdaltindex (1), +.BR gdalenhance (1), +.BR gdalwarp (1). +.BR +.SH AUTHOR +The dans-gdal-scripts tools were written by Dan Stalke for GINA, +the Geographic Information Network of Alaska, a working group of the University +of Alaska. +.PP +This manual page was written by Francesco Paolo Lovergine , +for the Debian project (and may be used by others). --- dans-gdal-scripts-0.14.orig/debian/watch +++ dans-gdal-scripts-0.14/debian/watch @@ -0,0 +1,4 @@ +# See uscan(1) for format +# Compulsory line, this is a version 3 file +version=3 +http://www.gina.alaska.edu/projects/gina-tools/ \/documents\/dans-gdal-scripts-([\d\.]+)\.tar\.gz --- dans-gdal-scripts-0.14.orig/debian/changelog +++ dans-gdal-scripts-0.14/debian/changelog @@ -0,0 +1,12 @@ +dans-gdal-scripts (0.14-1build1) lucid; urgency=low + + * No-change rebuild against libgdal1-1.6.0 + + -- Steve Langasek Sun, 14 Mar 2010 03:55:12 +0000 + +dans-gdal-scripts (0.14-1) unstable; urgency=low + + * Initial release. + (closes: #521182) + + -- Francesco Paolo Lovergine Sat, 28 Mar 2009 23:27:21 +0100