]> git.pld-linux.org Git - packages/perl-CGI-Session.git/blame - perl-CGI-Session.spec
- updated to 4.42
[packages/perl-CGI-Session.git] / perl-CGI-Session.spec
CommitLineData
59f18f9b 1#
2# Conditional build:
66d2448d 3%bcond_with tests # do not perform "make test"
9b1773ca 4#
59f18f9b 5%include /usr/lib/rpm/macros.perl
bc7f1116 6%define pdir CGI
7%define pnam Session
9b1773ca 8Summary: CGI::Session - persistent storage of complex data in CGI
883530cd 9Summary(pl.UTF-8): CGI::Session - trwałe przechowywanie złożonych struktur danych w CGI
59f18f9b 10Name: perl-CGI-Session
a6b0cfc0 11Version: 4.42
8561018a 12Release: 1
d5e7aad5 13# same as perl
14License: GPL v1+ or Artistic
59f18f9b 15Group: Development/Languages/Perl
eacb51d1 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a6b0cfc0 17# Source0-md5: 6544261a6aae66410188520b27e10699
5ff17a63 18URL: http://search.cpan.org/dist/CGI-Session/
bbcf626e 19BuildRequires: perl-devel >= 1:5.8.0
6256e970 20BuildRequires: rpm-perlprov >= 4.1-13
61b40e38 21%if %{with tests}
59f18f9b 22BuildRequires: perl-Digest-MD5
1e7e1ce3 23BuildRequires: perl-DB_File
24BuildRequires: perl-FreezeThaw
5ff17a63
ER
25BuildRequires: perl-CGI-Simple
26BuildRequires: perl-YAML-Syck
59f18f9b 27%endif
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32CGI::Session is Perl5 library that provides an easy persistent session
33management system across HTTP requests.
34
e4f1d7e5
JR
35%description -l pl.UTF-8
36CGI::Session jest biblioteką dla Perla5, udostępniającą łatwy system
37zarządzania trwałą sesją pomiędzy zapytaniami HTTP.
59f18f9b 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
59f18f9b 41
42%build
6256e970 43%{__perl} Makefile.PL \
f7b8794e 44 INSTALLDIRS=vendor
59f18f9b 45%{__make}
59f18f9b 46
61b40e38 47%{?with_tests:%{__make} test}
59f18f9b 48
49%install
50rm -rf $RPM_BUILD_ROOT
51
0de9b782 52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
59f18f9b 54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
f54512fc
JB
61%{perl_vendorlib}/CGI/*.pm
62%{perl_vendorlib}/CGI/Session
59f18f9b 63%{_mandir}/man3/*
This page took 0.062877 seconds and 4 git commands to generate.