|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package perl-Apache2-AuthCookieDBI
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -16,39 +16,43 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Apache2-AuthCookieDBI
|
|
|
|
|
Version: 2.19
|
|
|
|
|
Release: 0
|
|
|
|
|
%define cpan_name Apache2-AuthCookieDBI
|
|
|
|
|
Summary: An AuthCookie module backed by a DBI database
|
|
|
|
|
Name: perl-Apache2-AuthCookieDBI
|
|
|
|
|
Version: 2.190.0
|
|
|
|
|
Release: 0
|
|
|
|
|
# 2.19 -> normalize -> 2.190.0
|
|
|
|
|
%define cpan_version 2.19
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MATISSE/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Summary: An AuthCookie module backed by a DBI database
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MATISSE/%{cpan_name}-%{cpan_version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
|
Source100: README.md
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(Apache2::AuthCookie) >= 3.08
|
|
|
|
|
BuildRequires: perl(Apache2::AuthCookie) >= 3.80
|
|
|
|
|
BuildRequires: perl(Apache2::Const)
|
|
|
|
|
BuildRequires: perl(Apache2::RequestRec)
|
|
|
|
|
BuildRequires: perl(Apache2::ServerUtil)
|
|
|
|
|
BuildRequires: perl(Crypt::CBC) >= 2.13
|
|
|
|
|
BuildRequires: perl(DBI) >= 1.4
|
|
|
|
|
BuildRequires: perl(Crypt::CBC) >= 2.130
|
|
|
|
|
BuildRequires: perl(DBI) >= 1.400
|
|
|
|
|
BuildRequires: perl(Date::Calc)
|
|
|
|
|
BuildRequires: perl(Digest::SHA) >= 5.47
|
|
|
|
|
BuildRequires: perl(Module::Build) >= 0.420000
|
|
|
|
|
BuildRequires: perl(mod_perl2) >= 1.999022
|
|
|
|
|
Requires: perl(Apache2::AuthCookie) >= 3.08
|
|
|
|
|
BuildRequires: perl(Module::Build) >= 0.42
|
|
|
|
|
BuildRequires: perl(mod_perl2) >= 1.999.22
|
|
|
|
|
Requires: perl(Apache2::AuthCookie) >= 3.80
|
|
|
|
|
Requires: perl(Apache2::Const)
|
|
|
|
|
Requires: perl(Apache2::RequestRec)
|
|
|
|
|
Requires: perl(Apache2::ServerUtil)
|
|
|
|
|
Requires: perl(Crypt::CBC) >= 2.13
|
|
|
|
|
Requires: perl(DBI) >= 1.4
|
|
|
|
|
Requires: perl(Crypt::CBC) >= 2.130
|
|
|
|
|
Requires: perl(DBI) >= 1.400
|
|
|
|
|
Requires: perl(Date::Calc)
|
|
|
|
|
Requires: perl(Digest::SHA) >= 5.47
|
|
|
|
|
Requires: perl(mod_perl2) >= 1.999022
|
|
|
|
|
Requires: perl(mod_perl2) >= 1.999.22
|
|
|
|
|
Provides: perl(Apache2::AuthCookieDBI) = %{version}
|
|
|
|
|
Provides: perl(Apache2_4::AuthCookieDBI) = %{version}
|
|
|
|
|
%undefine __perllib_provides
|
|
|
|
|
Recommends: perl(Digest::SHA) >= 5.47
|
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
@@ -99,11 +103,11 @@ If a ticket has expired or is otherwise invalid it is cleared in the
|
|
|
|
|
browser and the login form is shown again.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@@ -114,7 +118,6 @@ make test
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
|
%doc Changes generic_reg_auth_scheme.txt README README-docker schema.sql techspec.txt
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|