%define upstream_name Geo-Gpx %define upstream_version 0.26 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Create and parse GPX files License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module//%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Format::ISO8601) BuildRequires: perl(HTML::Entities) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) BuildRequires: perl(Time::Local) BuildRequires: perl(XML::Descent) >= 1.10.0 BuildRequires: perl(version) BuildArch: noarch %description The original goal of this module was to produce GPX/XML files which were parseable by both GPX Spinner and EasyGPS. As of version 0.13 it has been extended to support general parsing and generation of GPX data. GPX 1.0 and 1.1 are supported. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Apr 01 2011 tv <tv> 0.260.0-1.mga1 + Revision: 79566 - imported package perl-Geo-Gpx * Fri Apr 01 2011 cpan2dist 0.26-1mga - initial mageia release, generated with cpan2dist