Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > dfe82370846589fcf182362851e7ac49 > files > 2

perl-Apache-Session-Wrapper-0.33-3mdv2009.0.src.rpm

%define module  Apache-Session-Wrapper
%define name    perl-%{module}
%define version 0.33
%define release %mkrel 3

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        A simple wrapper around Apache::Session
License:        GPL or Artistic
Group:          Development/Perl
Url:            http://search.cpan.org/dist/%{module}
Source:         http://www.cpan.org/modules/by-module/Apache/%{module}-%{version}.tar.bz2
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Apache::Session)
BuildRequires:  perl(Apache::Test)
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description
This module is a simple wrapper around Apache::Session which
provides some methods to simplify getting and setting the session
id. It can uses cookies to store the session id, or it can look in
a provided object for a specific parameter. Alternately, you can
simply provide the session id yourself in the call to the
"session()" method. If you're using Mason, you should probably 
take a look at "MasonX::Request::WithApacheSession" first,  which
integrates this module directly into Mason.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build CFLAGS="%{optflags}"

%check
./Build test

%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot}

%clean 
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc Changes LICENSE README SIGNATURE
%{perl_vendorlib}/Apache
%{_mandir}/man3/*



%changelog
* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.33-3mdv2009.0
+ Revision: 241148
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sun Apr 29 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0.33-1mdv2008.0
+ Revision: 19181
-New version


* Wed Aug 02 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.31-1mdv2007.0
- New version 0.31
- Module::Build-based build
- fix directory ownership

* Thu Jun 15 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.29-1mdv2007.0
- New version 0.29

* Tue May 30 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.28-1mdv2007.0
- New release 0.28

* Thu Apr 27 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.26-2mdk
- Fix SPEC according to Perl Policy
    - Source URL
    - BuildRequires

* Fri Jan 27 2006 Oden Eriksson <oeriksson@mandriva.com> 0.26-1mdk
- initial Mandriva package