X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-Math-GMP.git;a=blobdiff_plain;f=perl-Math-GMP.spec;h=280ded578a6e8da61b592a89b0ac9f60cfd816d9;hp=59bcec2978714a49b23f6a02a6c40f88dad6464e;hb=1b5402d5b7050951cb2147435199cc663b7a5a98;hpb=3689ac004eda9c2739e323bbcb1c49509a776b38 diff --git a/perl-Math-GMP.spec b/perl-Math-GMP.spec index 59bcec2..280ded5 100644 --- a/perl-Math-GMP.spec +++ b/perl-Math-GMP.spec @@ -6,31 +6,33 @@ %define pdir Math %define pnam GMP Summary: Math::GMP Perl module - high speed arbitrary size integer math -Summary(pl): Modu³ Perla Math::GMP - szybka arytmetyka liczb ca³kowitych o dowolnym rozmiarze +Summary(pl.UTF-8): Moduł Perla Math::GMP - szybka arytmetyka liczb całkowitych o dowolnym rozmiarze Name: perl-Math-GMP -Version: 2.03 +Version: 2.06 Release: 3 -License: LGPL +License: LGPL v2+ Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: cf653ffa60607717ff4fc67177ee07b0 -BuildRequires: perl-devel >= 1:5.8.0 +Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 0ead0cd7d7ec1076c6d5a5fbe81b91a3 +URL: http://search.cpan.org/dist/Math-GMP/ BuildRequires: gmp-devel +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.213 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Math::GMP gives you access to the fast GMP library for fast big integer math. -%description -l pl -Math::GMP daje dostêp do szybkiej biblioteki GMP dla szybkich -obliczeñ na du¿ych liczbach ca³kowitych. +%description -l pl.UTF-8 +Math::GMP daje dostęp do szybkiej biblioteki GMP dla szybkich +obliczeń na dużych liczbach całkowitych. %prep %setup -q -n %{pdir}-%{pnam}-%{version} -%ifarch alpha amd64 ia64 ppc64 sparc64 +%ifarch %{x8664} alpha ia64 ppc64 s390x sparc64 # original reference values expect 32-bit long %{__perl} -pi -e 's/^\+9999999999(9*):[0-9]+$/+9999999999$1:9999999999$1/' t/gmppm.t %endif @@ -39,6 +41,7 @@ oblicze %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} \ + CC="%{__cc}" \ OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test}