package created by autospec [release 1.1-1mamba;Sun Feb 20 2011]

This commit is contained in:
gil 2024-01-06 08:32:59 +01:00
parent d654b769a0
commit 4fa837bf3c
2 changed files with 52 additions and 0 deletions

View File

@ -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.

50
perl-AnyEvent-BDB.spec Normal file
View File

@ -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 <puntogil@libero.it>
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 <puntogil@libero.it> 1.1-1mamba
- package created by autospec