Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (44 sloc) 1.583 kb
# $Id$
# Authority: dries
# Upstream: Tels <nospam-abuse$bloodgate,com>
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name Math-BigInteger
Summary: Deprecated Arbitrary length integer extension
Name: perl-Math-BigInteger
Version: 1.01
Release: 1.2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Math-BigInteger/
Source: http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigInteger-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
%description
If you want big integer (and float and rational) support in Perl, please use
Math::BigInt together with any of the math libraries like
Math::BigInt::a Big::GMP.
%prep
%setup -n %{real_name}-%{version}
%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc CHANGES README
%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorarch}/Math/
%{perl_vendorarch}/Math/BigInteger.p*
%dir %{perl_vendorarch}/auto/Math/
%{perl_vendorarch}/auto/Math/BigInteger
%changelog
* Sat Apr 9 2005 Dries Verachtert <dries@ulyssis.org> - 1.01-1
- Initial package.
Jump to Line
Something went wrong with that request. Please try again.