forked from pool/perl-BerkeleyDB
Accepting request 177475 from devel:languages:perl
- updated to 0.51 * Rework FETCHSIZE [RT #75691] (forwarded request 177470 from coolo) OBS-URL: https://build.opensuse.org/request/show/177475 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-BerkeleyDB?expand=0&rev=30
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5ccde6ce333f38cc279786e51d34e6d8b6d11f09f4d758e11f4b50935e941887
|
||||
size 196051
|
3
BerkeleyDB-0.51.tar.gz
Normal file
3
BerkeleyDB-0.51.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48363c65a8f6a07c88fcb8ef25cedde14d5c58bc63d1b9f76919fff38c02e12b
|
||||
size 196814
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 3 11:38:48 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.51
|
||||
* Rework FETCHSIZE
|
||||
[RT #75691]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 10:41:23 UTC 2011 - vcizek@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-BerkeleyDB
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@@ -16,59 +16,63 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_with opt
|
||||
|
||||
Name: perl-BerkeleyDB
|
||||
Version: 0.50
|
||||
Version: 0.51
|
||||
Release: 0
|
||||
%define cpan_name BerkeleyDB
|
||||
Summary: Perl extension for Berkeley DB version 2, 3 or 4
|
||||
Summary: Perl extension for Berkeley DB version 2, 3, 4 or 5
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/BerkeleyDB/
|
||||
#Source: http://www.cpan.org/modules/by-module/BerkeleyDB/BerkeleyDB-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
BuildRequires: db-devel
|
||||
Source: http://www.cpan.org/authors/id/P/PM/PMQS/%{cpan_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# MANUAL
|
||||
BuildRequires: db-devel
|
||||
#BuildRequires: perl(BerkeleyDB)
|
||||
#BuildRequires: perl(MLDBM)
|
||||
#BuildRequires: perl(util)
|
||||
%{perl_requires}
|
||||
%if %{with opt}
|
||||
BuildRequires: perl(MLDBM)
|
||||
%endif
|
||||
#
|
||||
|
||||
%description
|
||||
This Perl module provides an interface to most of the functionality available
|
||||
in Berkeley DB versions 2, 3 and 4. In general it is safe to assume that the
|
||||
interface provided here to be identical to the Berkeley DB interface. The main
|
||||
changes have been to make the Berkeley DB API work in a Perl way. Note that if
|
||||
you are using Berkeley DB 2.x, the new features available in
|
||||
Berkeley DB 3.x or DB 4.x are not available via this module.
|
||||
*NOTE: This document is still under construction. Expect it to be
|
||||
incomplete in places.*
|
||||
|
||||
This Perl module provides an interface to most of the functionality
|
||||
available in Berkeley DB versions 2, 3 and 4. In general it is safe to
|
||||
assume that the interface provided here to be identical to the Berkeley DB
|
||||
interface. The main changes have been to make the Berkeley DB API work in a
|
||||
Perl way. Note that if you are using Berkeley DB 2.x, the new features
|
||||
available in Berkeley DB 3.x or DB 4.x are not available via this module.
|
||||
|
||||
The reader is expected to be familiar with the Berkeley DB documentation.
|
||||
Where the interface provided here is identical to the Berkeley DB library
|
||||
and the... TODO
|
||||
|
||||
The *db_appinit*, *db_cursor*, *db_open* and *db_txn* man pages are
|
||||
particularly relevant.
|
||||
|
||||
The interface to Berkeley DB is implemented with a number of Perl classes.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint
|
||||
# executable-docs, spurious-executable-perm
|
||||
chmod a-x Changes README
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README Todo
|
||||
%defattr(-,root,root,755)
|
||||
%doc BerkeleyDB.pod.P Changes dbinfo mkpod README Todo
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user