]> git.pld-linux.org Git - packages/perl-Math-BaseArith.git/blame - perl-Math-BaseArith.spec
use generic url
[packages/perl-Math-BaseArith.git] / perl-Math-BaseArith.spec
CommitLineData
42300a95
JB
1#
2# Conditional build:
5d576c0e 3%bcond_without tests # do not perform "make test"
b1c5b948 4
05d75cda 5%define pdir Math
6%define pnam BaseArith
b1c5b948 7%include /usr/lib/rpm/macros.perl
42300a95 8Summary: Math::BaseArith - Perl extension for mixed-base number representation
1758d310 9Summary(pl.UTF-8): Math::BaseArith - rozszerzenie Perla do reprezentacji liczb o różnej podstawie
42300a95
JB
10Name: perl-Math-BaseArith
11Version: 1.00
95ffa5bf 12Release: 3
bfbaade4 13# same as perl
14License: GPL v1+ or Artistic
42300a95 15Group: Development/Languages/Perl
ec9e1aa0 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
eaf732c1 17# Source0-md5: 4fb5ba50af1e8d83e0d442d4b950703c
b1c5b948 18URL: http://search.cpan.org/dist/Math-BaseArith/
2464a1ad 19BuildRequires: perl-devel >= 1:5.8.0
6b7610c4 20BuildRequires: rpm-perlprov >= 4.1-13
42300a95
JB
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25The inspiration for this module is a pair of functions in the APL
26programming language called encode (a.k.a. "representation") and
27decode (a.k.a. base-value). Their principal use is to convert numbers
28from one number base to another. Mixed number bases are permitted.
29
443f715c
JR
30%description -l pl.UTF-8
31Ten moduł jest zainspirowany parą funkcji w języku programowania APL o
32nazwach encode (czyli "reprezentacja") oraz decode (wartość bazowa).
42300a95 33Zasadnicze ich przeznaczenie to przeliczanie liczb z jednej podstawy
443f715c 34do innej. Dozwolone są mieszane podstawy liczb.
42300a95
JB
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
6b7610c4 40%{__perl} Makefile.PL \
87f1e6fa 41 INSTALLDIRS=vendor
42300a95
JB
42%{__make}
43
5d576c0e 44%{?with_tests:%{__make} test}
42300a95
JB
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README
6b7610c4 58%{perl_vendorlib}/Math/BaseArith.pm
42300a95 59%{_mandir}/man3/*
This page took 0.088721 seconds and 4 git commands to generate.