]> git.pld-linux.org Git - packages/perl-Math-BigInt-GMP.git/blob - perl-Math-BigInt-GMP.spec
- updated to 1.14
[packages/perl-Math-BigInt-GMP.git] / perl-Math-BigInt-GMP.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Math
7 %define pnam    BigInt-GMP
8 Summary:        Math::BigInt::GMP - use the GMP library for Math::BigInt routines
9 Summary(pl):    Math::BigInt::GMP - wykorzystanie biblioteki GMP do funkcji Math::BigInt
10 Name:           perl-Math-BigInt-GMP
11 Version:        1.14
12 Release:        1
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  3067740831f9b47ed8ae852753c411c6
17 BuildRequires:  gmp-devel
18 BuildRequires:  perl-Math-BigInt >= 1.64
19 BuildRequires:  perl(Math::BigFloat) >= 1.38
20 BuildRequires:  perl-devel >= 5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 Requires:       perl-Math-BigInt >= 1.64
23 Requires:       perl(Math::BigFloat) >= 1.38
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Math::BigInt::GMP provides support for big integer calculations via
28 means of the GMP C-library. Math::BigInt::GMP now no longer uses
29 Math::GMP, but provides it's own XS layer to access the GMP C-library.
30 This cuts out another (perl sub routine) layer and also reduces the
31 memory footprint by not loading Math::GMP and Carp at all.
32
33 %description -l pl
34 Math::BigInt::GMP dostarcza obs³ugê obliczeñ na wielkich liczbach
35 ca³kowitych z wykorzystaniem funkcjonalno¶ci biblioteki C GMP. Modu³
36 ten ju¿ nie u¿ywa Math::GMP, ale dostarcza w³asn± warstwê XS do
37 odwo³ywania siê do biblioteki GMP w C. Dziêki temu nie ma kolejnej
38 warstwy (podprocedury Perla), a wykorzystanie pamiêci jest mniejsze
39 dziêki nie wczytywaniu modu³ów Math::GMP i Carp.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47
48 %{__make} \
49         OPTIMIZE="%{rpmcflags}"
50
51 %{!?_without_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -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
67 %{perl_vendorarch}/auto/Math/BigInt/GMP/GMP.bs
68 %attr(755,root,root) %{perl_vendorarch}/auto/Math/BigInt/GMP/GMP.so
69 %{_mandir}/man3/*
This page took 0.031669 seconds and 4 git commands to generate.