diff --git a/.cvsignore b/.cvsignore index e69de29..bc3229d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +DBM-Deep-0.983.tar.gz diff --git a/perl-DBM-Deep.spec b/perl-DBM-Deep.spec new file mode 100644 index 0000000..0ceb7cf --- /dev/null +++ b/perl-DBM-Deep.spec @@ -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 0.983-1 +- Specfile autogenerated by cpanspec 1.64. +- Cleaned up for FE diff --git a/sources b/sources index e69de29..db5ad8f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +09ddd163183e983bf1085688d0b25b75 DBM-Deep-0.983.tar.gz