3 %bcond_without tests # do not perform "make test"
7 Summary: Tie::DB_Lock Perl module - ties hashes to databases using shared and exclusive locks
8 Summary(pl.UTF-8): Moduł Perla Tie::DB_Lock - związanie haszy z bazami danych przy użyciu blokad
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 1f1c9d69e6064c53a5df9fe4072f62e5
17 URL: http://search.cpan.org/dist/Tie-DB_Lock/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This is a front-end for the DB_File package. It ties hashes to
25 databases using shared and exlusive locks.
27 %description -l pl.UTF-8
28 Ten pakiet jest frontendem do DB_File. Wiąże hasze z bazami danych
29 przy użyciu blokad współdzielonych i wyłącznych.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Tie/DB_Lock.pm