1 | Name: perl-Math-BigInt-GMP |
---|
2 | Version: 1.24 |
---|
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 | BuildRequires: gmp-devel |
---|
10 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
11 | BuildRequires: perl(Math::BigInt) >= 1.87 |
---|
12 | BuildRequires: perl(Test::More) |
---|
13 | BuildRequires: perl(Test::Pod) |
---|
14 | BuildRequires: perl(Test::Pod::Coverage) >= 1.08 |
---|
15 | BuildRequires: perl(YAML) |
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
17 | |
---|
18 | %{?perl_default_filter} |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: shaolin |
---|
23 | |
---|
24 | %description |
---|
25 | This package contains a replacement (drop-in) module for Math::BigInt's |
---|
26 | core, Math::BigInt::Calc.pm. It needs the new versions of Math::BigInt and |
---|
27 | Math::BigFloat as they are from Perl 5.7.x onwards. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n Math-BigInt-GMP-%{version} |
---|
31 | |
---|
32 | %build |
---|
33 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | %install |
---|
37 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
38 | |
---|
39 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
40 | find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
41 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
42 | |
---|
43 | %{_fixperms} %{buildroot}/* |
---|
44 | |
---|
45 | %check |
---|
46 | make test |
---|
47 | |
---|
48 | %files |
---|
49 | %doc BUGS CHANGES CREDITS LICENSE README TODO |
---|
50 | %{perl_vendorarch}/auto/* |
---|
51 | %{perl_vendorarch}/Math* |
---|
52 | %{_mandir}/man3/* |
---|
53 | |
---|
54 | %changelog |
---|
55 | * Mon Mar 12 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.24-1 |
---|
56 | - initial build for Vine Linux |
---|
57 | - the newest upstream so far is 1.37 that needs perl(Math::BigInt) >= 1.993, |
---|
58 | better consider upgrading to 1.37 after we upgrade perl to 5.14.x |
---|