[5803] | 1 | Name: perl-POE |
---|
| 2 | Version: 1.350 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: POE - portable multitasking and networking framework for Perl |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/POE/ |
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz |
---|
| 10 | BuildArch: noarch |
---|
| 11 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 12 | |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(Compress::Zlib) >= 1.33 |
---|
| 15 | BuildRequires: perl(Curses) >= 1.08 |
---|
| 16 | BuildRequires: perl(Data::Dumper) |
---|
| 17 | BuildRequires: perl(Errno) >= 1.09 |
---|
| 18 | BuildRequires: perl(Exporter) |
---|
| 19 | BuildRequires: perl(File::Spec) >= 0.87 |
---|
| 20 | BuildRequires: perl(IO) >= 1.24 |
---|
| 21 | BuildRequires: perl(IO::Handle) >= 1.27 |
---|
| 22 | BuildRequires: perl(IO::Poll) >= 0.01 |
---|
| 23 | BuildRequires: perl(IO::Pty) >= 1.02 |
---|
| 24 | BuildRequires: perl(IO::Socket) |
---|
| 25 | BuildRequires: perl(IO::Tty) >= 1.08 |
---|
| 26 | BuildRequires: perl(HTTP::Date) |
---|
| 27 | BuildRequires: perl(HTTP::Request) |
---|
| 28 | BuildRequires: perl(HTTP::Response) |
---|
| 29 | BuildRequires: perl(HTTP::Status) |
---|
| 30 | BuildRequires: perl(POE::Test::Loops) >= 1.350 |
---|
| 31 | BuildRequires: perl(Socket) >= 1.7 |
---|
| 32 | BuildRequires: perl(Socket6) >= 0.14 |
---|
| 33 | BuildRequires: perl(Storable) >= 2.16 |
---|
| 34 | BuildRequires: perl(Term::Cap) >= 1.09 |
---|
| 35 | BuildRequires: perl(Term::ReadKey) >= 2.21 |
---|
| 36 | BuildRequires: perl(Time::HiRes) >= 1.59 |
---|
| 37 | BuildRequires: perl(URI) >= 1.30 |
---|
| 38 | # test |
---|
| 39 | BuildRequires: perl(Test::Harness) >= 2.26 |
---|
| 40 | BuildRequires: perl(Test::More) |
---|
| 41 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 42 | BuildRequires: perl(Test::Pod::Coverage) >= 1.08 |
---|
| 43 | |
---|
| 44 | Requires: perl(Compress::Zlib) |
---|
| 45 | Requires: perl(Data::Dumper) |
---|
| 46 | Requires: perl(Errno) >= 1.09 |
---|
| 47 | Requires: perl(Exporter) |
---|
| 48 | Requires: perl(File::Spec) >= 0.87 |
---|
| 49 | Requires: perl(IO::Handle) >= 1.27 |
---|
| 50 | Requires: perl(IO::Pty) |
---|
| 51 | Requires: perl(IO::Tty) >= 1.08 |
---|
| 52 | Requires: perl(POSIX) >= 1.02 |
---|
| 53 | Requires: perl(Socket) >= 1.7 |
---|
| 54 | Requires: perl(Socket6) >= 0.14 |
---|
| 55 | Requires: perl(Storable) >= 2.16 |
---|
| 56 | |
---|
| 57 | %{?perl_default_filter} |
---|
| 58 | |
---|
| 59 | %description |
---|
| 60 | POE is a framework for cooperative, event driven multitasking in Perl. |
---|
| 61 | Other languages have similar frameworks. Python has Twisted. TCL has "the |
---|
| 62 | event loop". |
---|
| 63 | |
---|
| 64 | POE originally was developed as the core of a persistent object server and |
---|
| 65 | runtime environment. It has evolved into a general purpose multitasking |
---|
| 66 | and networking framework, encompassing and providing a consistent interface |
---|
| 67 | to other event loops such as Event and the Tk and Gtk toolkits. |
---|
| 68 | |
---|
| 69 | POE is written in layers, each building upon the previous. It's therefore |
---|
| 70 | possible to use POE at varying levels of abstraction. |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %prep |
---|
| 74 | %setup -q -n POE-%{version} |
---|
| 75 | # make rpmlint happy... |
---|
| 76 | chmod -c -x examples/* |
---|
| 77 | find t/ -type f -exec chmod -c -x {} + |
---|
| 78 | find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} + |
---|
| 79 | |
---|
| 80 | %build |
---|
| 81 | %{__perl} Makefile.PL INSTALLDIRS=vendor --default |
---|
| 82 | # yah. don't do the network tests |
---|
| 83 | %{?!_with_network_tests: rm run_network_tests } |
---|
| 84 | make %{?_smp_mflags} |
---|
| 85 | |
---|
| 86 | %install |
---|
| 87 | rm -rf %{buildroot} |
---|
| 88 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 89 | find %{buildroot} -type f -name .packlist -exec rm -f {} + |
---|
| 90 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 91 | %{_fixperms} %{buildroot}/* |
---|
| 92 | |
---|
| 93 | %check |
---|
| 94 | # enable POD tests |
---|
| 95 | #export POE_TEST_POD=1 |
---|
| 96 | # note that there are currently a number of tests that throw errors, but do |
---|
| 97 | # not fail nor cause the build/suite to fail. For now just please be aware |
---|
| 98 | # that there will be some noisy output as the tests are run. |
---|
| 99 | # Reported upstream at http://rt.cpan.org/Public/Bug/Display.html?id=19878 |
---|
| 100 | make test |
---|
| 101 | |
---|
| 102 | %files |
---|
| 103 | %doc CHANGES HISTORY README examples/ TODO t/ |
---|
| 104 | %{perl_vendorlib}/* |
---|
| 105 | %{_mandir}/man3/*.3* |
---|
| 106 | |
---|
| 107 | %changelog |
---|
| 108 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.350-1 |
---|
| 109 | - initial build for Vine Linux |
---|
| 110 | |
---|
| 111 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.350-2 |
---|
| 112 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 113 | |
---|
| 114 | * Wed Dec 21 2011 Petr Šabata <contyk@redhat.com> - 1.350-1 |
---|
| 115 | - 1.350 bump |
---|
| 116 | - Remove Buildroot and defattr |
---|
| 117 | |
---|
| 118 | * Mon Aug 01 2011 Petr Sabata <contyk@redhat.com> - 1.312-1 |
---|
| 119 | - 1.312 bump |
---|
| 120 | - Deps updated |
---|
| 121 | |
---|
| 122 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.289-5 |
---|
| 123 | - Perl mass rebuild |
---|
| 124 | |
---|
| 125 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.289-4 |
---|
| 126 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 127 | |
---|
| 128 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.289-3 |
---|
| 129 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 130 | |
---|
| 131 | * Sun Sep 12 2010 Iain Arnell <iarnell@gmail.com> 1.289-2 |
---|
| 132 | - doesn't require POE::Test::Loops (RHBZ#632855) |
---|
| 133 | |
---|
| 134 | * Tue Jun 8 2010 Petr Pisar <ppisar@redhat.com> - 1.289-1 |
---|
| 135 | - 1.289 bump |
---|
| 136 | - Reenable t/90_regression/rt1648-tied-stderr.t test |
---|
| 137 | |
---|
| 138 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.269-3 |
---|
| 139 | - Mass rebuild with perl-5.12.0 |
---|
| 140 | |
---|
| 141 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.269-2 |
---|
| 142 | - rebuild against perl 5.10.1 |
---|
| 143 | |
---|
| 144 | * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.269-1 |
---|
| 145 | - update filtering... |
---|
| 146 | - auto-update to 1.269 (by cpan-spec-update 0.01) |
---|
| 147 | - added a new br on perl(Module::Build) |
---|
| 148 | - altered br on perl(POE::Test::Loops) (1.021 => 1.022) |
---|
| 149 | - altered req on perl(POE::Test::Loops) (1.021 => 1.022) |
---|
| 150 | |
---|
| 151 | * Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.007-1 |
---|
| 152 | - auto-update to 1.007 (by cpan-spec-update 0.01) |
---|
| 153 | |
---|
| 154 | * Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.007-1 |
---|
| 155 | - auto-update to 1.007 (by cpan-spec-update 0.01) |
---|
| 156 | - altered br on perl(POE::Test::Loops) (1.004 => 1.021) |
---|
| 157 | - added a new req on perl(Carp) (version 0) |
---|
| 158 | - added a new req on perl(Errno) (version 1.09) |
---|
| 159 | - added a new req on perl(Exporter) (version 0) |
---|
| 160 | - added a new req on perl(File::Spec) (version 0.87) |
---|
| 161 | - added a new req on perl(IO::Handle) (version 1.27) |
---|
| 162 | - added a new req on perl(IO::Tty) (version 1.08) |
---|
| 163 | - added a new req on perl(POE::Test::Loops) (version 1.021) |
---|
| 164 | - added a new req on perl(POSIX) (version 1.02) |
---|
| 165 | - added a new req on perl(Socket) (version 1.7) |
---|
| 166 | - added a new req on perl(Storable) (version 2.16) |
---|
| 167 | |
---|
| 168 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.006-2 |
---|
| 169 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 170 | |
---|
| 171 | * Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.006-1 |
---|
| 172 | - auto-update to 1.006 (by cpan-spec-update 0.01) |
---|
| 173 | |
---|
| 174 | * Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.005-1 |
---|
| 175 | - auto-update to 1.005 (by cpan-spec-update 0.01) |
---|
| 176 | - added a new br on perl(Storable) (version 2.16) |
---|
| 177 | - added a new br on perl(Errno) (version 1.09) |
---|
| 178 | - added a new br on perl(IO::Handle) (version 1.27) |
---|
| 179 | - added a new br on perl(Socket) (version 1.7) |
---|
| 180 | - added a new br on perl(IO::Tty) (version 1.08) |
---|
| 181 | - added a new br on perl(POE::Test::Loops) (version 1.004) |
---|
| 182 | - added a new br on perl(POSIX) (version 1.02) |
---|
| 183 | - added a new br on perl(File::Spec) (version 0.87) |
---|
| 184 | - added a new br on perl(Exporter) (version 0) |
---|
| 185 | - added a new br on perl(Test::Harness) (version 2.26) |
---|
| 186 | - added a new br on perl(Carp) (version 0) |
---|
| 187 | |
---|
| 188 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003-2 |
---|
| 189 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 190 | |
---|
| 191 | * Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.003-1 |
---|
| 192 | - update to 1.003 |
---|
| 193 | - filter provides, too |
---|
| 194 | |
---|
| 195 | * Mon Jun 16 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.0002-1 |
---|
| 196 | - update to 1.0002 |
---|
| 197 | |
---|
| 198 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.9999-1 |
---|
| 199 | - update to 0.9999 |
---|
| 200 | - don't filter out POE::Kernel, POE::Loop::Tk (it actually is provided) |
---|
| 201 | |
---|
| 202 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.9989-2 |
---|
| 203 | - rebuild for new perl |
---|
| 204 | |
---|
| 205 | * Sat May 19 2007 Chris Weyl <cweyl@alumni.drew.edu> |
---|
| 206 | - spec cleanups, tweaks |
---|
| 207 | - add t/ to doc |
---|
| 208 | - move away from macroized versioning system |
---|
| 209 | - no rebuild at this point |
---|
| 210 | |
---|
| 211 | * Fri Mar 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.9989-1 |
---|
| 212 | - update to 0.9989 |
---|
| 213 | |
---|
| 214 | * Wed Mar 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.9917-1 |
---|
| 215 | - update to 0.9917. 0.3800-1, below, was never built/released to the wild. |
---|
| 216 | |
---|
| 217 | * Mon Sep 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3800-1 |
---|
| 218 | - update to 0.38. 0.37-1, below, was never built/released to the wild. |
---|
| 219 | |
---|
| 220 | * Mon Sep 11 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3700-1 |
---|
| 221 | - update to 0.37 |
---|
| 222 | - samples/ is now examples/ |
---|
| 223 | - add additional br's: perl(IO::Pty), perl(Test::Pod), |
---|
| 224 | perl(Test::Pod::Coverage) |
---|
| 225 | |
---|
| 226 | * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3601-2 |
---|
| 227 | - bump for mass rebuild |
---|
| 228 | |
---|
| 229 | * Sun Aug 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3601-1 |
---|
| 230 | - update to cpan ver 0.3601 |
---|
| 231 | |
---|
| 232 | * Thu Aug 10 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3600-1 |
---|
| 233 | - update to cpan ver 0.36 |
---|
| 234 | |
---|
| 235 | * Tue Jun 20 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3502-1 |
---|
| 236 | - filter errant provides. Also translate POE::Provides::foo modules to |
---|
| 237 | POE::Provide::foo |
---|
| 238 | - Bump to latest version released |
---|
| 239 | |
---|
| 240 | * Thu Jun 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-2 |
---|
| 241 | - Nix test that was causing build to fail in plague |
---|
| 242 | |
---|
| 243 | * Wed Jun 14 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-1 |
---|
| 244 | - bump release, minor cleanups per review. |
---|
| 245 | |
---|
| 246 | * Fri Jun 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-0 |
---|
| 247 | - Initial spec file for F-E |
---|