%define upstream_name Math-BigInt %define upstream_version 1.89 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Arbitrary size integer/float math package License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Math/%{upstream_name}-%{upstream_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description All operators (including basic math operations) are overloaded if you declare your big integers as $i = new Math::BigInt '123_456_789_123_456_789'; Operations with overloaded operators preserve the arguments which is exactly what you expect. %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 README %{perl_vendorlib}/Math %{_mandir}/*/* %changelog * Wed Jul 29 2009 Jérôme Quelin <jquelin@mandriva.org> 1.890.0-1mdv2010.0 + Revision: 403851 - rebuild using %%perl_convert_version * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.89-2mdv2009.0 + Revision: 268600 - rebuild early 2009.0 package (before pixel changes) * Tue Apr 22 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.89-1mdv2009.0 + Revision: 196478 - update to new version 1.89 * Tue Apr 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.88-1mdv2009.0 + Revision: 193858 - update to new version 1.88 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Sep 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.87-2mdv2008.0 + Revision: 78149 - noarch package * Sat Sep 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.87-1mdv2008.0 + Revision: 77701 - import perl-Math-BigInt * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-6mdv2007.0 - Rebuild * Thu May 04 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.01-5mdk - Fix According to perl Policy - Source URL - use mkrel * Sat Jun 11 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-4mdk - better url - spec cleanup - don't ship useless empty dirs - make test in %%check * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.01-3mdk - fix buildrequires in a backward compatible way * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.01-2mdk - rpmbuildupdate aware * Mon Jan 05 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.01-1mdk - first mdk release