|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: perl-Gearman
|
|
|
|
Name: perl-Gearman
|
|
|
|
Version: 1.11
|
|
|
|
Version: 1.12
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Distributed job system
|
|
|
|
Summary: Distributed job system
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -8,54 +8,67 @@ URL: http://danga.com/gearman/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(String::CRC32)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
|
|
|
BuildRequires: perl(Errno)
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(fields)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Socket::INET)
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
|
|
|
BuildRequires: perl(Socket)
|
|
|
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(String::CRC32)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Gearman::Client\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Gearman is a system to farm out work to other machines,
|
|
|
|
Gearman provides a generic application framework to farm out work to other
|
|
|
|
dispatching function calls to machines that are better suited to do work,
|
|
|
|
machines or processes that are better suited to do the work. It allows you
|
|
|
|
to do work in parallel, to load balance lots of function calls,
|
|
|
|
to do work in parallel, to load balance processing, and to call functions
|
|
|
|
or to call functions between languages.
|
|
|
|
between languages.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Gearman-%{version}
|
|
|
|
%setup -q -n Gearman-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Filter double proved for Gearman::Client:
|
|
|
|
|
|
|
|
cat << \EOF > %{name}-prov
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
%{__perl_provides} $* |\
|
|
|
|
|
|
|
|
sed -e '/^perl(Gearman::Client)$/d'
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define __perl_provides %{_builddir}/Gearman-%{version}/%{name}-prov
|
|
|
|
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc CHANGES HACKING TODO
|
|
|
|
%doc CHANGES HACKING TODO
|
|
|
|
%{perl_vendorlib}/Gearman
|
|
|
|
%{perl_vendorlib}/Gearman
|
|
|
|
%{_mandir}/man3/Gearman::*.*
|
|
|
|
%{_mandir}/man3/Gearman::*.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Dec 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-1
|
|
|
|
|
|
|
|
- 1.12 bump
|
|
|
|
|
|
|
|
- Modernize spec file
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-11
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|