parent
a40fce764c
commit
68875e5af9
@ -0,0 +1 @@
|
|||||||
|
DBM-Deep-0.983.tar.gz
|
@ -0,0 +1,52 @@
|
|||||||
|
Name: perl-DBM-Deep
|
||||||
|
Version: 0.983
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: A pure perl multi-level hash/array DBM
|
||||||
|
License: GPL or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/DBM-Deep/
|
||||||
|
Source0: http://www.cpan.org/modules/by-module/DBM/DBM-Deep-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(Module::Build), perl(Test::Exception)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
A unique flat-file database module, written in pure perl. True multi-level
|
||||||
|
hash/array support (unlike MLDBM, which is faked), hybrid OO / tie()
|
||||||
|
interface, cross-platform FTPable files, and quite fast. Can handle
|
||||||
|
millions of keys and unlimited hash levels without significant slow-down.
|
||||||
|
Written from the ground-up in pure perl -- this is NOT a wrapper around a
|
||||||
|
C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and Windows.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n DBM-Deep-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
chmod -R u+rwX,go+rX,go-w %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Apr 27 2006 Andreas Thienemann <andreas@bawue.net> 0.983-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.64.
|
||||||
|
- Cleaned up for FE
|
Loading…
Reference in new issue