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
9 Summary(pl): Apache::Session::Wrapper - prosty wrapper na 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.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Apache-Session >= 1.6
22 BuildRequires: perl-Class-Container
23 BuildRequires: perl-Exception-Class
24 BuildRequires: perl-Params-Validate >= 0.7
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This module is a simple wrapper around Apache::Session which provides
31 some methods to simplify getting and setting the session id.
34 Ten modu³ jest prostym wrapperem na Apache::Session dostarczaj±cym
35 metody upraszczaj±ce uzyskiwanie i ustawianie identyfikatorów sesji.
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}/Apache/*/*.pm