]> git.pld-linux.org Git - packages/perl-Math-BigInteger.git/blame - perl-Math-BigInteger.spec
perl 5.38.0 rebuild
[packages/perl-Math-BigInteger.git] / perl-Math-BigInteger.spec
CommitLineData
0cd367bf 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
14a7728f 5%define pdir Math
6%define pnam BigInteger
6d8cc556
JB
7Summary: Math::BigInteger - arbitrary length integer extension module for Perl
8Summary(pl.UTF-8): Math::BigInteger - moduł rozszerzenia liczb całkowitych dowolnej długości
ec52f2cf 9Name: perl-Math-BigInteger
5ab415e6 10Version: 1.01
9a267c26 11Release: 21
58667b39 12# if used in a product, Systemics should be given attribution
13License: free use, distributable
ec52f2cf 14Group: Development/Languages/Perl
6d8cc556 15Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
5ab415e6 16# Source0-md5: a4aa79e070f3f5f8e7f01443fdc03b8e
b3d12359 17Patch0: %{name}-Fputc_to_fputc.patch
6d8cc556 18URL: http://search.cpan.org/dist/Math-BigInteger/
a56cbe03 19BuildRequires: perl-devel >= 1:5.8.0
4e123771 20BuildRequires: rpm-perlprov >= 4.1-13
744e13ac 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ec52f2cf 22
23%description
ac8fffb9 24Math::BigInteger module gives access to Eric Young's bignum library.
6d8cc556 25This provides a faster alternative to the Math::BigInt library.
ec52f2cf 26
aa076c67
JR
27%description -l pl.UTF-8
28Moduł Math::BigInteger umożliwia dostęp do biblioteki bignum Erica
6d8cc556 29Younga. Jest to szybsza alternatywa dla biblioteki Math::BigInt.
ec52f2cf 30
31%prep
4d78445f 32%setup -q -n %{pdir}-%{pnam}-%{version}
b3d12359 33%patch0 -p0
ec52f2cf 34
35%build
4e123771 36%{__perl} Makefile.PL \
f8ac4351 37 INSTALLDIRS=vendor
0cd367bf 38%{__make} \
60efccc3 39 CC="%{__cc}" \
0cd367bf 40 OPTIMIZE="%{rpmcflags}"
41
42%{?with_tests:%{__make} test}
ec52f2cf 43
44%install
45rm -rf $RPM_BUILD_ROOT
ec52f2cf 46
0cd367bf 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
ec52f2cf 49
ec52f2cf 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
58667b39 55%doc README COPYRIGHT
4e123771 56%{perl_vendorarch}/Math/BigInteger.pm
57%dir %{perl_vendorarch}/auto/Math/BigInteger
4e123771 58%attr(755,root,root) %{perl_vendorarch}/auto/Math/BigInteger/BigInteger.so
ec52f2cf 59%{_mandir}/man3/*
This page took 0.096863 seconds and 4 git commands to generate.