1 | Name: perl-MLDBM
|
---|
2 | Version: 2.05
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Vendor: bww bitwise works GmbH
|
---|
5 | Summary: Store multi-level hash structure in single level tied hash
|
---|
6 | License: GPL+ or Artistic
|
---|
7 | Group: Development/Libraries
|
---|
8 | URL: https://metacpan.org/release/MLDBM
|
---|
9 | Source0: https://cpan.metacpan.org/authors/id/C/CH/CHORNY/MLDBM-%{version}.tar.gz
|
---|
10 | BuildArch: noarch
|
---|
11 | BuildRequires: perl-generators
|
---|
12 | BuildRequires: perl(Carp)
|
---|
13 | BuildRequires: perl(Data::Dumper) >= 2.08
|
---|
14 | #BuildRequires: perl(FreezeThaw)
|
---|
15 | BuildRequires: perl(Module::Build)
|
---|
16 | BuildRequires: perl(Storable)
|
---|
17 | BuildRequires: perl(Test::More)
|
---|
18 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
19 |
|
---|
20 | %description
|
---|
21 | This module can serve as a transparent interface to any TIEHASH package
|
---|
22 | that is required to store arbitrary perl data, including nested references.
|
---|
23 | Thus, this module can be used for storing references and other arbitrary
|
---|
24 | data within DBM databases.
|
---|
25 |
|
---|
26 | %prep
|
---|
27 | %setup -q -n MLDBM-%{version}
|
---|
28 |
|
---|
29 | # Fix line endings for documentation
|
---|
30 | sed -i -e 's/\r$//' README Changes
|
---|
31 |
|
---|
32 | %build
|
---|
33 | perl Build.PL installdirs=vendor
|
---|
34 | ./Build
|
---|
35 |
|
---|
36 | %install
|
---|
37 | rm -rf $RPM_BUILD_ROOT
|
---|
38 | ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
---|
39 | %{_fixperms} $RPM_BUILD_ROOT
|
---|
40 |
|
---|
41 | %check
|
---|
42 | #./Build test
|
---|
43 |
|
---|
44 | %files
|
---|
45 | %doc Changes README
|
---|
46 | %{perl_vendorlib}/MLDBM/
|
---|
47 | %{perl_vendorlib}/MLDBM.pm
|
---|
48 | %{_mandir}/man3/MLDBM.3pm*
|
---|
49 |
|
---|
50 | %changelog
|
---|
51 | * Fri Sep 28 2018 Elbert Pol <elbert.pol@gmail.com> 2.05-1
|
---|
52 | - First OS/2 rpm release
|
---|