%define module BerkeleyDB %define version 0.20 %define release 1mdk Summary: Perl module for BerkeleyDB 2.x and greater Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRequires: db2-devel perl-devel BuildRoot: %{_tmppath}/%{name}-buildroot/ Requires: perl %description BerkeleyDB is a module which allows Perl programs to make use of the facilities provided by Berkeley DB version 2 or greater. (Note: if you want to use version 1 of Berkeley DB with Perl you need the DB_File module). Berkeley DB is a C library which provides a consistent interface to a number of database formats. BerkeleyDB provides an interface to all four of the database types (hash, btree, queue and recno) currently supported by Berkeley DB. For further details see the documentation in the file BerkeleyDB.pod. %prep rm -rf $RPM_BUILD_ROOT %setup -q -n %{module}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %clean rm -rf $RPM_BUILD_ROOT %install make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %files %defattr(-,root,root) %doc README %{perl_vendorlib}/*/Berkeley* %{perl_vendorlib}/*/auto/Berkeley* %{_mandir}/*/* %changelog * Fri Jan 17 2003 François Pons <fpons@mandrakesoft.com> 0.20-1mdk - add man pages. - 0.20. * Thu Dec 19 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.19-3mdk - Don't hardcore arch in path * Tue Aug 06 2002 Christian Belisle <cbelisle@mandrakesoft.com> 0.19-2mdk - rebuild against latest perl. * Fri Jul 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.19-1mdk - 0.19 * Thu Apr 11 2002 Christian Belisle <cbelisle@mandrakesoft.com> 0.18-1mdk - Initial Mandrake package