]> git.pld-linux.org Git - packages/perl-POE-Component-Client-Keepalive.git/blame - perl-POE-Component-Client-Keepalive.spec
- up to 0.25
[packages/perl-POE-Component-Client-Keepalive.git] / perl-POE-Component-Client-Keepalive.spec
CommitLineData
7e51e9e3
MP
1#
2# Conditional build:
7e51e9e3
MP
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir POE
7%define pnam Component-Client-Keepalive
9838f370 8Summary: POE::Component::Client::Keepalive - manage connections with keep-alive
b395a235 9Summary(pl.UTF-8): POE::Component::Client::Keepalive - zarządzanie połączeniami keep-alive
7e51e9e3 10Name: perl-POE-Component-Client-Keepalive
005b955b 11Version: 0.25
6b809549 12Release: 1
2457b665 13Epoch: 1
9838f370
JB
14# same as perl
15License: GPL v1+ or Artistic
7e51e9e3 16Group: Development/Languages/Perl
2457b665 17Source0: http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz
005b955b 18# Source0-md5: ecc86743c52c7ca70c207583f681a071
9838f370 19URL: http://search.cpan.org/dist/POE-Component-Client-Keepalive/
7e51e9e3
MP
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
9838f370 22%if %{with tests}
6b809549 23BuildRequires: perl-POE >= 1:0.3100
9838f370 24BuildRequires: perl-POE-Component-Client-DNS >= 0.9801
7e51e9e3 25%endif
6b809549 26Requires: perl-POE >= 1:0.3100
7e51e9e3
MP
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
7e51e9e3 30%description
9838f370
JB
31POE::Component::Client::Keepalive creates and manages connections for
32other components. It maintains a cache of kept-alive connections for
33quick reuse. It is written specifically for clients that can benefit
34from kept-alive connections, such as HTTP clients. Using it for
35one-shot connections would probably be silly.
36
fb62bf75
JR
37%description -l pl.UTF-8
38POE::Component::Client::Keepalive tworzy i zarządza połączeniami dla
39innych komponentów. Utrzymuje cache połączeń keep-alive do szybkiego
40ponownego użycia. Jest napisany szczególnie dla klientów
41korzystających z połączeń keep-alive, takich jak klienci HTTP.
42Używanie go do pojedynczych połączeń byłoby prawdopodobnie głupie.
7e51e9e3
MP
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
7e51e9e3
MP
46
47%build
7e51e9e3
MP
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50
51%{__make}
7e51e9e3
MP
52
53%{?with_tests:%{__make} test}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} pure_install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc CHANGES README
7e51e9e3
MP
67%{perl_vendorlib}/POE/Component/Client/Keepalive.pm
68%dir %{perl_vendorlib}/POE/Component/Connection
69%{perl_vendorlib}/POE/Component/Connection/Keepalive.pm
70%{_mandir}/man3/*
This page took 0.924697 seconds and 4 git commands to generate.