]> git.pld-linux.org Git - packages/perl-Math-BaseCnv.git/blame - perl-Math-BaseCnv.spec
- release 2
[packages/perl-Math-BaseCnv.git] / perl-Math-BaseCnv.spec
CommitLineData
01646b43
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
774622de 6%define pdir Math
7%define pnam BaseCnv
01646b43 8Summary: Math::BaseCnv - quickly convert between any number bases
cae54786 9Summary(pl.UTF-8): Math::BaseCnv - szybkie przeliczanie między dowolnymi podstawami liczb
01646b43 10Name: perl-Math-BaseCnv
288e5c04 11Version: 1.2.59M7mRX
9eda9356 12Release: 2
01646b43
JB
13License: GPL v2
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tgz
288e5c04 16# Source0-md5: a3f628d1dd4c5c4e2ecaabb7f22d00a1
a08c8263 17BuildRequires: perl-devel >= 1:5.8.0
01646b43
JB
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23BaseCnv provides a few simple functions for converting between
24arbitrary number bases. It is as fast as the author currently knows
25how to make it (of course relying only on the lovely Perl). If you
26would rather utilize an object syntax for number-base conversion,
27please see Ken Williams' fine Math::BaseCalc module.
28
d950aab2
JR
29%description -l pl.UTF-8
30BaseCnv udostępnia kilka prostych funkcji do przeliczania między
31dowolnymi podstawami liczb. Działa tak szybko, jak tylko autor umiał
32zrobić (oczywiście polegając tylko na ulubionym Perlu). W przypadku
33chęci przeliczania między podstawami z użyciem składni obiektowej
34zamiast tego można użyć modułu Math::BaseCalc Kena Williamsa.
01646b43
JB
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
302e33a0 58%doc README
f9bf9659 59%attr(755,root,root) %{_bindir}/*
01646b43
JB
60%{perl_vendorlib}/Math/BaseCnv.pm
61%{_mandir}/man3/*
This page took 2.844131 seconds and 4 git commands to generate.