Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
perl-CGI-Simple
perl-CGI-Simple.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-CGI-Simple.spec of Package perl-CGI-Simple
# # spec file for package perl-CGI-Simple # # Copyright (c) 2024 SUSE LLC # # 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/ # %define cpan_name CGI-Simple Name: perl-CGI-Simple Version: 1.281.0 Release: 0 %define cpan_version 1.281 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Object-oriented CGI interface compliant to CGI.pm URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::NoWarnings) Provides: perl(CGI::Simple) = %{version} Provides: perl(CGI::Simple::Cookie) = %{version} Provides: perl(CGI::Simple::Standard) = %{version} Provides: perl(CGI::Simple::Util) = %{version} %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN # after 1.115 came 1.12 - provide the zero padded version number to fix version checks Provides: perl(CGI::Simple) = %{version}0 Provides: perl(CGI::Simple::Cookie) = %{version}0 # MANUAL END %description CGI::Simple provides a relatively lightweight drop in replacement for CGI.pm. It shares an identical OO interface to CGI.pm for parameter parsing, file upload, cookie handling and header generation. This module is entirely object oriented, however a complete functional interface is available by using the CGI::Simple::Standard module. Essentially everything in CGI.pm that relates to the CGI (not HTML) side of things is available. There are even a few new methods and additions to old ones! If you are interested in what has gone on under the hood see the Compatibility with CGI.pm section at the end. In practical testing this module loads and runs about twice as fast as CGI.pm depending on the precise task. %prep %autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor