]> git.pld-linux.org Git - packages/perl-Math-BaseCnv.git/blob - perl-Math-BaseCnv.spec
- updated to 1.2.45UC8fo (what versioning is that?)
[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):    Math::BaseCnv - szybkie przeliczanie miêdzy dowolnymi podstawami liczb
10 Name:           perl-Math-BaseCnv
11 Version:        1.2.45UC8fo
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:  497c85971ed73b5621de57515b528d8a
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
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.0778 seconds and 3 git commands to generate.