/[packages]/cauldron/perl-Geo-Coordinates-DecimalDegrees/current/SPECS/perl-Geo-Coordinates-DecimalDegrees.spec
ViewVC logotype

Contents of /cauldron/perl-Geo-Coordinates-DecimalDegrees/current/SPECS/perl-Geo-Coordinates-DecimalDegrees.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1803821 - (show annotations) (download)
Sun Mar 20 07:46:35 2022 UTC (4 months, 3 weeks ago) by umeabot
File size: 1313 byte(s)
Mageia 9 Mass Rebuild
1 %define upstream_name Geo-Coordinates-DecimalDegrees
2 %define upstream_version 0.09
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 11
7
8 Summary: Convert between degrees/minutes/seconds and decimal degrees
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: https://metacpan.org/release/%{upstream_name}
12 Source0: https://cpan.metacpan.org/modules/by-module/Geo/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(ExtUtils::MakeMaker)
15 BuildRequires: perl(Test::Number::Delta)
16 BuildArch: noarch
17
18 %description
19 Latitudes and longitudes are most often presented in two common formats:
20 decimal degrees, and degrees, minutes and seconds. There are 60 minutes in
21 a degree, and 60 seconds in a minute. In decimal degrees, the minutes and
22 seconds are presented as a fractional number of degrees. For example, 1
23 degree 30 minutes is 1.5 degrees, and 30 minutes 45 seconds is 0.5125
24 degrees.
25
26 This module provides functions for converting between these two formats.
27
28 %prep
29 %setup -q -n %{upstream_name}-%{upstream_version}
30
31 %build
32 %{__perl} Makefile.PL INSTALLDIRS=vendor
33 %make_build
34
35 %check
36 make test
37
38 %install
39 %make_install
40
41 %files
42 %doc Changes INSTALL META.json META.yml README SIGNATURE
43 %{_mandir}/man3/*
44 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.28