]> git.pld-linux.org Git - packages/perl-Math-BigInt-GMP.git/blame - perl-Math-BigInt-GMP.spec
perl 5.38.0 rebuild
[packages/perl-Math-BigInt-GMP.git] / perl-Math-BigInt-GMP.spec
CommitLineData
4793e390
JB
1#
2# Conditional build:
aa36dada 3%bcond_without tests # do not perform "make test"
4793e390 4#
e462768e 5%define pdir Math
6%define pnam BigInt-GMP
4793e390 7Summary: Math::BigInt::GMP - use the GMP library for Math::BigInt routines
006988d1 8Summary(pl.UTF-8): Math::BigInt::GMP - wykorzystanie biblioteki GMP do funkcji Math::BigInt
4793e390 9Name: perl-Math-BigInt-GMP
618064d7 10Version: 1.6011
a7b29db2 11Release: 2
1b145397 12# same as perl
4793e390
JB
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
30181285 15Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
618064d7 16# Source0-md5: d0eff364a67026ed8543e327879695e9
30181285 17URL: http://search.cpan.org/dist/Math-BigInt-GMP/
4793e390 18BuildRequires: gmp-devel
a89ebeb4 19BuildRequires: perl-Math-BigInt >= 1.999812
4ac5f1c8 20BuildRequires: perl-devel >= 1:5.8.0
4793e390 21BuildRequires: rpm-perlprov >= 4.1-13
7b464fc6
JB
22%if %{with tests}
23BuildRequires: perl-Test-Simple >= 0.94
24%endif
25Requires: perl-Math-BigInt >= 1.999801
4793e390
JB
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Math::BigInt::GMP provides support for big integer calculations via
30means of the GMP C-library. Math::BigInt::GMP now no longer uses
31Math::GMP, but provides it's own XS layer to access the GMP C-library.
32This cuts out another (perl sub routine) layer and also reduces the
33memory footprint by not loading Math::GMP and Carp at all.
34
89628c43
JR
35%description -l pl.UTF-8
36Math::BigInt::GMP dostarcza obsługę obliczeń na wielkich liczbach
37całkowitych z wykorzystaniem funkcjonalności biblioteki C GMP. Moduł
38ten już nie używa Math::GMP, ale dostarcza własną warstwę XS do
39odwoływania się do biblioteki GMP w C. Dzięki temu nie ma kolejnej
40warstwy (podprocedury Perla), a wykorzystanie pamięci jest mniejsze
41dzięki nie wczytywaniu modułów Math::GMP i Carp.
4793e390
JB
42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
4793e390 49%{__make} \
d63d924f 50 CC="%{__cc}" \
4793e390
JB
51 OPTIMIZE="%{rpmcflags}"
52
aa36dada 53%{?with_tests:%{__make} test}
4793e390
JB
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc BUGS CHANGES CREDITS LICENSE README TODO
67%{perl_vendorarch}/Math/BigInt/GMP.pm
68%dir %{perl_vendorarch}/auto/Math/BigInt/GMP
4793e390 69%attr(755,root,root) %{perl_vendorarch}/auto/Math/BigInt/GMP/GMP.so
2a50c562 70%{_mandir}/man3/Math::BigInt::GMP.3pm*
This page took 0.084531 seconds and 5 git commands to generate.