/[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 3020 - (hide annotations) (download)
Sun Jan 9 15:32:47 2011 UTC (11 years, 7 months ago) by jquelin
File size: 1346 byte(s)
imported package perl-Geo-Coordinates-DecimalDegrees
1 jquelin 3020 %define upstream_name Geo-Coordinates-DecimalDegrees
2     %define upstream_version 0.08
3    
4     Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6     Release: %mkrel 1
7    
8     Summary: Convert between degrees/minutes/seconds and decimal degrees
9     License: GPL+ or Artistic
10     Group: Development/Perl
11     Url: http://search.cpan.org/dist/%{upstream_name}
12     Source0: http://www.cpan.org/modules/by-module/Geo/%{upstream_name}-%{upstream_version}.tar.gz
13    
14     BuildRequires: perl(Test::Number::Delta)
15     BuildArch: noarch
16     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
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
34    
35     %check
36     make test
37    
38     %install
39     rm -rf %buildroot
40     %makeinstall_std
41    
42     %clean
43     rm -rf %buildroot
44    
45     %files
46     %defattr(-,root,root)
47     %doc Changes README
48     %{_mandir}/man3/*
49     %perl_vendorlib/*
50    
51    

  ViewVC Help
Powered by ViewVC 1.1.28