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