Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
perl-CGI-Application
perl-CGI-Application.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-CGI-Application.spec of Package perl-CGI-Application
# # spec file for package perl-CGI-Application # # Copyright (c) 2018 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 http://bugs.opensuse.org/ # Name: perl-CGI-Application Version: 4.61 Release: 0 %define cpan_name CGI-Application Summary: Framework for building reusable web-applications License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/CGI-Application/ Source0: https://cpan.metacpan.org/authors/id/M/MA/MARTO/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(CGI) >= 4.21 BuildRequires: perl(Class::ISA) BuildRequires: perl(HTML::Template) BuildRequires: perl(Module::Build) >= 0.420000 BuildRequires: perl(Test::Requires) Requires: perl(CGI) >= 4.21 Requires: perl(Class::ISA) Requires: perl(HTML::Template) Requires: perl(Module::Build) Requires: perl(Test::Requires) Recommends: perl(CGI::PSGI) >= 0.09 %{perl_requires} %description It is intended that your Application Module will be implemented as a sub-class of CGI::Application. This is done simply as follows: package My::App; use base 'CGI::Application'; *Notation and Conventions* For the purpose of this document, we will refer to the following conventions: WebApp.pm The Perl module which implements your Application Module class. WebApp Your Application Module class; a sub-class of CGI::Application. webapp.cgi The Instance Script which implements your Application Module. $webapp An instance (object) of your Application Module class. $c Same as $webapp, used in instance methods to pass around the current object. (Sometimes referred as "$self" in other code) %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes Examples GPL README %license ARTISTIC %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