]> git.pld-linux.org Git - packages/perl-POE-Component-JobQueue.git/blame - perl-POE-Component-JobQueue.spec
use generic url
[packages/perl-POE-Component-JobQueue.git] / perl-POE-Component-JobQueue.spec
CommitLineData
129c9423 1#
2# Conditional build:
07577a33 3%bcond_without tests # do not perform "make test"
1c2fc729 4
8663f759 5%define pdir POE
6%define pnam Component-JobQueue
1c2fc729 7%include /usr/lib/rpm/macros.perl
129c9423 8Summary: POE::Component::JobQueue - a component to manage queues and worker pools
7ab3a0f0 9Summary(pl.UTF-8): POE::Component::JobQueue - komponent do zarządzania kolejkami i robotnikami
129c9423 10Name: perl-POE-Component-JobQueue
5d73fea3 11Version: 0.571
129c9423 12Release: 1
13# same as perl
382be239 14License: GPL v1+ or Artistic
129c9423 15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
5d73fea3 17# Source0-md5: 4b6d96b08ac72fb4ba131017f36407a2
1c2fc729 18URL: http://search.cpan.org/dist/POE-Component-JobQueue/
ea64a43c 19BuildRequires: perl-devel >= 1:5.8.0
129c9423 20BuildRequires: rpm-perlprov >= 4.1-13
07577a33 21%if %{with tests}
20a11871 22BuildRequires: perl-POE >= 1:1.007
129c9423 23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
382be239 28POE::Component::JobQueue manages a finite pool of worker sessions as
1c2fc729 29they handle an arbitrarily large number of tasks. It often is used as
382be239
JB
30a form of flow control, preventing a large group of tasks from
31exhausting some sort of resource.
32
65c85486
JR
33%description -l pl.UTF-8
34POE::Component::JobQueue zarządza skończoną pulą sesji robotników
35wykonujących dowolnie dużą liczbę zadań. Jest często używany jako
36forma kontroli przepływu, nie pozwalając dużej grupie zadań na
37wyczerpanie jakiegoś rodzaju zasobu.
129c9423 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
07577a33 47%{?with_tests:%{__make} test}
129c9423 48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc CHANGES
61%{perl_vendorlib}/%{pdir}/*/*.pm
62%{_mandir}/man3/*
This page took 0.054849 seconds and 4 git commands to generate.