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