2011-05-04 11:12:43 +00:00
|
|
|
#
|
2011-05-04 11:12:56 +00:00
|
|
|
# spec file for package perl-DBM-Deep
|
2011-05-04 11:12:43 +00:00
|
|
|
#
|
2023-08-09 12:03:11 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-05-04 11:12:43 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2023-08-09 12:03:11 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-05-04 11:12:43 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-08-09 12:03:11 +00:00
|
|
|
%define cpan_name DBM-Deep
|
2011-05-04 11:12:43 +00:00
|
|
|
Name: perl-DBM-Deep
|
2023-11-16 16:41:46 +00:00
|
|
|
Version: 2.0019
|
2013-11-26 09:00:06 +00:00
|
|
|
Release: 0
|
2018-05-23 08:39:46 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2023-08-09 12:03:11 +00:00
|
|
|
Summary: Pure perl multi-level hash/array DBM that supports transactions
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-09-28 10:54:44 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
|
2015-06-22 08:40:29 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:24 +02:00
|
|
|
Source100: README.md
|
2011-05-04 11:12:43 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2023-08-09 12:03:11 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.42
|
2011-05-04 11:12:43 +00:00
|
|
|
BuildRequires: perl(Test::Deep) >= 0.095
|
2023-08-09 12:03:11 +00:00
|
|
|
BuildRequires: perl(Test::Exception) >= 0.21
|
2013-11-26 09:00:06 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2011-05-04 11:12:43 +00:00
|
|
|
BuildRequires: perl(Test::Warn) >= 0.08
|
2013-11-26 09:00:06 +00:00
|
|
|
%{perl_requires}
|
2011-05-04 11:12:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A unique flat-file database module, written in pure perl. True multi-level
|
|
|
|
hash/array support (unlike MLDBM, which is faked), hybrid OO / tie()
|
|
|
|
interface, cross-platform FTPable files, ACID transactions, and is quite
|
|
|
|
fast. Can handle millions of keys and unlimited levels without significant
|
2013-11-26 09:00:06 +00:00
|
|
|
slow-down. Written from the ground-up in pure perl -- this is NOT a wrapper
|
|
|
|
around a C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and
|
|
|
|
Windows.
|
2011-05-04 11:12:43 +00:00
|
|
|
|
|
|
|
%prep
|
2023-09-28 10:54:44 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2011-05-04 11:12:43 +00:00
|
|
|
|
|
|
|
%build
|
2023-08-09 12:03:11 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2011-05-04 11:12:43 +00:00
|
|
|
|
|
|
|
%check
|
2013-11-26 09:00:06 +00:00
|
|
|
./Build test
|
2011-05-04 11:12:43 +00:00
|
|
|
|
|
|
|
%install
|
2023-08-09 12:03:11 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2011-05-04 11:12:43 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2023-08-09 12:03:11 +00:00
|
|
|
%doc Changes README
|
2011-05-04 11:12:43 +00:00
|
|
|
|
|
|
|
%changelog
|