2015-08-27 12:02:51 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-CGI-Fast
|
|
|
|
#
|
2024-07-20 22:36:49 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-08-27 12:02:51 +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-03-29 07:44:18 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-27 12:02:51 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-09-07 16:43:39 +00:00
|
|
|
%define cpan_name CGI-Fast
|
2015-08-27 12:02:51 +00:00
|
|
|
Name: perl-CGI-Fast
|
2023-12-09 13:18:28 +00:00
|
|
|
Version: 2.170.0
|
2015-08-27 12:02:51 +00:00
|
|
|
Release: 0
|
2024-07-20 22:36:49 +00:00
|
|
|
# 2.17 -> normalize -> 2.170.0
|
2023-12-09 13:18:28 +00:00
|
|
|
%define cpan_version 2.17
|
2019-03-29 07:44:18 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2023-12-09 13:18:28 +00:00
|
|
|
Summary: CGI Interface for Fast CGI
|
2021-09-07 16:43:39 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-12-09 13:18:28 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/%{cpan_name}-%{cpan_version}.tar.gz
|
2017-12-06 14:35:56 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:16 +02:00
|
|
|
Source100: README.md
|
2015-08-27 12:02:51 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(CGI) >= 4
|
2024-07-20 22:36:49 +00:00
|
|
|
BuildRequires: perl(FCGI) >= 0.670
|
2015-08-27 12:02:51 +00:00
|
|
|
Requires: perl(CGI) >= 4
|
2024-07-20 22:36:49 +00:00
|
|
|
Requires: perl(FCGI) >= 0.670
|
2015-08-27 12:02:51 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
CGI::Fast is a subclass of the CGI object created by CGI.pm. It is
|
|
|
|
specialized to work with the FCGI module, which greatly speeds up CGI
|
|
|
|
scripts by turning them into persistently running server processes. Scripts
|
|
|
|
that perform time-consuming initialization processes, such as loading large
|
|
|
|
modules or opening persistent database connections, will see large
|
|
|
|
performance improvements.
|
|
|
|
|
2019-03-29 07:44:18 +00:00
|
|
|
Note that as CGI::Fast is based on CGI.pm it is no longer advised as a way
|
|
|
|
to write Perl web apps. See
|
|
|
|
https://metacpan.org/pod/CGI#CGI.pm-HAS-BEEN-REMOVED-FROM-THE-PERL-CORE for
|
|
|
|
more information about this
|
|
|
|
|
2015-08-27 12:02:51 +00:00
|
|
|
%prep
|
2023-12-09 13:18:28 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2015-08-27 12:02:51 +00:00
|
|
|
|
|
|
|
%build
|
2019-03-29 07:44:18 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-09-07 16:43:39 +00:00
|
|
|
%make_build
|
2015-08-27 12:02:51 +00:00
|
|
|
|
|
|
|
%check
|
2019-03-29 07:44:18 +00:00
|
|
|
make test
|
2015-08-27 12:02:51 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes README README.md
|
|
|
|
|
|
|
|
%changelog
|