automatic update by autodist [release 0.54-1mamba;Fri Dec 13 2013]

This commit is contained in:
Automatic Build System 2024-01-06 08:36:39 +01:00
parent 8389d28391
commit 01a7afb14d
2 changed files with 88 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-BerkeleyDB
BerkeleyDB - Perl extension for Berkeley DB version 2, 3 or 4

86
perl-BerkeleyDB.spec Normal file
View File

@ -0,0 +1,86 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-BerkeleyDB
Version: 0.54
Release: 1mamba
Summary: BerkeleyDB - Perl extension for Berkeley DB version 2, 3 or 4
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-%{version}.tar.gz
License: Artistic, GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdb47-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
BerkeleyDB - Perl extension for Berkeley DB version 2, 3 or 4
%prep
%setup -q -n BerkeleyDB-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Fri Dec 13 2013 Automatic Build System <autodist@mambasoft.it> 0.54-1mamba
- automatic update by autodist
* Wed Aug 21 2013 Automatic Build System <autodist@mambasoft.it> 0.53-1mamba
- automatic update by autodist
* Fri Jun 07 2013 Automatic Build System <autodist@mambasoft.it> 0.52-1mamba
- automatic version update by autodist
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.51-2mamba
- perl 5.16 mass rebuild
* Thu Apr 26 2012 Automatic Build System <autodist@mambasoft.it> 0.51-1mamba
- automatic version update by autodist
* Sat Jun 25 2011 Automatic Build System <autodist@mambasoft.it> 0.48-1mamba
- automatic update by autodist
* Mon Aug 09 2010 Automatic Build System <autodist@mambasoft.it> 0.43-1mamba
- automatic update by autodist
* Fri Jun 04 2010 Automatic Build System <autodist@mambasoft.it> 0.42-1mamba
- automatic update by autodist
* Thu Jan 14 2010 Automatic Build System <autodist@mambasoft.it> 0.41-1mamba
- automatic update by autodist
* Wed Jun 10 2009 Automatic Build System <autodist@mambasoft.it> 0.39-1mamba
- automatic update by autodist
* Mon Apr 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-1mamba
- package created by autospec