]> git.pld-linux.org Git - packages/perl-Math-BigInt-Constant.git/blame - perl-Math-BigInt-Constant.spec
use generic url
[packages/perl-Math-BigInt-Constant.git] / perl-Math-BigInt-Constant.spec
CommitLineData
249eae50
JB
1#
2# Conditional build:
27bf9897 3%bcond_without tests # do not perform "make test"
f807e198 4
eade7ffc 5%define pdir Math
6%define pnam BigInt-Constant
f807e198 7%include /usr/lib/rpm/macros.perl
249eae50 8Summary: Math::BigInt::Constant - arbitrary sized constant integers
203dcca1 9Summary(pl.UTF-8): Math::BigInt::Constant - stałe całkowite o dowolnym rozmiarze
249eae50 10Name: perl-Math-BigInt-Constant
23f6dbfe 11Version: 1.08
12Release: 1
2ca9b563 13# same as perl
249eae50
JB
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
23f6dbfe 17# Source0-md5: a62d900bcbb2ea84cfb69a557d4bf0a8
f807e198 18URL: http://search.cpan.org/dist/Math-BigInt-Constant/
249eae50 19BuildRequires: perl(Math::BigFloat) >= 1.26
23f6dbfe 20BuildRequires: perl-Math-BigInt >= 1.74
0e50fa3c 21BuildRequires: perl-devel >= 1:5.8.0
249eae50 22BuildRequires: rpm-perlprov >= 4.1-13
249eae50 23Requires: perl(Math::BigFloat) >= 1.26
23f6dbfe 24Requires: perl-Math-BigInt >= 1.74
249eae50
JB
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This module lets you define constant BigInts on a per-object basis.
30The usual "use Math::BigInt ':constant'" will catch all integer
31constants in the script at compile time, but will not let you create
32constant values on the fly, nor work for strings and/or floating point
33constants like "1e5".
34
0af4c434
JR
35%description -l pl.UTF-8
36Ten moduł pozwala definiować stałe BigInty dla każdego obiektu. Zwykłe
37"use Math::BigInt ':constant'" wyłapie wszystkie stałe całkowite w
38skrypcie w czasie kompilacji, ale nie pozwoli na tworzenie stałych
39wartości w locie, ani nie będzie działać z łańcuchami czy stałymi
249eae50
JB
40zmiennoprzecinkowymi typu "1e5".
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
249eae50
JB
48%{__make}
49
27bf9897 50%{?with_tests:%{__make} test}
249eae50
JB
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
23f6dbfe 63%doc BUGS CHANGES LICENSE README TODO
64%{perl_vendorlib}/Math/BigFloat/Constant.pm
249eae50
JB
65%{perl_vendorlib}/Math/BigInt/Constant.pm
66%{_mandir}/man3/*
This page took 0.532954 seconds and 4 git commands to generate.