Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Rotkraut
perl-Geo-OSM-Tiles
perl-Geo-OSM-Tiles.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Geo-OSM-Tiles.spec of Package perl-Geo-OSM-Tiles
Name: perl-Geo-OSM-Tiles Version: 0.04 Release: 0 License: Artistic-1.0 or GPL-2.0+ %define cpan_name Geo-OSM-Tiles Summary: Calculate tile numbers and download map tiles from OpenStreetMap Url: http://search.cpan.org/dist/Geo-OSM-Tiles/ Group: Development/Libraries/Perl Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROTKRAUT/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Math::Trig) BuildRequires: perl(Test::More) BuildRequires: perl(Getopt::Long) BuildRequires: perl(File::Path) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec) BuildRequires: perl(Cwd) BuildRequires: perl(File::Temp) BuildRequires: perl(File::Find) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(YAML) Requires: perl(Math::Trig) Requires: perl(LWP::UserAgent) Requires: perl(YAML) Requires: perl(File::Path) Requires: perl(File::Basename) Requires: perl(File::Spec) Requires: perl(Cwd) Requires: perl(Getopt::Long) %if 0%{?suse_version} < 1140 Requires: perl = %{perl_version} %else %{perl_requires} %endif %description This module 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. There is also a perl script that downloads all map tiles from an OpenStreetMap tile server for some geographic region in a range of zoom levels. The PNG images of the tiles are stored in a directory tree that mirrors the paths from the server. Authors: -------- Rolf Krahl (rotkraut@cpan.org) %prep %setup -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README TODO %changelog * Mon Jun 6 2011 rolf@rotkraut.de - Revision of the spec file * Sat May 15 2010 rolf@rotkraut.de - Upgrade to release 0.04 * Mon Apr 5 2010 rolf@rotkraut.de - Upgrade to release 0.03 * Sun Nov 15 2009 rolf@rotkraut.de - Initial package (0.02)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor