%define module Geo-WeatherNOAA %define name perl-%{module} %define version 4.38 %define release %mkrel 3 Summary: Perl extension for interpreting the NOAA weather data Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Perl Requires: perl URL: http://search.cpan.org/~msolomon/%{module}-%{version} Source: %{module}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: perl(Tie::IxHash) BuildRequires: perl(LWP::Simple) Buildroot: %{_tmppath}/%{name}-root 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 %{module}-%{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 * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.38-3mdv2009.0 + Revision: 268516 - rebuild early 2009.0 package (before pixel changes) * Sat May 24 2008 Guillaume Rousse <guillomovitch@mandriva.org> 4.38-2mdv2009.0 + Revision: 210956 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - fix spacing at top of description - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 4.38-1mdv2008.0 + Revision: 20115 - buildrequires - 4.38 * Sat Jun 03 2006 Stew Benedict <sbenedict@mandriva.com> 4.37-3mdv2007.0 - rebuild, url * Mon May 16 2005 Stew Benedict <sbenedict@mandriva.com> 4.37-2mdk - rebuild * Sun Apr 04 2004 Stew Benedict <sbenedict@mandrakesoft.com> 4.37-1mdk - first Mandrake release