1 | Name: perl-POE |
---|
2 | Version: 1.350 |
---|
3 | Release: 2%{?_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 | * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.350-2 |
---|
109 | - build with Perl 5.16 |
---|
110 | |
---|
111 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.350-1 |
---|
112 | - initial build for Vine Linux |
---|
113 | |
---|
114 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.350-2 |
---|
115 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
116 | |
---|
117 | * Wed Dec 21 2011 Petr Šabata <contyk@redhat.com> - 1.350-1 |
---|
118 | - 1.350 bump |
---|
119 | - Remove Buildroot and defattr |
---|
120 | |
---|
121 | * Mon Aug 01 2011 Petr Sabata <contyk@redhat.com> - 1.312-1 |
---|
122 | - 1.312 bump |
---|
123 | - Deps updated |
---|
124 | |
---|
125 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.289-5 |
---|
126 | - Perl mass rebuild |
---|
127 | |
---|
128 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.289-4 |
---|
129 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
130 | |
---|
131 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.289-3 |
---|
132 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
133 | |
---|
134 | * Sun Sep 12 2010 Iain Arnell <iarnell@gmail.com> 1.289-2 |
---|
135 | - doesn't require POE::Test::Loops (RHBZ#632855) |
---|
136 | |
---|
137 | * Tue Jun 8 2010 Petr Pisar <ppisar@redhat.com> - 1.289-1 |
---|
138 | - 1.289 bump |
---|
139 | - Reenable t/90_regression/rt1648-tied-stderr.t test |
---|
140 | |
---|
141 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.269-3 |
---|
142 | - Mass rebuild with perl-5.12.0 |
---|
143 | |
---|
144 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.269-2 |
---|
145 | - rebuild against perl 5.10.1 |
---|
146 | |
---|
147 | * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.269-1 |
---|
148 | - update filtering... |
---|
149 | - auto-update to 1.269 (by cpan-spec-update 0.01) |
---|
150 | - added a new br on perl(Module::Build) |
---|
151 | - altered br on perl(POE::Test::Loops) (1.021 => 1.022) |
---|
152 | - altered req on perl(POE::Test::Loops) (1.021 => 1.022) |
---|
153 | |
---|
154 | * Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.007-1 |
---|
155 | - auto-update to 1.007 (by cpan-spec-update 0.01) |
---|
156 | |
---|
157 | * Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.007-1 |
---|
158 | - auto-update to 1.007 (by cpan-spec-update 0.01) |
---|
159 | - altered br on perl(POE::Test::Loops) (1.004 => 1.021) |
---|
160 | - added a new req on perl(Carp) (version 0) |
---|
161 | - added a new req on perl(Errno) (version 1.09) |
---|
162 | - added a new req on perl(Exporter) (version 0) |
---|
163 | - added a new req on perl(File::Spec) (version 0.87) |
---|
164 | - added a new req on perl(IO::Handle) (version 1.27) |
---|
165 | - added a new req on perl(IO::Tty) (version 1.08) |
---|
166 | - added a new req on perl(POE::Test::Loops) (version 1.021) |
---|
167 | - added a new req on perl(POSIX) (version 1.02) |
---|
168 | - added a new req on perl(Socket) (version 1.7) |
---|
169 | - added a new req on perl(Storable) (version 2.16) |
---|
170 | |
---|
171 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.006-2 |
---|
172 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
173 | |
---|
174 | * Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.006-1 |
---|
175 | - auto-update to 1.006 (by cpan-spec-update 0.01) |
---|
176 | |
---|
177 | * Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.005-1 |
---|
178 | - auto-update to 1.005 (by cpan-spec-update 0.01) |
---|
179 | - added a new br on perl(Storable) (version 2.16) |
---|
180 | - added a new br on perl(Errno) (version 1.09) |
---|
181 | - added a new br on perl(IO::Handle) (version 1.27) |
---|
182 | - added a new br on perl(Socket) (version 1.7) |
---|
183 | - added a new br on perl(IO::Tty) (version 1.08) |
---|
184 | - added a new br on perl(POE::Test::Loops) (version 1.004) |
---|
185 | - added a new br on perl(POSIX) (version 1.02) |
---|
186 | - added a new br on perl(File::Spec) (version 0.87) |
---|
187 | - added a new br on perl(Exporter) (version 0) |
---|
188 | - added a new br on perl(Test::Harness) (version 2.26) |
---|
189 | - added a new br on perl(Carp) (version 0) |
---|
190 | |
---|
191 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003-2 |
---|
192 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
193 | |
---|
194 | * Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.003-1 |
---|
195 | - update to 1.003 |
---|
196 | - filter provides, too |
---|
197 | |
---|
198 | * Mon Jun 16 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.0002-1 |
---|
199 | - update to 1.0002 |
---|
200 | |
---|
201 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.9999-1 |
---|
202 | - update to 0.9999 |
---|
203 | - don't filter out POE::Kernel, POE::Loop::Tk (it actually is provided) |
---|
204 | |
---|
205 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.9989-2 |
---|
206 | - rebuild for new perl |
---|
207 | |
---|
208 | * Sat May 19 2007 Chris Weyl <cweyl@alumni.drew.edu> |
---|
209 | - spec cleanups, tweaks |
---|
210 | - add t/ to doc |
---|
211 | - move away from macroized versioning system |
---|
212 | - no rebuild at this point |
---|
213 | |
---|
214 | * Fri Mar 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.9989-1 |
---|
215 | - update to 0.9989 |
---|
216 | |
---|
217 | * Wed Mar 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.9917-1 |
---|
218 | - update to 0.9917. 0.3800-1, below, was never built/released to the wild. |
---|
219 | |
---|
220 | * Mon Sep 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3800-1 |
---|
221 | - update to 0.38. 0.37-1, below, was never built/released to the wild. |
---|
222 | |
---|
223 | * Mon Sep 11 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3700-1 |
---|
224 | - update to 0.37 |
---|
225 | - samples/ is now examples/ |
---|
226 | - add additional br's: perl(IO::Pty), perl(Test::Pod), |
---|
227 | perl(Test::Pod::Coverage) |
---|
228 | |
---|
229 | * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3601-2 |
---|
230 | - bump for mass rebuild |
---|
231 | |
---|
232 | * Sun Aug 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3601-1 |
---|
233 | - update to cpan ver 0.3601 |
---|
234 | |
---|
235 | * Thu Aug 10 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3600-1 |
---|
236 | - update to cpan ver 0.36 |
---|
237 | |
---|
238 | * Tue Jun 20 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3502-1 |
---|
239 | - filter errant provides. Also translate POE::Provides::foo modules to |
---|
240 | POE::Provide::foo |
---|
241 | - Bump to latest version released |
---|
242 | |
---|
243 | * Thu Jun 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-2 |
---|
244 | - Nix test that was causing build to fail in plague |
---|
245 | |
---|
246 | * Wed Jun 14 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-1 |
---|
247 | - bump release, minor cleanups per review. |
---|
248 | |
---|
249 | * Fri Jun 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.3501-0 |
---|
250 | - Initial spec file for F-E |
---|