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