File perl-Catalyst-Plugin-Session.spec of Package perl-Catalyst-Plugin-Session

%define _real_name Catalyst-Plugin-Session
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

Summary: Generic Session plugin
Name: perl-Catalyst-Plugin-Session
Version: 0.20
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~bobtfish/Catalyst-Plugin-Session-0.20/lib/Catalyst/Plugin/Session.pm

Buildarch: noarch

BuildRequires: perl-Catalyst-Runtime perl-MRO-Compat perl-Test-MockObject perl-Test-Exception perl-Object-Signature perl-Test-Deep 
Requires: perl-Catalyst-Runtime perl-MRO-Compat perl-Test-MockObject perl-Test-Exception perl-Object-Signature perl-Test-Deep perl-Data-Dump perl-Class-Accessor 

Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Session-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Generic Session plugin - ties together server side storage and client side state required to maintain session data

%prep
%setup -n %{_real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}"
%{__make}

%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/Catalyst
%dir %{perl_vendorlib}/Catalyst/Plugin
%dir %{perl_vendorlib}/Catalyst/Plugin/Session/
%{perl_vendorlib}/Catalyst/Plugin/Session.pm
%{perl_vendorlib}/Catalyst/Plugin/Session/*

%changelog
* Wed Feb 18 2009 Leo Eraly <leo@unstable.be> - 0.20-1
- Initial package
openSUSE Build Service is sponsored by