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