From 2e98b69bb49a86e11b0677179bd20b22c3bc1447 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:36:19 +0100 Subject: [PATCH] automatic update by autodist [release 1.91-1mamba;Sun Apr 13 2014] --- README.md | 2 ++ perl-BDB.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 perl-BDB.spec diff --git a/README.md b/README.md index e47b9ea..7c41ce1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-BDB +BDB - Asynchronous Berkeley DB access. + diff --git a/perl-BDB.spec b/perl-BDB.spec new file mode 100644 index 0000000..6bd2729 --- /dev/null +++ b/perl-BDB.spec @@ -0,0 +1,67 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-BDB +Version: 1.91 +Release: 1mamba +Summary: BDB - Asynchronous Berkeley DB access +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/BDB-%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdb-devel +BuildRequires: perl-common-sense +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(common::sense) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +BDB - Asynchronous Berkeley DB access. + +%prep +%setup -q -n BDB-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorarch}/BDB.pm +%{perl_vendorarch}/auto/* +%{_mandir}/man3/*.3pm.gz +%doc COPYING README + +%changelog +* Sun Apr 13 2014 Automatic Build System 1.91-1mamba +- automatic update by autodist + +* Wed Nov 07 2012 Silvan Calarco 1.89-2mamba +- perl 5.16 mass rebuild + +* Wed Nov 16 2011 Silvan Calarco 1.89-1mamba +- update to 1.89 + +* Sun Feb 20 2011 gil 1.88-1mamba +- package created by autospec