%define upstream_name Geo-WeatherNOAA %define upstream_version 4.38 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl extension for interpreting the NOAA weather data 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.bz2 BuildRequires: perl-devel BuildRequires: perl(Tie::IxHash) BuildRequires: perl(LWP::Simple) BuildArch: noarch %description This module is intended to interpret the NOAA zone forecasts and current city hourly data files. It should give a programmer an easy time to use the data instead of having to mine it. Be aware that if the variable $main::opt_v is set to anything (other than zero or '') then Geo::WeatherNOAA will be verbose on what it's doing with messages sent to STDERR. Useful for debugging. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make OPTIMIZE="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %check make test %files %defattr(-,root,root) %doc README %{_mandir}/man3/* %{perl_vendorlib}/Geo/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 4.380.0-2.mga3 + Revision: 367661 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 21 2011 jquelin <jquelin> 4.380.0-1.mga1 + Revision: 30466 - mageia rebuild - imported package perl-Geo-WeatherNOAA