]> git.pld-linux.org Git - packages/perl-MLDBM.git/blame - perl-MLDBM.spec
- up to 2.04
[packages/perl-MLDBM.git] / perl-MLDBM.spec
CommitLineData
7888421d 1#
2# Conditional build:
06d44293 3%bcond_without tests # do not perform "make test"
7888421d 4#
54570150 5%include /usr/lib/rpm/macros.perl
86128974 6%define pdir MLDBM
7%define pnam MLDBM
69e1bb83 8Summary: MLDBM - store multi-level hash structure in single level tied hash
bdcdf315 9Summary(pl.UTF-8): MLDBM - przechowywanie wielopoziomowej struktury haszy w jednopoziomowym haszu związanym
ca68bb79 10Name: perl-MLDBM
6632f542
AM
11Version: 2.04
12Release: 1
f3c0761d 13# same as perl
14License: GPL v1+ or Artistic
ca68bb79 15Group: Development/Languages/Perl
7c7e5f3d 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
6632f542 17# Source0-md5: b2793c419136fc11082e1ed1b564aeff
69e1bb83 18BuildRequires: rpm-perlprov >= 4.1-13
f6713819 19BuildRequires: perl-devel >= 1:5.8.0
54570150 20BuildRequires: perl-FreezeThaw
06667a98 21BuildArch: noarch
aec4679d 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ca68bb79 23
24%description
b5bd0f97 25MLDBM Perl module can serve as a transparent interface to any TIEHASH
26package that is required to store arbitrary perl data, including
27nested references. Thus, this module can be used for storing
28references and other arbitrary data within DBM databases.
29
84c61253
JR
30%description -l pl.UTF-8
31Moduł Perla MLDBM może służyć za przezroczysty interfejs do dowolnego
32pakietu TIEHASH, od którego wymaga się przechowywania dowolnych danych
33perla, włącznie z zagnieżdżonymi referencjami. Zatem moduł ten służy
b5bd0f97 34do przychowywania referencji oraz innych dowolnych danych w bazach
35DBM.
ca68bb79 36
ca68bb79 37%prep
7888421d 38%setup -q -n %{pnam}-%{version}
ca68bb79 39
40%build
69e1bb83 41%{__perl} Makefile.PL \
968e59eb 42 INSTALLDIRS=vendor
72626e24 43%{__make}
69e1bb83 44
06d44293 45%{?with_tests:%{__make} test}
ca68bb79 46
47%install
48rm -rf $RPM_BUILD_ROOT
ca68bb79 49
480a1a00 50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
ca68bb79 52
ca68bb79 53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
aca12788 58%doc Changes README
69e1bb83 59%{perl_vendorlib}/MLDBM.pm
60%{perl_vendorlib}/MLDBM
ca68bb79 61%{_mandir}/man3/*
This page took 0.054793 seconds and 4 git commands to generate.