%define module Finance-Quote %define name perl-%{module} %define version 1.12 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Get stock and mutual fund quotes from various exchanges License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Finance/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Finance::Quote provides access to time-delayed stockquotes from a number of sources. After you've installed the pacakage, try 'perldoc Finance::Quote' for full information. Alternatively, you can 'perldoc lib/Finance/Quote.pm' before the install. %prep %setup -q -n %{module}-%{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 INSTALL ChangeLog Documentation/* %{perl_vendorlib}/Finance %{_mandir}/*/* %changelog * Thu Nov 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.12-1mdv2007.0 + Revision: 84626 - new version - Import perl-Finance-Quote * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.11-2mdv2007.0 - Rebuild * Wed Mar 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.11-1mdk - New release 1.11 - spec cleanup * Wed Jul 20 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.10-1mdk - 1.10 ; add tests * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.08-3mdk - fix buildrequires in a backward compatible way * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.08-2mdk - rpmbuildupdate aware * Wed Aug 27 2003 François Pons <fpons@mandrakesoft.com> 1.08-1mdk - 1.08. * Tue Jun 17 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 1.07-1mdk - first mdk release