# # spec file for package perl-CGI-Fast # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-CGI-Fast Version: 2.15 Release: 1.8 %define cpan_name CGI-Fast Summary: CGI Interface for Fast CGI License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(CGI) >= 4 BuildRequires: perl(FCGI) >= 0.67 Requires: perl(CGI) >= 4 Requires: perl(FCGI) >= 0.67 %{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. 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 %prep %setup -q -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README README.md %changelog * Tue Apr 2 2019 Stephan Kulow - updated to 2.15 see /usr/share/doc/packages/perl-CGI-Fast/Changes 2.15 2019-03-29 [FIX] - ensure upload hooks are passed to CGI.pm constructor (GH #19, thanks to ikegami) * Wed Mar 27 2019 Stephan Kulow - updated to 2.14 see /usr/share/doc/packages/perl-CGI-Fast/Changes 2.14 2019-03-26 [DOCUMENTATION] - Add a link to the "you probably shouldn't use CGI.pm" docs * Sat Nov 18 2017 coolo@suse.com - updated to 2.13 see /usr/share/doc/packages/perl-CGI-Fast/Changes 2.13 2017-11-17 [TESTING] remove use of Test::Deep completely (GH #17) * Sun Oct 1 2017 coolo@suse.com - updated to 2.12 see /usr/share/doc/packages/perl-CGI-Fast/Changes 2.12 2016-11-22 [DOCUMENTATION] - tweak docs about overriding STDIN due to interference with POST requests (GH #16, thanks to melak) 2.11 2016-11-17 [FIX] - make sure we use CGI::Carp as we depend on it (GH #15, thanks to melak) * Thu Aug 27 2015 lars@linux-schulserver.de - initial version 2.10