%define module bignum %define name perl-%{module} %define version 0.23 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Transparent BigNumber support for Perl License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/Math/%{module}-%{version}.tar.gz BuildRequires: perl-Math-BigInt >= 1.87 BuildRequires: perl-Math-BigRat >= 0.20 BuildRoot: %{_tmppath}/%{name}-%{version} %description All operators (including basic math operations) are overloaded. Integer and floating-point constants are created as proper BigInts or BigFloats, respectively. %prep %setup -q -n %{module}-%{version} %build export PERL5LIB=%{perl_vendorlib} %{__perl} Makefile.PL installdirs=vendor %make %check export PERL5LIB=%{perl_vendorlib}/ make test %clean rm -rf %buildroot %install rm -rf %buildroot %makeinstall_std %files %defattr(-,root,root) %doc BUGS LICENSE TODO README CHANGES %{perl_vendorlib}/*.pm %{perl_vendorlib}/Math %{_mandir}/*/* %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.23-2mdv2009.0 + Revision: 268897 - rebuild early 2009.0 package (before pixel changes) * Tue Apr 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.23-1mdv2009.0 + Revision: 193749 - update to new version 0.23 + 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> 0.22-1mdv2008.0 + Revision: 78390 - import perl-bignum * Sun Sep 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.22-1mdv2008.0 - first mdv release