source: spec/trunk/SPECS/perl-MLDBM.spec@ 1566

Last change on this file since 1566 was 1492, checked in by tellie, 7 years ago

spec: perl-MLDBM: Release version 2.05-1.

File size: 1.5 KB
Line 
1Name: perl-MLDBM
2Version: 2.05
3Release: 1%{?dist}
4Vendor: bww bitwise works GmbH
5Summary: Store multi-level hash structure in single level tied hash
6License: GPL+ or Artistic
7Group: Development/Libraries
8URL: https://metacpan.org/release/MLDBM
9Source0: https://cpan.metacpan.org/authors/id/C/CH/CHORNY/MLDBM-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl-generators
12BuildRequires: perl(Carp)
13BuildRequires: perl(Data::Dumper) >= 2.08
14#BuildRequires: perl(FreezeThaw)
15BuildRequires: perl(Module::Build)
16BuildRequires: perl(Storable)
17BuildRequires: perl(Test::More)
18Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19
20%description
21This module can serve as a transparent interface to any TIEHASH package
22that is required to store arbitrary perl data, including nested references.
23Thus, this module can be used for storing references and other arbitrary
24data within DBM databases.
25
26%prep
27%setup -q -n MLDBM-%{version}
28
29# Fix line endings for documentation
30sed -i -e 's/\r$//' README Changes
31
32%build
33perl Build.PL installdirs=vendor
34./Build
35
36%install
37rm -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
Note: See TracBrowser for help on using the repository browser.