%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.04
-Release: 1
-License: LGPL
+Version: 2.06
+Release: 7
+License: LGPL v2+
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 291e5847986c7591cd70c1788c979a98
-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: rpmbuild(macros) >= 1.213
+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}
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}