3 %bcond_without tests # do not perform "make test"
6 %define pnam Plugin-Session-State-Cookie
7 Summary: Catalyst::Plugin::Session::State::Cookie - A session ID
8 Summary(pl.UTF-8): Catalyst::Plugin::Session::State::Cookie - identyfikatory sesji
9 Name: perl-Catalyst-Plugin-Session-State-Cookie
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: d6d98d026613ccf54c55bb1dba7aa7a1
17 URL: http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Catalyst-Plugin-Session >= 0.01
22 BuildRequires: perl-Test-MockObject >= 1.01
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 In order for Catalyst::Plugin::Session to work the session ID needs to
29 be stored on the client, and the session data needs to be stored on
32 This plugin stores the session ID on the client using the cookie
35 %description -l pl.UTF-8
36 Aby wtyczka Catalyst::Plugin::Session działała, identyfikator sesji
37 musi być przechowywany po stronie klienta, a dane sesji - po stronie
40 Ta wtyczka przechowuje identyfikator sesji po stronie klienta przy
41 użyciu mechanizmu ciasteczek (cookie).
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} -MExtUtils::MakeMaker -we 'WriteMakefile(NAME=>"Catalyst::Plugin::Session::State::Cookie")' \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorlib}/Catalyst/Plugin/Session/State/*.pm