6a8f31f
Name:           perl-Gearman-Server
b79418e
Version:        1.11
41cf1e1
Release:        6%{?dist}
6a8f31f
Summary:        Function call "router" and load balancer
a95ec63
License:        GPL+ or Artistic
6a8f31f
Group:          System Environment/Daemons
6a8f31f
URL:            http://search.cpan.org/dist/Gearman-Server/
b79418e
Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-Server-%{version}.tar.gz
6a8f31f
BuildArch:      noarch
6a8f31f
6a8f31f
BuildRequires:  perl(ExtUtils::MakeMaker)
6a8f31f
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
6a8f31f
6a8f31f
%description
6a8f31f
You run a Gearman server (or more likely, many of them for both high-
6a8f31f
availability and load balancing), then have workers (using Gearman::Worker
6a8f31f
from the Gearman module, or libraries for other languages) register their
6a8f31f
ability to do certain functions to all of them, and then clients (using
6a8f31f
Gearman::Client, Gearman::Client::Async, etc) request work to be done from
6a8f31f
one of the Gearman servers.
6a8f31f
6a8f31f
%prep
6a8f31f
%setup -q -n Gearman-Server-%{version}
6a8f31f
6a8f31f
%build
6a8f31f
%{__perl} Makefile.PL INSTALLDIRS=vendor
6a8f31f
make %{?_smp_mflags}
6a8f31f
6a8f31f
%install
6a8f31f
make pure_install PERL_INSTALL_ROOT=%{buildroot}
6a8f31f
6a8f31f
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
6a8f31f
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
6a8f31f
6a8f31f
%{_fixperms} %{buildroot}/*
6a8f31f
6a8f31f
%check
6a8f31f
make test
6a8f31f
6a8f31f
%files
6a8f31f
%defattr(-,root,root,-)
6a8f31f
%doc CHANGES
6a8f31f
%{_bindir}/gearmand
b79418e
%{perl_vendorlib}/Gearman
b79418e
%{_mandir}/man1/gearmand.*
b79418e
%{_mandir}/man3/Gearman::*.*
6a8f31f
6a8f31f
%changelog
41cf1e1
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.11-6
41cf1e1
- Perl 5.16 rebuild
41cf1e1
d845b4f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5
d845b4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d845b4f
0f66557
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.11-4
0f66557
- Perl mass rebuild
0f66557
06fdc8b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
06fdc8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
06fdc8b
8fb1299
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.11-2
8fb1299
- 661697 rebuild for fixing problems with vendorach/lib
8fb1299
b79418e
* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.11-1
b79418e
- Upstream released new version
b79418e
05a6f69
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-6
05a6f69
- Mass rebuild with perl-5.12.0
05a6f69
25a6725
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-5
25a6725
- rebuild against perl 5.10.1
25a6725
e7a5772
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-4
e7a5772
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e7a5772
d3670df
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3
d3670df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d3670df
a95ec63
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-2
a95ec63
- rebuild for new perl
a95ec63
6a8f31f
* Sun May 20 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.09-1
6a8f31f
- Initial import
6a8f31f