1 | Name: perl-Math-Base-Convert
|
---|
2 | Version: 0.11
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Vendor: bww bitwise works GmbH
|
---|
5 | Summary: Very fast base to base conversion
|
---|
6 | License: GPL+ or Artistic
|
---|
7 | URL: https://metacpan.org/release/Math-Base-Convert
|
---|
8 | Source0: https://cpan.metacpan.org/authors/id/M/MI/MIKER/Math-Base-Convert-%{version}.tar.gz
|
---|
9 | BuildArch: noarch
|
---|
10 | # Build
|
---|
11 | BuildRequires: make
|
---|
12 | #BuildRequires: perl-interpreter
|
---|
13 | BuildRequires: perl-generators
|
---|
14 | BuildRequires: perl(Config)
|
---|
15 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63
|
---|
16 | # Runtime
|
---|
17 | BuildRequires: perl(Carp)
|
---|
18 | BuildRequires: perl(Exporter)
|
---|
19 | BuildRequires: perl(strict)
|
---|
20 | BuildRequires: perl(vars)
|
---|
21 | # Tests only
|
---|
22 | #BuildRequires: perl(diagnostics)
|
---|
23 | # Optional tests only
|
---|
24 | #BuildRequires: perl(Benchmark)
|
---|
25 | #BuildRequires: perl(Math::BigInt)
|
---|
26 | Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
---|
27 |
|
---|
28 | %description
|
---|
29 | This module provides fast functions and methods to convert between
|
---|
30 | arbitrary number bases from 2 (binary) thru 65535.
|
---|
31 |
|
---|
32 | %prep
|
---|
33 | %setup -q -n Math-Base-Convert-%{version}
|
---|
34 |
|
---|
35 | %build
|
---|
36 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
37 | make %{?_smp_mflags}
|
---|
38 | make manifypods
|
---|
39 |
|
---|
40 | %install
|
---|
41 | make pure_install DESTDIR=%{buildroot}
|
---|
42 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
---|
43 | %{_fixperms} %{buildroot}/*
|
---|
44 |
|
---|
45 | %check
|
---|
46 | #make test
|
---|
47 |
|
---|
48 | %files
|
---|
49 |
|
---|
50 | %doc bitmaps Changes README recurse2txt
|
---|
51 | %{perl_vendorlib}/*
|
---|
52 | %{_mandir}/man3/*
|
---|
53 |
|
---|
54 | %changelog
|
---|
55 | * Fri Sep 28 2018 Elbert Pol <elbert.pol@gmail.com> 0.11-1
|
---|
56 | - First OS/2 rpm release
|
---|