2024-01-06 08:36:19 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-BDB
|
|
|
|
Version: 1.91
|
2024-01-06 08:36:19 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 08:36:19 +01:00
|
|
|
Summary: BDB - Asynchronous Berkeley DB access
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
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
|
2024-01-06 08:36:19 +01:00
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.91-2mamba
|
|
|
|
- rebuilt with perl 5.24
|
|
|
|
|
2024-01-06 08:36:19 +01:00
|
|
|
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 1.91-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.89-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Wed Nov 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.89-1mamba
|
|
|
|
- update to 1.89
|
|
|
|
|
|
|
|
* Sun Feb 20 2011 gil <puntogil@libero.it> 1.88-1mamba
|
|
|
|
- package created by autospec
|