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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1803821 - (hide 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 jquelin 3020 %define upstream_name Geo-Coordinates-DecimalDegrees
2 jquelin 154309 %define upstream_version 0.09
3 jquelin 3020
4     Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6 umeabot 1803821 Release: %mkrel 11
7 jquelin 3020
8     Summary: Convert between degrees/minutes/seconds and decimal degrees
9     License: GPL+ or Artistic
10     Group: Development/Perl
11 ovitters 1574886 Url: https://metacpan.org/release/%{upstream_name}
12     Source0: https://cpan.metacpan.org/modules/by-module/Geo/%{upstream_name}-%{upstream_version}.tar.gz
13 jquelin 3020
14 jquelin 154309 BuildRequires: perl(ExtUtils::MakeMaker)
15 jquelin 3020 BuildRequires: perl(Test::Number::Delta)
16 jquelin 154309 BuildArch: noarch
17 jquelin 3020
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 ovitters 1574886 %make_build
34 jquelin 3020
35     %check
36     make test
37    
38     %install
39 wally 1472183 %make_install
40 jquelin 3020
41     %files
42 jquelin 154309 %doc Changes INSTALL META.json META.yml README SIGNATURE
43 jquelin 3020 %{_mandir}/man3/*
44 jquelin 26269 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.28