# $Revision: 1.5 $, $Date: 2002/10/18 01:19:30 $ # # Conditional build: # _with_tests - perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir Apache %define pnam SessionManager Summary: Apache::SessionManager - simple mod_perl extension to manage sessions Summary(pl): Apache::SessionManager - proste rozszerzenie mod_perla do obs³ugi sesji Name: perl-Apache-SessionManager Version: 0.03 Release: 1 License: GPL/Artistic Group: Development/Languages/Perl Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz BuildRequires: apache-mod_perl BuildRequires: perl >= 5.6 BuildRequires: perl-Apache-Session BuildRequires: rpm-perlprov >= 3.0.3-26 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Apache::SessionManager is a mod_perl module that helps session management of a web application. This simple module is a wrapper around Apache::Session persistence framework for session data. It creates a session object and makes it available to all other handlers by putting in pnotes. In a mod_perl handler you can retrieve the session object directly from pnotes with predefined key 'SESSION_MANAGER_HANDLE'. %description -l pl Apache::SessionManager to modu³ do mod_perla pomagaj±cy w zarz±dzaniu sesjami w aplikacjach WWW. Ten prosty modu³ jest obudowaniem szkieletu zachowywania danych sesji Apache::Session. Tworzy on obiekt sesji i czyni go dostêpnym dla wszystkich innych funkcji obs³uguj±cych poprzez umieszcenie w pnotes. W obs³udze mod_perla mo¿na odczytywaæ obiekt sesji bezpo¶rednio z pnotes przy pomocy predefiniowanego klucza 'SESSION_MANAGER_HANDLE'. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build echo '!' | perl Makefile.PL %{__make} %{?_with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Change* README %{perl_sitelib}/%{pdir}/*.pm %{_mandir}/man3/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: perl-Apache-SessionManager.spec,v $ Revision 1.5 2002/10/18 01:19:30 ankry - updated to 0.03 Revision 1.4 2002/09/08 11:04:03 radek - version 0.02 - added Changes and README files STBR Revision 1.3 2002/08/29 19:00:51 kloczek - release 2. Revision 1.2 2002/08/28 22:13:16 qboosh - pl description Revision 1.1 2002/08/28 00:06:39 radek - new, STBR