File perl-BerkeleyDB.spec of Package perl-BerkeleyDB

#
# spec file for package perl-BerkeleyDB (Version 0.32)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           perl-BerkeleyDB
BuildRequires:  db-devel
URL:            http://cpan.org/modules/by-module/BerkeleyDB/
License:        Artistic License
Group:          Development/Libraries/Perl
Requires:       perl = %{perl_version}
Autoreqprov:    on
Summary:        Perl Module for Accessing Berkeley DB Functions
Version:        0.32
Release:        1
Source:         BerkeleyDB-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
BerkeleyDB is a module that allows Perl programs to use the facilities
provided by Berkeley DB version 2 or greater. To use version 1 of
Berkeley DB with Perl, you need the DB_File module.



Authors:
--------
    Paul Marquess <pmqs@cpan.org>

%prep
%setup -q -n BerkeleyDB-%{version}

%build
perl Makefile.PL
make
%ifnarch %arm
make test
%endif

%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{perl_vendorarch}/BerkeleyDB*
%{perl_vendorarch}/auto/BerkeleyDB
%doc %{_mandir}/man3/*
%doc Changes MANIFEST README Todo
/var/adm/perl-modules/perl-BerkeleyDB

%changelog
* Wed Jul 25 2007 - anicka@suse.cz
- update to 0.32
  * Updates to support Berkeley DB 4.6
  * Remove all global static data from BerkeleyDB.xs.
* Thu Oct 19 2006 - anicka@suse.cz
- update to 0.31
  * Fixed DB_GET_BOTH.
* Thu Sep 14 2006 - anicka@suse.cz
- update to 0.30
  * Fixed queue test harness for Berkeley DB 4.5 compliance
  * Added $env->lsn_reset, $txn->set_timeout,
  $env->set_timeout & $env->get_timeout, $txn->set_tx_max,
  $txn->get_tx_max
* Thu Jul 13 2006 - anicka@suse.cz
- update to 0.29
  * added support for Berkeley DB 4.4
  * many bugfixes
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005 - uli@suse.de
- no test on ARM (unimplemented calls in QEMU)
* Tue Nov 23 2004 - ro@suse.de
- update to 0.26
* Mon Sep 20 2004 - ro@suse.de
- check for recent kernel also on i386
* Mon Sep 20 2004 - ro@suse.de
- require a recent kernel to build (check-build.sh)
* Wed Aug 25 2004 - choeger@suse.de
- new package perl-BerkeleyDB, v0.25
openSUSE Build Service is sponsored by