]> git.pld-linux.org Git - packages/perl-Math-BigInt-GMP.git/blobdiff - perl-Math-BigInt-GMP.spec
- tabs in preamble
[packages/perl-Math-BigInt-GMP.git] / perl-Math-BigInt-GMP.spec
index 4d6fc0cd4b2f90ceadc49735b920e2bfa070ba15..3af6b8d73f8800d7d1340b36fb1a38bd1e55638d 100644 (file)
@@ -1,26 +1,25 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Math
-%define        pnam    BigInt-GMP
+%define                pdir    Math
+%define                pnam    BigInt-GMP
 Summary:       Math::BigInt::GMP - use the GMP library for Math::BigInt routines
-Summary(pl):   Math::BigInt::GMP - wykorzystanie biblioteki GMP do funkcji Math::BigInt
+Summary(pl.UTF-8):     Math::BigInt::GMP - wykorzystanie biblioteki GMP do funkcji Math::BigInt
 Name:          perl-Math-BigInt-GMP
-Version:       1.14
+Version:       1.18
 Release:       1
+# same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 3067740831f9b47ed8ae852753c411c6
+# Source0-md5: cd17afa7e9e7e9192457f6968d538f3f
 BuildRequires: gmp-devel
-BuildRequires: perl-Math-BigInt >= 1.64
-BuildRequires: perl(Math::BigFloat) >= 1.38
-BuildRequires: perl-devel >= 5.8.0
+BuildRequires: perl-Math-BigInt >= 1.76
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-Requires:      perl-Math-BigInt >= 1.64
-Requires:      perl(Math::BigFloat) >= 1.38
+Requires:      perl-Math-BigInt >= 1.76
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,13 +29,13 @@ Math::GMP, but provides it's own XS layer to access the GMP C-library.
 This cuts out another (perl sub routine) layer and also reduces the
 memory footprint by not loading Math::GMP and Carp at all.
 
-%description -l pl
-Math::BigInt::GMP dostarcza obs³ugê obliczeñ na wielkich liczbach
-ca³kowitych z wykorzystaniem funkcjonalno¶ci biblioteki C GMP. Modu³
-ten ju¿ nie u¿ywa Math::GMP, ale dostarcza w³asn± warstwê XS do
-odwo³ywania siê do biblioteki GMP w C. Dziêki temu nie ma kolejnej
-warstwy (podprocedury Perla), a wykorzystanie pamiêci jest mniejsze
-dziêki nie wczytywaniu modu³ów Math::GMP i Carp.
+%description -l pl.UTF-8
+Math::BigInt::GMP dostarcza obsługę obliczeń na wielkich liczbach
+całkowitych z wykorzystaniem funkcjonalności biblioteki C GMP. Moduł
+ten już nie używa Math::GMP, ale dostarcza własną warstwę XS do
+odwoływania się do biblioteki GMP w C. Dzięki temu nie ma kolejnej
+warstwy (podprocedury Perla), a wykorzystanie pamięci jest mniejsze
+dzięki nie wczytywaniu modułów Math::GMP i Carp.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -44,11 +43,10 @@ dzi
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-
 %{__make} \
        OPTIMIZE="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.082374 seconds and 4 git commands to generate.