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

Revision 5888, 1.8 KB checked in by shaolin, 12 years ago (diff)
  • perl-Crypt-DSA: update to 1.17
  • perl-Math-BigInt?-GMP: new package
Line 
1Name:           perl-Math-BigInt-GMP
2Version:        1.24
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
9BuildRequires:  gmp-devel
10BuildRequires:  perl(ExtUtils::MakeMaker)
11BuildRequires:  perl(Math::BigInt) >= 1.87
12BuildRequires:  perl(Test::More)
13BuildRequires:  perl(Test::Pod)
14BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
15BuildRequires:  perl(YAML)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%{?perl_default_filter}
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       shaolin
23
24%description
25This package contains a replacement (drop-in) module for Math::BigInt's
26core, Math::BigInt::Calc.pm. It needs the new versions of Math::BigInt and
27Math::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"
34make %{?_smp_mflags}
35
36%install
37make pure_install PERL_INSTALL_ROOT=%{buildroot}
38
39find %{buildroot} -type f -name .packlist -exec rm -f {} \;
40find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
41find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
42
43%{_fixperms} %{buildroot}/*
44
45%check
46make 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
Note: See TracBrowser for help on using the repository browser.