perl-Gearman/perl-Gearman.spec

186 lines
6.3 KiB
RPMSpec
Raw Normal View History

2007-07-02 20:47:54 +00:00
Name: perl-Gearman
2016-12-06 07:44:08 +00:00
Version: 2.002.004
Release: 2%{?dist}
2016-06-01 09:14:41 +00:00
Summary: Perl interface for Gearman distributed job system
2008-02-08 03:20:41 +00:00
License: GPL+ or Artistic
2007-07-02 20:47:54 +00:00
Group: Development/Libraries
URL: http://danga.com/gearman/
2016-06-01 09:14:41 +00:00
Source0: http://search.cpan.org/CPAN/authors/id/P/PA/PALIK/Gearman-%{version}.tar.gz
2007-07-02 20:47:54 +00:00
BuildArch: noarch
2016-06-01 09:14:41 +00:00
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
2016-12-06 07:44:08 +00:00
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.48
2016-06-01 09:14:41 +00:00
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
2014-12-18 15:32:38 +00:00
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(fields)
2016-12-05 14:16:46 +00:00
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket::IP)
BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl(List::MoreUtils)
2016-08-09 13:41:02 +00:00
BuildRequires: perl(POSIX)
2016-12-06 07:44:08 +00:00
BuildRequires: perl(Ref::Util) >= 0.020
2014-12-18 15:32:38 +00:00
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
BuildRequires: perl(Storable)
2007-07-02 20:47:54 +00:00
BuildRequires: perl(String::CRC32)
2014-12-18 15:32:38 +00:00
BuildRequires: perl(Time::HiRes)
2016-08-09 13:41:02 +00:00
BuildRequires: perl(version)
2016-06-01 09:14:41 +00:00
# Tests:
2016-12-05 14:16:46 +00:00
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Which)
2016-06-01 09:14:41 +00:00
BuildRequires: perl(List::Util)
2016-12-05 14:16:46 +00:00
BuildRequires: perl(Net::EmptyPort)
2016-08-09 13:41:02 +00:00
BuildRequires: perl(Perl::OSType)
2016-12-05 14:16:46 +00:00
BuildRequires: perl(Proc::Guard)
BuildRequires: perl(Test::Differences)
2016-08-09 13:41:02 +00:00
BuildRequires: perl(Test::Exception)
2016-06-01 09:14:41 +00:00
BuildRequires: perl(Test::More)
2016-12-05 14:16:46 +00:00
BuildRequires: perl(Test::TCP)
2016-08-09 13:41:02 +00:00
BuildRequires: perl(Test::Timer)
2016-12-05 14:16:46 +00:00
BuildRequires: perl(vars)
2016-06-01 09:14:41 +00:00
# Optional tests:
2016-06-03 13:42:12 +00:00
%if !%{defined perl_bootstrap}
# Break build cycle: perl-Gearman → perl-Gearman-Server → perl-Gearman
2016-12-05 14:16:46 +00:00
# perl-Gearman-Server for %%{_bindir}/gearmand
2016-06-03 13:42:12 +00:00
BuildRequires: perl-Gearman-Server
%endif
2016-06-01 09:14:41 +00:00
# Devel::Gladiator not yet packaged
2014-12-18 15:32:38 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2016-12-06 07:44:08 +00:00
Requires: perl(Ref::Util) >= 0.020
# Remove under-specifed dependencies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Ref::Util\\)$
2014-12-18 15:32:38 +00:00
2007-07-02 20:47:54 +00:00
%description
2014-12-18 15:32:38 +00:00
Gearman provides a generic application framework to farm out work to other
machines or processes that are better suited to do the work. It allows you
to do work in parallel, to load balance processing, and to call functions
between languages.
2007-07-02 20:47:54 +00:00
%prep
%setup -q -n Gearman-%{version}
%build
2014-12-18 15:32:38 +00:00
perl Makefile.PL INSTALLDIRS=vendor
2007-07-02 20:47:54 +00:00
make %{?_smp_mflags}
%install
2014-12-18 15:32:38 +00:00
make pure_install DESTDIR=$RPM_BUILD_ROOT
2016-06-01 09:14:41 +00:00
find $RPM_BUILD_ROOT -type f -name .packlist -delete
2007-07-02 20:47:54 +00:00
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
2016-08-09 13:41:02 +00:00
%doc CHANGES README TODO
2010-06-24 14:07:25 +00:00
%{perl_vendorlib}/Gearman
%{_mandir}/man3/Gearman::*.*
2007-07-02 20:47:54 +00:00
%changelog
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.002.004-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-12-06 07:44:08 +00:00
* Tue Dec 06 2016 Petr Pisar <ppisar@redhat.com> - 2.002.004-1
- 2.002.004 bump
2016-12-05 14:16:46 +00:00
* Mon Dec 05 2016 Petr Pisar <ppisar@redhat.com> - 2.002.003-1
- 2.002.003 bump
2016-08-09 13:41:02 +00:00
* Mon Aug 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.130.004-1
- 1.130.004 bump
2016-06-06 06:57:25 +00:00
* Mon Jun 06 2016 Petr Pisar <ppisar@redhat.com> - 1.12.009-1
- 1.12.009 bump
2016-06-03 13:04:10 +00:00
* Fri Jun 03 2016 Petr Pisar <ppisar@redhat.com> - 1.12.008-1
- 1.12.008 bump
2016-06-03 13:42:12 +00:00
- Enable tests against server
2016-06-03 13:04:10 +00:00
2016-06-01 09:14:41 +00:00
* Wed Jun 01 2016 Petr Pisar <ppisar@redhat.com> - 1.12.007-1
- 1.12.007 bump
2016-05-15 09:14:49 +00:00
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-5
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-04 07:53:19 +00:00
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-2
- Perl 5.22 rebuild
2014-12-18 15:32:38 +00:00
* Thu Dec 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-1
- 1.12 bump
- Modernize spec file
2014-08-27 16:44:36 +00:00
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-12
- Perl 5.20 rebuild
* 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
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-18 10:35:41 +00:00
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.11-9
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-11 21:52:43 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.11-6
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-20 16:13:17 +00:00
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.11-4
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.11-2
- 661697 rebuild for fixing problems with vendorach/lib
2010-06-24 14:07:25 +00:00
* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.11-1
- Upstream released new version
2010-05-02 07:13:03 +00:00
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-6
- Mass rebuild with perl-5.12.0
2009-12-04 02:02:45 +00:00
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-5
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-02-08 03:20:41 +00:00
* Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.09-2
- rebuild for new per
2007-07-02 20:47:54 +00:00
* Sat Jun 30 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.09-1
- Upstream released new version
- New version now includes license information
- Filter out just one of the two Provides for Gearman::Client
* Thu Jun 28 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.08-2
- Filter out double Provides for Gearman::Client
- Change Source0 url
* Mon May 21 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 1.08-1
- Initial import