Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > a47ed7b57a790a0ccf295303f161014d > files > 2

perl-CGI-Application-Plugin-Session-1.50.0-5.mga5.src.rpm

%define upstream_name    CGI-Application-Plugin-Session
%define upstream_version 1.05

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 5

Summary:    Add CGI::Session support to CGI::Application
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/CGI/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(CGI::Application)
BuildRequires: perl(CGI::Session)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
BuildRequires: perl(Module::Build::Compat)
Requires:      perl(CGI::Session)
BuildArch: noarch


%{?perl_default_filter}

%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 %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
make test

%install
%makeinstall_std

%files
%doc Changes README META.yml
%{_mandir}/man3/*
%perl_vendorlib/*


%changelog
* Sun Oct 19 2014 umeabot <umeabot> 1.50.0-5.mga5
+ Revision: 788885
- Rebuild to potentially add missing dependencies

* Wed Oct 15 2014 umeabot <umeabot> 1.50.0-4.mga5
+ Revision: 747500
- Second Mageia 5 Mass Rebuild

* Tue Sep 30 2014 tv <tv> 1.50.0-3.mga5
+ Revision: 732920
- add exclude

* Tue Sep 16 2014 umeabot <umeabot> 1.50.0-2.mga5
+ Revision: 683636
- Mageia 5 Mass Rebuild

* Mon Dec 23 2013 guillomovitch <guillomovitch> 1.50.0-1.mga4
+ Revision: 560077
- new version 1.05

  + umeabot <umeabot>
    - Mageia 4 Mass Rebuild

* Sun Jan 13 2013 umeabot <umeabot> 1.30.0-2.mga3
+ Revision: 363510
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 24 2011 jquelin <jquelin> 1.30.0-1.mga1
+ Revision: 36149
- mageia rebuild
- imported package perl-CGI-Application-Plugin-Session


* Sat Aug 01 2009 Jérôme Quelin <jquelin@mandriva.org> 1.30.0-1mdv2010.0
+ Revision: 405778
- rebuild using %%perl_convert_version

* Wed Nov 26 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-2mdv2009.1
+ Revision: 307082
- add missing dependency on CGI::Session

* Fri Oct 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-1mdv2009.1
+ Revision: 291355
- import perl-CGI-Application-Plugin-Session


* Thu Oct 09 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-1mdv2009.1
- initial mdv release, generated with cpan2dist