debian/0000755000000000000000000000000011763460105007171 5ustar debian/rules0000755000000000000000000000052411763460105010252 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_test: http_proxy= dh_auto_test override_dh_auto_install: dh_auto_install prename 's/\.pl$$//' $(TMP)/usr/bin/downloadosmtiles.pl prename 's/\.pl\.1p$$/.1p/' $(TMP)/usr/share/man/man1/downloadosmtiles.pl.1p debian/control0000644000000000000000000000220311763460105010571 0ustar Source: libgeo-osm-tiles-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libwww-perl, libyaml-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/Geo-OSM-Tiles/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libgeo-osm-tiles-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libgeo-osm-tiles-perl.git Package: libgeo-osm-tiles-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libwww-perl, libyaml-perl Description: module for calculating tile numbers for OpenStreetMap Geo::OSM::Tiles provides functions for calculating the path to a map tile at OpenStreetMap out of geographic coordinates. The path of a tile at OSM has the form $zoom/$tilex/$tiley.png. The numbering scheme is documented in the OSM wiki at http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames . . The package also contains the downloadosmtiles script that allows one to conveniently download OSM map tiles from a given OSM permalink URL. debian/source/0000755000000000000000000000000011763460105010471 5ustar debian/source/format0000644000000000000000000000001411763460105011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000130611763460105011043 0ustar libgeo-osm-tiles-perl (0.04-2) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * Add patch to skip test that needs internet access. (Closes: #676072) * debian/copyright: update to Copyright-Format 1.0. * Update years of packaging copyright. * Set debhelper compatibility level to 8. * Bump Standards-Version to 3.9.3 (no changes). * Mention downloadosmtiles script in long description. -- gregor herrmann Tue, 05 Jun 2012 21:38:40 +0200 libgeo-osm-tiles-perl (0.04-1) unstable; urgency=low * Initial release (closes: #602666). -- gregor herrmann Sun, 07 Nov 2010 00:22:12 +0100 debian/compat0000644000000000000000000000000211763460105010367 0ustar 8 debian/patches/0000755000000000000000000000000011763460105010620 5ustar debian/patches/no-internet-tests.patch0000644000000000000000000000101611763460105015241 0ustar Description: completely skip tests unless HAS_INTERNET is et Origin: vendor Forwarded: not-needed Author: gregor herrmann Last-Update: 2012-06-05 --- a/t/20-downloadosmtiles.t +++ b/t/20-downloadosmtiles.t @@ -4,6 +4,11 @@ use warnings; use Test::More; +unless ($ENV{HAS_INTERNET}) { + plan skip_all => 'Set HAS_INTERNET to enable tests requiring Internet'; +} + + # Check whether we can reach the tile server first. Otherwise it # makes no sense to try testing the script. use LWP::UserAgent; debian/patches/series0000644000000000000000000000003011763460105012026 0ustar no-internet-tests.patch debian/copyright0000644000000000000000000000204711763460105011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Geo-OSM-Tiles Upstream-Contact: Rolf Krahl Source: http://search.cpan.org/dist/Geo-OSM-Tiles/ Files: * Copyright: 2008-2010, Rolf Krahl License: Artistic or GPL-1+ Files: debian/* Copyright: 2010-2012, gregor herrmann License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000016711763460105010226 0ustar version=3 http://search.cpan.org/dist/Geo-OSM-Tiles/ .*/Geo-OSM-Tiles-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libgeo-osm-tiles-perl.docs0000644000000000000000000000000511763460105014151 0ustar TODO