Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-CGI-Application-Plugin-Session
perl-CGI-Application-Plugin-Session.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-CGI-Application-Plugin-Session.spec of Package perl-CGI-Application-Plugin-Session
# # spec file for package perl-CGI-Application-Plugin-Session # # Copyright (c) 2015 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-Plugin-Session Version: 1.05 Release: 0 %define cpan_name CGI-Application-Plugin-Session Summary: Plugin that adds session support to CGI::Application License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/CGI-Application-Plugin-Session/ Source: http://www.cpan.org/authors/id/F/FR/FREW/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(CGI::Application) >= 3.21 BuildRequires: perl(CGI::Session) >= 4.48 BuildRequires: perl(Test::More) >= 1.001002 Requires: perl(CGI::Application) >= 3.21 Requires: perl(CGI::Session) >= 4.48 %{perl_requires} %description CGI::Application::Plugin::Session seamlessly adds session support to your the CGI::Application manpage modules by providing a the CGI::Session manpage object that is accessible from anywhere in the application. Lazy loading is used to prevent expensive file system or database calls from being made if the session is not needed during this request. In other words, the Session object is not created until it is actually needed. Also, the Session object will act as a singleton by always returning the same Session object for the duration of the request. This module aims to be as simple and non obtrusive as possible. By not requiring any changes to the inheritance tree of your modules, it can be easily added to existing applications. Think of it as a plugin module that adds a couple of new methods directly into the CGI::Application namespace simply by loading the module. %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 LICENSE 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