Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > e277f2a34f0f404505394a828ae60d1a > files > 2

perl-Geo-METAR-1.150.0-1.mga1.src.rpm

%define upstream_name    Geo-METAR
%define upstream_version 1.15

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Process aviation weather reports in the METAR format
License:    GPL
Group:      Development/Perl
URL:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Geo/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires:  gmp-devel
BuildArch: noarch


%description
METAR reports are available on-line, thanks to the National
Weather Service. Since reading the METAR format isn't easy
for non-pilots, these reports are relatively useles to the
common man who just wants a quick glace at the weather.

%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 TODO README examples/*
%{perl_vendorlib}/Geo
%{_mandir}/*/*



%changelog
* Tue Jan 18 2011 jquelin <jquelin> 1.150.0-1.mga1
+ Revision: 22445
- cleaning spec file
- imported package perl-Geo-METAR