3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam Session-Wrapper
8 Summary: Apache::Session::Wrapper - A simple wrapper around Apache::Session
10 Name: perl-Apache-Session-Wrapper
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: c7876bad731c2e407816e2ee434ecb14
18 BuildRequires: perl-devel >= 1:5.8
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl(Apache::Cookie)
22 BuildRequires: perl(Apache::Session) >= 1.6
23 BuildRequires: perl(Class::Container)
24 BuildRequires: perl(Exception::Class)
25 BuildRequires: perl(Params::Validate) >= 0.7
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 This module is a simple wrapper around Apache::Session which provides
32 some methods to simplify getting and setting the session id.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
42 destdir=$RPM_BUILD_ROOT \
46 %{?with_tests:./Build test}
49 rm -rf $RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/%{pdir}/*/*.pm