]> git.pld-linux.org Git - packages/perl-Catalyst-Plugin-Session-State-Cookie.git/blob - perl-Catalyst-Plugin-Session-State-Cookie.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Catalyst-Plugin-Session-State-Cookie.git] / perl-Catalyst-Plugin-Session-State-Cookie.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Catalyst
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
10 Version:        0.14
11 Release:        1
12 # same as perl
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
20 %if %{with tests}
21 BuildRequires:  perl-Catalyst-Plugin-Session >= 0.01
22 BuildRequires:  perl-Test-MockObject >= 1.01
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
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
30 the server.
31
32 This plugin stores the session ID on the client using the cookie
33 mechanism.
34
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
38 serwera.
39
40 Ta wtyczka przechowuje identyfikator sesji po stronie klienta przy
41 użyciu mechanizmu ciasteczek (cookie).
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} -MExtUtils::MakeMaker -we 'WriteMakefile(NAME=>"Catalyst::Plugin::Session::State::Cookie")' \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README
65 %{perl_vendorlib}/Catalyst/Plugin/Session/State/*.pm
66 %{_mandir}/man3/*
This page took 0.074588 seconds and 3 git commands to generate.