source: projects/specs/trunk/p/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP-vl.spec @ 9063

Revision 9063, 2.1 KB checked in by inagaki, 9 years ago (diff)

2014-11-05 Ryoichi INAGAKI <ryo1@…>

  • perl-CPAN-Changes, perl-IPC-Run3, perl-Math-BigInt?-GMP, perl-Probe-Perl, perl-Test-CPAN-Meta: updated
  • perl-Test-Script: rebuilt


Line 
1Name:           perl-Math-BigInt-GMP
2Version:        1.37
3Release:        1%{?_dist_release}
4Summary:        Math::BigInt::GMP Perl module
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Math-BigInt-GMP/
8Source0:        http://search.cpan.org/CPAN/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildRequires:  gmp-devel
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Math::BigInt) >= 1.994
14BuildRequires:  perl(Math::BigFloat) >= 1.994
15BuildRequires:  perl(Pod::Coverage) >= 0.18
16BuildRequires:  perl(Test::More)
17BuildRequires:  perl(Test::Pod) >= 1.22
18BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
19BuildRequires:  perl(threads)
20BuildRequires:  perl(XSLoader)
21Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
22
23%{?perl_default_filter}
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       shaolin
28
29%description
30This package contains a replacement (drop-in) module for Math::BigInt's
31core, Math::BigInt::Calc.pm. It needs the new versions of Math::BigInt and
32Math::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"
39make %{?_smp_mflags}
40
41%install
42make pure_install PERL_INSTALL_ROOT=%{buildroot}
43
44find %{buildroot} -type f -name .packlist -exec rm -f {} \;
45find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
46find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
47
48%{_fixperms} %{buildroot}/*
49
50%check
51make 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
Note: See TracBrowser for help on using the repository browser.