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