2011-05-01 10:40:59 +00:00
|
|
|
#
|
2014-03-18 07:46:17 +00:00
|
|
|
# spec file for package perl-Redis
|
2011-05-01 10:40:59 +00:00
|
|
|
#
|
2023-01-31 14:00:26 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-05-01 10:40:59 +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.
|
|
|
|
|
2019-07-22 09:38:10 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-05-01 10:40:59 +00:00
|
|
|
#
|
|
|
|
|
2014-03-18 07:46:17 +00:00
|
|
|
|
2022-01-20 10:23:26 +00:00
|
|
|
%define cpan_name Redis
|
2011-05-01 10:40:59 +00:00
|
|
|
Name: perl-Redis
|
2023-01-31 14:00:26 +00:00
|
|
|
Version: 2.000
|
2014-03-18 07:46:17 +00:00
|
|
|
Release: 0
|
|
|
|
License: Artistic-2.0
|
2023-01-31 14:00:26 +00:00
|
|
|
Summary: Perl binding for Redis database
|
2020-08-21 12:20:48 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-07-22 09:38:10 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAMS/%{cpan_name}-%{version}.tar.gz
|
2015-06-16 05:01:06 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:49 +02:00
|
|
|
Source100: README.md
|
2011-05-01 10:40:59 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2014-03-18 07:46:17 +00:00
|
|
|
BuildRequires: perl(Digest::SHA)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63_03
|
2015-06-16 05:01:06 +00:00
|
|
|
BuildRequires: perl(IO::Socket::Timeout) >= 0.29
|
2011-05-01 10:40:59 +00:00
|
|
|
BuildRequires: perl(IO::String)
|
2014-03-18 07:46:17 +00:00
|
|
|
BuildRequires: perl(IPC::Cmd)
|
2019-07-22 09:38:10 +00:00
|
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
2011-05-01 10:40:59 +00:00
|
|
|
BuildRequires: perl(Test::Deep)
|
2014-03-18 07:46:17 +00:00
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.98
|
|
|
|
BuildRequires: perl(Test::SharedFork)
|
2014-07-25 09:53:44 +00:00
|
|
|
BuildRequires: perl(Test::TCP) >= 1.19
|
2014-03-18 07:46:17 +00:00
|
|
|
BuildRequires: perl(Try::Tiny)
|
2015-06-16 05:01:06 +00:00
|
|
|
Requires: perl(IO::Socket::Timeout) >= 0.29
|
2014-03-18 07:46:17 +00:00
|
|
|
Requires: perl(Try::Tiny)
|
2011-05-01 10:40:59 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2022-01-20 10:23:26 +00:00
|
|
|
Pure perl bindings for https://redis.io/
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
This version supports protocol 2.x (multi-bulk) or later of Redis available
|
2016-02-13 17:12:02 +00:00
|
|
|
at https://github.com/antirez/redis/.
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
This documentation lists commands which are exercised in test suite, but
|
2014-03-18 07:46:17 +00:00
|
|
|
additional commands will work correctly since protocol specifies enough
|
|
|
|
information to support almost all commands with same piece of code with a
|
|
|
|
little help of 'AUTOLOAD'.
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
%prep
|
2022-01-20 10:23:26 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2020-03-10 15:19:39 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
%build
|
2019-07-22 09:38:10 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
2014-03-18 07:46:17 +00:00
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
%check
|
2014-03-18 07:46:17 +00:00
|
|
|
./Build test
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
%install
|
2014-03-18 07:46:17 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2011-05-01 10:40:59 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2019-07-22 09:38:10 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2011-05-01 10:40:59 +00:00
|
|
|
|
|
|
|
%changelog
|