%define upstream_name TheSchwartz %define upstream_version 1.10 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Superclass for defining task behavior License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module//%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Data::ObjectDriver) BuildRequires: perl(Digest::MD5) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Storable) BuildRequires: perl(Test::More) BuildArch: noarch %description TheSchwartz is a reliable job queue system. Your application can put jobs into the system, and your worker processes can pull jobs from the queue atomically to perform. Failed jobs can be left in the queue to retry later. _Abilities_ specify what jobs a worker process can perform. Abilities are the names of 'TheSchwartz::Worker' subclasses, as in the synopsis: the 'MyWorker' class name is used to specify that the worker script can perform the job. When using the 'TheSchwartz' client's 'work' functions, the class-ability duality is used to automatically dispatch to the proper class to do the actual work. TheSchwartz clients will also prefer to do jobs for unused abilities before reusing a particular ability, to avoid exhausting the supply of one kind of job while jobs of other types stack up. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc CHANGES META.yml %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/schwartzmon /usr/share/man/man1/schwartzmon.1.xz %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.100.0-2.mga3 + Revision: 374258 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Jun 04 2012 kharec <kharec> 1.100.0-1.mga3 + Revision: 254404 - imported package perl-TheSchwartz