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