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