3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Math::GMP Perl module - High speed arbitrary size integer math
9 Summary(pl): Modu³ Perla Math::GMP - szybka arytmetyka liczb ca³kowitych o dowolnym rozmiarze
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires: perl >= 5.6
17 BuildRequires: gmp-devel
18 BuildRequires: rpm-perlprov >= 3.0.3-16
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Math::GMP gives you access to the fast GMP library for fast big
26 Math::GMP daje dostêp do szybkiej biblioteki GMP dla szybkich
27 obliczeñ na du¿ych liczbach ca³kowitych.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__make} OPTIMIZE="%{rpmcflags}"
37 %{!?_without_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc Changes LICENSE README
51 %{perl_sitearch}/Math/GMP.pm
52 %dir %{perl_sitearch}/auto/Math/GMP
53 %{perl_sitearch}/auto/Math/GMP/GMP.bs
54 %attr(755,root,root) %{perl_sitearch}/auto/Math/GMP/GMP.so
55 %{perl_sitearch}/auto/Math/GMP/autosplit.ix