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