2024-01-06 08:32:59 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-AnyEvent-BDB
|
|
|
|
Version: 1.1
|
2024-01-06 08:33:00 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 08:32:59 +01:00
|
|
|
Summary: AnyEvent::BDB - truly asynchronous berkeley db access
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 08:33:00 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 08:32:59 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-BDB-%{version}.tar.gz
|
|
|
|
License: GPL, Artistic
|
2024-01-06 08:33:00 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: perl-AnyEvent
|
|
|
|
BuildRequires: perl-BDB
|
2024-01-06 08:32:59 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 08:33:00 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2024-01-06 08:32:59 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%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)
|
2024-01-06 08:33:00 +01:00
|
|
|
%dir %{perl_vendorlib}/AnyEvent
|
|
|
|
%{perl_vendorlib}/AnyEvent/*
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%doc COPYING
|
2024-01-06 08:32:59 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:33:00 +01:00
|
|
|
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-2mamba
|
|
|
|
- rebuilt with specfile fixes
|
|
|
|
|
2024-01-06 08:32:59 +01:00
|
|
|
* Sun Feb 20 2011 gil <puntogil@libero.it> 1.1-1mamba
|
|
|
|
- package created by autospec
|