File perl-BerkeleyDB.spec of Package perl-BerkeleyDB
#
# spec file for package perl-BerkeleyDB (Version 0.35)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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.35
Release: 2
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 higher. 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
%check
%ifnarch %arm
make test
%endif
%install
chmod a-x Changes MANIFEST README Todo
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
* Fri Nov 21 2008 ro@suse.de
- update check-build.sh
* Mon Oct 06 2008 anicka@suse.cz
- update to 0.35
* Added a combination of independent patches from Claes Jakobsson
and Yuval Kogman (#38896 rt.cpan.org) to allow multi-key return
from a secondard database.
* Added support for sequences. Initial patch from Claes Jakobsson.
* Get associate to use a transaction if one is specified.
[#5855] from rt.cpan.org
* Finish transition of test harness to use Test::More
* Tue Jul 08 2008 anicka@suse.cz
- remove executable bits from documentation,
do not remove buildroot in %%install, do testing in %%check
* Wed Apr 02 2008 anicka@suse.cz
- update to 0.34
* Updates to support building with Berkeley DB version 4.7
* Typo in #ifdef for ThreadCount support.
* Updated dbinfo
* Wed Jan 23 2008 anicka@suse.cz
- update to 0.33
* Added failchk, set_isalive, lock_stat_print & mutex_stat_print.
* 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
* Sun Sep 19 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