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