From 4fa837bf3c1ecf39a7726bcc491dbeae80f9e1c7 Mon Sep 17 00:00:00 2001 From: gil Date: Sat, 6 Jan 2024 08:32:59 +0100 Subject: [PATCH] package created by autospec [release 1.1-1mamba;Sun Feb 20 2011] --- README.md | 2 ++ perl-AnyEvent-BDB.spec | 50 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 perl-AnyEvent-BDB.spec diff --git a/README.md b/README.md index d13a85c..b8c86ea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-AnyEvent-BDB +This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. + diff --git a/perl-AnyEvent-BDB.spec b/perl-AnyEvent-BDB.spec new file mode 100644 index 0000000..0f1cfa7 --- /dev/null +++ b/perl-AnyEvent-BDB.spec @@ -0,0 +1,50 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-AnyEvent-BDB +Version: 1.1 +Release: 1mamba +Summary: AnyEvent::BDB - truly asynchronous berkeley db access +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-BDB-%{version}.tar.gz +License: GPL, Artistic +BuildRequires: perl(BDB) +BuildRequires: perl(AnyEvent) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module is an AnyEvent user, you need to make sure that you use and run a supported event loop. + +%prep +%setup -q -n AnyEvent-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 {} ';' + + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/* +%{_mandir}/man3/*.3pm.gz +%doc COPYING README + +%changelog +* Sun Feb 20 2011 gil 1.1-1mamba +- package created by autospec