]> git.pld-linux.org Git - packages/perl-Apache-Session-Wrapper.git/blame - perl-Apache-Session-Wrapper.spec
- new, autogenerated
[packages/perl-Apache-Session-Wrapper.git] / perl-Apache-Session-Wrapper.spec
CommitLineData
58df8531 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Apache
7%define pnam Session-Wrapper
8Summary: Apache::Session::Wrapper - A simple wrapper around Apache::Session
9#Summary(pl):
10Name: perl-Apache-Session-Wrapper
11Version: 0.17
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: c7876bad731c2e407816e2ee434ecb14
18BuildRequires: perl-devel >= 1:5.8
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl(Apache::Cookie)
22BuildRequires: perl(Apache::Session) >= 1.6
23BuildRequires: perl(Class::Container)
24BuildRequires: perl(Exception::Class)
25BuildRequires: perl(Params::Validate) >= 0.7
26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This module is a simple wrapper around Apache::Session which provides
32some methods to simplify getting and setting the session id.
33
34# %description -l pl
35# TODO
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Build.PL \
42 destdir=$RPM_BUILD_ROOT \
43 installdirs=vendor
44./Build
45
46%{?with_tests:./Build test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51./Build install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
59%{perl_vendorlib}/%{pdir}/*/*.pm
60%{_mandir}/man3/*
This page took 0.033755 seconds and 4 git commands to generate.