6a8f31f
Name:           perl-Gearman-Server
e9037f2
Version:        1.130.1
3453bea
Release:        5%{?dist}
a12989c
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/
a12989c
Source0:        http://search.cpan.org/CPAN/authors/id/P/PA/PALIK/Gearman-Server-v%{version}.tar.gz
a12989c
# Use absolute interpreter
a12989c
Patch0:         Gearman-Server-v1.130.0-Do-not-use-usr-bin-env.patch
645a05a
# Load IO::Socket::INET in Gearman/Server.pm
645a05a
Patch1:         Gearman-Server-v1.130.1-Load-IO-Socket-INET.patch
6a8f31f
BuildArch:      noarch
a12989c
BuildRequires:  findutils
a12989c
BuildRequires:  make
30c351c
BuildRequires:  perl-interpreter
e787a94
BuildRequires:  perl-generators
6a8f31f
BuildRequires:  perl(ExtUtils::MakeMaker)
a12989c
# Run-time:
a12989c
BuildRequires:  perl(base)
a12989c
BuildRequires:  perl(Carp)
a12989c
BuildRequires:  perl(constant)
a12989c
BuildRequires:  perl(Danga::Socket) >= 1.52
a12989c
BuildRequires:  perl(Errno)
a12989c
BuildRequires:  perl(fields)
a12989c
BuildRequires:  perl(Gearman::Util)
a12989c
BuildRequires:  perl(Getopt::Long)
a12989c
BuildRequires:  perl(IO::Handle)
a12989c
BuildRequires:  perl(IO::Socket::INET)
a12989c
BuildRequires:  perl(Pod::Usage)
a12989c
BuildRequires:  perl(POSIX)
a12989c
BuildRequires:  perl(Scalar::Util)
a12989c
BuildRequires:  perl(Socket)
a12989c
BuildRequires:  perl(strict)
a12989c
BuildRequires:  perl(Sys::Hostname)
a12989c
BuildRequires:  perl(vars)
a12989c
BuildRequires:  perl(version)
a12989c
BuildRequires:  perl(warnings)
a12989c
# Tests:
a12989c
BuildRequires:  perl(Test::More)
a12989c
BuildRequires:  perl(Test::Script) >= 1.12
aa0fe71
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
aa0fe71
a12989c
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Danga::Socket\\)$
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
a12989c
%setup -q -n Gearman-Server-v%{version}
a12989c
%patch0 -p1
645a05a
%patch1 -p1
6a8f31f
6a8f31f
%build
aa0fe71
perl Makefile.PL INSTALLDIRS=vendor
6a8f31f
make %{?_smp_mflags}
6a8f31f
6a8f31f
%install
aa0fe71
make pure_install DESTDIR=%{buildroot}
a12989c
find %{buildroot} -type f -name .packlist -delete
6a8f31f
%{_fixperms} %{buildroot}/*
6a8f31f
6a8f31f
%check
6a8f31f
make test
6a8f31f
6a8f31f
%files
a12989c
%doc CHANGES README.md
6a8f31f
%{_bindir}/gearmand
b79418e
%{perl_vendorlib}/Gearman
b79418e
%{_mandir}/man1/gearmand.*
b79418e
%{_mandir}/man3/Gearman::*.*
6a8f31f
6a8f31f
%changelog
3453bea
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.130.1-5
3453bea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3453bea
05a6d58
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.130.1-4
05a6d58
- Perl 5.26 rebuild
05a6d58
e2bb785
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.130.1-3
e2bb785
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e2bb785
645a05a
* Wed Aug 10 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.130.1-2
645a05a
- Load IO::Socket::INET in Server.pm
645a05a
e9037f2
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 1.130.1-1
e9037f2
- 1.130.1 bump
e9037f2
a12989c
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 1.130.0-1
a12989c
- 1.130.0 bump
a12989c
eb159f2
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-5
eb159f2
- Perl 5.24 rebuild
eb159f2
34e6245
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
34e6245
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
34e6245
d8a2504
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
d8a2504
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d8a2504
c08f53a
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-2
c08f53a
- Perl 5.22 rebuild
c08f53a
aa0fe71
* Thu Dec 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-1
aa0fe71
- 1.12 bump
aa0fe71
- Modernize spec file
aa0fe71
5c80c71
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-12
5c80c71
- Perl 5.20 rebuild
5c80c71
bcf532b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-11
bcf532b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bcf532b
89ec0ed
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-10
89ec0ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89ec0ed
b792f74
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.11-9
b792f74
- Perl 5.18 rebuild
b792f74
4d17096
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-8
4d17096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4d17096
a16c82b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-7
a16c82b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a16c82b
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