|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: perl-POE
|
|
|
|
|
Version: 1.269
|
|
|
|
|
Version: 1.354
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: POE - portable multitasking and networking framework for Perl
|
|
|
|
|
|
|
|
|
@ -7,57 +7,50 @@ Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/POE/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Compress::Zlib) >= 1.33
|
|
|
|
|
BuildRequires: perl(Curses) >= 1.08
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Errno) >= 1.09
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(IO) >= 1.24
|
|
|
|
|
BuildRequires: perl(IO::Handle) >= 1.27
|
|
|
|
|
BuildRequires: perl(IO::Poll) >= 0.01
|
|
|
|
|
BuildRequires: perl(IO::Pty)
|
|
|
|
|
BuildRequires: perl(Event) >= 1.00
|
|
|
|
|
BuildRequires: perl(IO::Pty) >= 1.02
|
|
|
|
|
BuildRequires: perl(LWP) >= 5.79
|
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
|
BuildRequires: perl(IO::Tty)
|
|
|
|
|
BuildRequires: perl(HTTP::Date)
|
|
|
|
|
BuildRequires: perl(HTTP::Request)
|
|
|
|
|
BuildRequires: perl(HTTP::Response)
|
|
|
|
|
BuildRequires: perl(HTTP::Status)
|
|
|
|
|
# POE::Test::Loops unsurprisingly requires POE
|
|
|
|
|
# ...and it's not in EPEL at the moment
|
|
|
|
|
%if 0%{!?perl_bootstrap:1} && ! ( 0%{?rhel} )
|
|
|
|
|
BuildRequires: perl(POE::Test::Loops) >= 1.351
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: perl(Socket) >= 1.7
|
|
|
|
|
BuildRequires: perl(Socket6) >= 0.14
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
|
BuildRequires: perl(Term::Cap) >= 1.09
|
|
|
|
|
BuildRequires: perl(Term::ReadKey) >= 2.21
|
|
|
|
|
BuildRequires: perl(Tk) >= 800.027
|
|
|
|
|
BuildRequires: perl(Time::HiRes) >= 1.59
|
|
|
|
|
BuildRequires: perl(URI) >= 1.30
|
|
|
|
|
# waiting for update BZ#194521
|
|
|
|
|
#BuildRequires: perl(Gtk) >= 0.7009
|
|
|
|
|
# test
|
|
|
|
|
BuildRequires: perl(Test::Harness) >= 2.26
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(Storable) >= 2.16
|
|
|
|
|
BuildRequires: perl(Errno) >= 1.09
|
|
|
|
|
BuildRequires: perl(IO::Handle) >= 1.27
|
|
|
|
|
BuildRequires: perl(Socket) >= 1.7
|
|
|
|
|
BuildRequires: perl(IO::Tty) >= 1.08
|
|
|
|
|
BuildRequires: perl(POE::Test::Loops) >= 1.022
|
|
|
|
|
BuildRequires: perl(POSIX) >= 1.02
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.87
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(Test::Harness) >= 2.26
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
|
|
|
|
|
Requires: perl(Compress::Zlib)
|
|
|
|
|
Requires: perl(Event)
|
|
|
|
|
Requires: perl(IO::Pty)
|
|
|
|
|
Requires: perl(Socket6)
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(Errno) >= 1.09
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
|
Requires: perl(File::Spec) >= 0.87
|
|
|
|
|
Requires: perl(IO::Handle) >= 1.27
|
|
|
|
|
Requires: perl(IO::Tty) >= 1.08
|
|
|
|
|
Requires: perl(POE::Test::Loops) >= 1.022
|
|
|
|
|
Requires: perl(POSIX) >= 1.02
|
|
|
|
|
Requires: perl(Socket) >= 1.7
|
|
|
|
|
Requires: perl(Storable) >= 2.16
|
|
|
|
|
Requires: perl(IO::Tty)
|
|
|
|
|
Requires: perl(Socket)
|
|
|
|
|
Requires: perl(Socket6)
|
|
|
|
|
Requires: perl(Storable)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -74,38 +67,27 @@ to other event loops such as Event and the Tk and Gtk toolkits.
|
|
|
|
|
POE is written in layers, each building upon the previous. It's therefore
|
|
|
|
|
possible to use POE at varying levels of abstraction.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n POE-%{version}
|
|
|
|
|
|
|
|
|
|
# make rpmlint happy...
|
|
|
|
|
chmod -c -x examples/*
|
|
|
|
|
find t/ -type f -exec chmod -c -x {} +
|
|
|
|
|
find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} +
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
|
|
|
|
|
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor --default
|
|
|
|
|
# yah. don't do the network tests
|
|
|
|
|
%{?!_with_network_tests: rm run_network_tests }
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# these tests fails under plague. Not quite sure why....
|
|
|
|
|
mv t/90_regression/rt1648-tied-stderr.t .
|
|
|
|
|
|
|
|
|
|
# enable POD tests
|
|
|
|
|
#export POE_TEST_POD=1
|
|
|
|
|
|
|
|
|
@ -115,20 +97,32 @@ mv t/90_regression/rt1648-tied-stderr.t .
|
|
|
|
|
# Reported upstream at http://rt.cpan.org/Public/Bug/Display.html?id=19878
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
mv rt1648-tied-stderr.t t/90_regression/
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc CHANGES HISTORY README examples/ TODO t/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 15 2013 Petr Šabata <contyk@redhat.com> - 1.354-1
|
|
|
|
|
- Update to 1.354 (#961296)
|
|
|
|
|
- Do some minor cleanup
|
|
|
|
|
|
|
|
|
|
* Sun Jun 27 2010 Steve Traylen <steve.traylen@cern.ch> - 1.289-3
|
|
|
|
|
- Add back perl(POE::Test::Loops) br and enable testing.
|
|
|
|
|
|
|
|
|
|
* Wed Jun 23 2010 Steve Traylen <steve.traylen@cern.ch> - 1.289-2
|
|
|
|
|
- Remove perl(POE::Test::Loops) and testing for build loop.
|
|
|
|
|
|
|
|
|
|
* Tue Jun 8 2010 Petr Pisar <ppisar@redhat.com> - 1.289-1
|
|
|
|
|
- 1.289 bump
|
|
|
|
|
- Reenable t/90_regression/rt1648-tied-stderr.t test
|
|
|
|
|
|
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.269-3
|
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.269-2
|
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
|
|
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.269-1
|
|
|
|
|
- update filtering...
|
|
|
|
|
- auto-update to 1.269 (by cpan-spec-update 0.01)
|
|
|
|
|