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 # Source0-md5: cf653ffa60607717ff4fc67177ee07b0
17 BuildRequires: perl-devel >= 5.6
18 BuildRequires: gmp-devel
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Math::GMP gives you access to the fast GMP library for fast big
27 Math::GMP daje dostêp do szybkiej biblioteki GMP dla szybkich
28 obliczeñ na du¿ych liczbach ca³kowitych.
31 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %{__perl} Makefile.PL \
37 %{__make} OPTIMIZE="%{rpmcflags}"
39 %{!?_without_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc Changes LICENSE README
53 %{perl_vendorarch}/Math/GMP.pm
54 %dir %{perl_vendorarch}/auto/Math/GMP
55 %{perl_vendorarch}/auto/Math/GMP/GMP.bs
56 %attr(755,root,root) %{perl_vendorarch}/auto/Math/GMP/GMP.so
57 %{perl_vendorarch}/auto/Math/GMP/autosplit.ix