Name: perl-Geo-Distance Version: 0.20 Release: 5%{?dist} Summary: Calculate distances and closest locations License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Geo-Distance/ Source0: http://www.cpan.org/authors/id/B/BL/BLUEFEET/Geo-Distance-%{version}.tar.gz BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Math::Trig) # Tests: BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(lib) # Pod::Coverage::TrustPod not used BuildRequires: perl(Test::Fatal) >= 0.007 # Test::More version from Test::Simple in META BuildRequires: perl(Test::More) >= 0.94 # Test::Pod 1.41 not used # Test::Pod::Coverage 1.08 not used # Optional tests: BuildRequires: perl(DBD::SQLite) # Test::Script 1.05 not helpful Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This Perl library aims to provide as many tools to make it as simple as possible to calculate distances between geographic points, and anything that can be derived from that. Currently there is support for finding the closest locations within a specified distance, to find the closest number of points to a specified point, and to do basic point-to-point distance calculations. %prep %setup -q -n Geo-Distance-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Feb 08 2018 Fedora Release Engineering - 0.20-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.20-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Nov 07 2016 Petr Pisar 0.20-1 - Specfile autogenerated by cpanspec 1.78.