1 | Name: perl-Math-BigInt-GMP |
---|
2 | Version: 1.37 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Math::BigInt::GMP Perl module |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Math-BigInt-GMP/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: gmp-devel |
---|
12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
13 | BuildRequires: perl(Math::BigInt) >= 1.994 |
---|
14 | BuildRequires: perl(Math::BigFloat) >= 1.994 |
---|
15 | BuildRequires: perl(Pod::Coverage) >= 0.18 |
---|
16 | BuildRequires: perl(Test::More) |
---|
17 | BuildRequires: perl(Test::Pod) >= 1.22 |
---|
18 | BuildRequires: perl(Test::Pod::Coverage) >= 1.08 |
---|
19 | BuildRequires: perl(threads) |
---|
20 | BuildRequires: perl(XSLoader) |
---|
21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
22 | |
---|
23 | %{?perl_default_filter} |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: shaolin |
---|
28 | |
---|
29 | %description |
---|
30 | This package contains a replacement (drop-in) module for Math::BigInt's |
---|
31 | core, Math::BigInt::Calc.pm. It needs the new versions of Math::BigInt and |
---|
32 | Math::BigFloat as they are from Perl 5.7.x onwards. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n Math-BigInt-GMP-%{version} |
---|
36 | |
---|
37 | %build |
---|
38 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
39 | make %{?_smp_mflags} |
---|
40 | |
---|
41 | %install |
---|
42 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
43 | |
---|
44 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
45 | find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
46 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
47 | |
---|
48 | %{_fixperms} %{buildroot}/* |
---|
49 | |
---|
50 | %check |
---|
51 | make test |
---|
52 | |
---|
53 | %files |
---|
54 | %doc BUGS CHANGES CREDITS LICENSE README TODO |
---|
55 | %{perl_vendorarch}/auto/* |
---|
56 | %{perl_vendorarch}/Math* |
---|
57 | %{_mandir}/man3/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.37-1 |
---|
61 | - updated to 1.37 |
---|
62 | - built with perl 5.16.3 and gmp 5.1.3 |
---|
63 | |
---|
64 | * Mon Mar 12 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.24-1 |
---|
65 | - initial build for Vine Linux |
---|
66 | - the newest upstream so far is 1.37 that needs perl(Math::BigInt) >= 1.993, |
---|
67 | better consider upgrading to 1.37 after we upgrade perl to 5.14.x |
---|