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