3 %bcond_without tests # do not perform "make test"
6 %define pnam Component-JobQueue
7 Summary: POE::Component::JobQueue - a component to manage queues and worker pools
8 Summary(pl.UTF-8): POE::Component::JobQueue - komponent do zarządzania kolejkami i robotnikami
9 Name: perl-POE-Component-JobQueue
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 4b6d96b08ac72fb4ba131017f36407a2
17 URL: http://search.cpan.org/dist/POE-Component-JobQueue/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-POE >= 1:1.007
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 POE::Component::JobQueue manages a finite pool of worker sessions as
28 they handle an arbitrarily large number of tasks. It often is used as
29 a form of flow control, preventing a large group of tasks from
30 exhausting some sort of resource.
32 %description -l pl.UTF-8
33 POE::Component::JobQueue zarządza skończoną pulą sesji robotników
34 wykonujących dowolnie dużą liczbę zadań. Jest często używany jako
35 forma kontroli przepływu, nie pozwalając dużej grupie zadań na
36 wyczerpanie jakiegoś rodzaju zasobu.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/%{pdir}/*/*.pm