e3cc51d
Name:           perl-Math-BigInt-GMP
ffc4714
Version:        1.37
7e942af
Release:        3%{?dist}
e3cc51d
Summary:        Math::BigInt::GMP Perl module
e3cc51d
License:        GPL+ or Artistic
e3cc51d
Group:          Development/Libraries
e3cc51d
URL:            http://search.cpan.org/dist/Math-BigInt-GMP/
f1aaf61
Source0:        http://search.cpan.org/CPAN/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-%{version}.tar.gz
e3cc51d
BuildRequires:  gmp-devel
e3cc51d
BuildRequires:  perl(ExtUtils::MakeMaker)
ffc4714
BuildRequires:  perl(Math::BigInt) >= 1.994
ffc4714
BuildRequires:  perl(Math::BigFloat) >= 1.994
ffc4714
BuildRequires:  perl(Pod::Coverage) >= 0.18
ffc4714
BuildRequires:  perl(Scalar::Util)
e3cc51d
BuildRequires:  perl(Test::More)
ffc4714
BuildRequires:  perl(Test::Pod) >= 1.22
e3cc51d
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
ffc4714
BuildRequires:  perl(threads)
ffc4714
BuildRequires:  perl(XSLoader)
e3cc51d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e3cc51d
f1aaf61
%{?perl_default_filter}
f1aaf61
e3cc51d
%description
e3cc51d
This package contains a replacement (drop-in) module for Math::BigInt's
e3cc51d
core, Math::BigInt::Calc.pm. It needs the new versions of Math::BigInt and
e3cc51d
Math::BigFloat as they are from Perl 5.7.x onwards.
e3cc51d
e3cc51d
%prep
e3cc51d
%setup -q -n Math-BigInt-GMP-%{version}
e3cc51d
e3cc51d
%build
e3cc51d
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
e3cc51d
make %{?_smp_mflags}
e3cc51d
e3cc51d
%install
e3cc51d
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
e3cc51d
e3cc51d
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
e3cc51d
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
e3cc51d
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
e3cc51d
e3cc51d
%{_fixperms} $RPM_BUILD_ROOT/*
e3cc51d
e3cc51d
%check
8b82cd6
# perl-Math-BigInt 1.87 (delivered with perl-5.10.x) is needed
8b82cd6
%if 0%{?rhel} > 5 || 0%{?fedora} > 8
e3cc51d
make test
8b82cd6
%endif
e3cc51d
e3cc51d
%files
e3cc51d
%doc BUGS CHANGES CREDITS LICENSE README TODO
e3cc51d
%{perl_vendorarch}/auto/*
e3cc51d
%{perl_vendorarch}/Math*
e3cc51d
%{_mandir}/man3/*
e3cc51d
e3cc51d
%changelog
7e942af
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-3
7e942af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7e942af
319e2d2
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-2
319e2d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
319e2d2
720ce0a
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.36-4.1
720ce0a
- Perl 5.16 rebuild
ffc4714
- Update to 1.37
720ce0a
f84f3d4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36-3.1
f84f3d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f84f3d4
a291db4
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 1.36-2.1
a291db4
- rebuild with new gmp
a291db4
dda14ef
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.36-2
dda14ef
- Perl mass rebuild
dda14ef
f1aaf61
* Sat Jun 18 2011 Iain Arnell <iarnell@gmail.com> 1.36-1
f1aaf61
- update to latest upstream version to fix perl-5.14 FTBFS
f1aaf61
- clean up spec for modern rpmbuild
f1aaf61
- use perl_default_filter
f1aaf61
5cae9e3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-2
5cae9e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5cae9e3
Steven Pritchard 273a0c4
* Tue Dec 21 2010 Steven Pritchard <steve@kspei.com> 1.32-1
Steven Pritchard 273a0c4
- Update to 1.32.
Steven Pritchard 273a0c4
- Update Source0 URL.
Steven Pritchard 273a0c4
- BR threads.
Steven Pritchard 273a0c4
d030d60
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.24-7
d030d60
- 661697 rebuild for fixing problems with vendorach/lib
d030d60
b4d54d9
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.24-6
b4d54d9
- Mass rebuild with perl-5.12.0
b4d54d9
8b82cd6
* Tue Dec 15 2009 Stepan Kasal <skasal@redhat.com> - 1.24-5
8b82cd6
- skip check in distributions with perl-5.8
8b82cd6
e0682b4
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.24-4
e0682b4
- rebuild against perl 5.10.1
e0682b4
de74761
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-3
de74761
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
de74761
999494e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
999494e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
999494e
e3cc51d
* Sun May 18 2008 Steven Pritchard <steve@kspei.com> 1.24-1
e3cc51d
- Specfile autogenerated by cpanspec 1.75.
e3cc51d
- BR Test::More, Test::Pod, Test::Pod::Coverage, and gmp-devel.