File perl-Gearman.spec of Package perl-Gearman
#
# spec file for package perl-Gearman (Version 1.09)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define tarname Gearman
Name: perl-%{tarname}
Version: 1.09
Release: 0
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
URL: http://www.danga.com/gearman/
Summary: Client for gearman distributed job system
Source: %{tarname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl(String::CRC32)
Requires: perl(String::CRC32)
%description
Gearman::Client is a client class for the Gearman distributed job system, providing a framework for sending jobs to one or more Gearman servers. These jobs are then distributed out to a farm of workers.
Callers instantiate a Gearman::Client object and from it dispatch single tasks, sets of tasks, or check on the status of tasks.
Authors:
--------
Brad Fitzpatrick <brad@danga.com>
Jonathan Steinert <hachi@cpan.org>
%prep
%setup -q -n %{tarname}-%{version}
%build
perl Makefile.PL
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES TODO HACKING
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Gearman
%{perl_vendorarch}/auto/Gearman
/var/adm/perl-modules/*
%changelog
* Sun Aug 3 2008 pzb@novell.com
- New package