]> git.pld-linux.org Git - packages/perl-MLDBM.git/blame - perl-MLDBM.spec
- massive attack: source-md5
[packages/perl-MLDBM.git] / perl-MLDBM.spec
CommitLineData
7888421d 1#
2# Conditional build:
3# _without_tests - do not perform "make test"
4#
54570150 5%include /usr/lib/rpm/macros.perl
7888421d 6%define pdir MLDBM
7%define pnam MLDBM
69e1bb83 8Summary: MLDBM - store multi-level hash structure in single level tied hash
ca68bb79 9Name: perl-MLDBM
7888421d 10Version: 2.01
69e1bb83 11Release: 2
5a211b9e 12License: GPL
ca68bb79 13Group: Development/Languages/Perl
7c7e5f3d 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
a0468dfd 15# Source0-md5: 99550ae2cffbc0bb3eb0358631077c10
69e1bb83 16BuildRequires: rpm-perlprov >= 4.1-13
97739d7b 17BuildRequires: perl-devel >= 5.6
54570150 18BuildRequires: perl-FreezeThaw
19BuildRequires: perl-Storable
06667a98 20BuildArch: noarch
aec4679d 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ca68bb79 22
23%description
24MLDBM - store multi-level hash structure in single level tied hash.
25
ca68bb79 26%prep
7888421d 27%setup -q -n %{pnam}-%{version}
ca68bb79 28
29%build
69e1bb83 30%{__perl} Makefile.PL \
31 INSTALLDIRS=vendor
72626e24 32%{__make}
69e1bb83 33
7888421d 34%{!?_without_tests:%{__make} test}
ca68bb79 35
36%install
37rm -rf $RPM_BUILD_ROOT
ca68bb79 38
ec79d150 39%{__make} install DESTDIR=$RPM_BUILD_ROOT
ca68bb79 40
ca68bb79 41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
aca12788 46%doc Changes README
69e1bb83 47%{perl_vendorlib}/MLDBM.pm
48%{perl_vendorlib}/MLDBM
ca68bb79 49%{_mandir}/man3/*
This page took 0.07653 seconds and 4 git commands to generate.