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