File perl-Event.spec of Package perl-Event
#
# spec file for package perl-Event (Version 1.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://www.cpan.org/authors/id/JPRIT/
Name: perl-Event
License: Artistic License
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Event Loop Processing (Perl module)
Version: 1.11
Release: 1
Source: http://www.cpan.org/authors/id/JPRIT/Event-%{version}.tar.bz2
Source2: %{name}-%{version}-rpmlintrc
Patch: Event-1.0-warning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Event - A Generic Perl Event Loop
This extension aims to provide an simple and optimized event loop for a
broad class of applications.
Available via http://www.perl.com/CPAN/authors/id/JPRIT/
Authors:
--------
Joshua Nathaniel Pritikin <jpritikin@pobox.com>
%prep
%setup -n Event-%{version}
%patch
%build
perl Makefile.PL
make
%ifnarch ppc64 s390x
make test
%endif
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
rm $RPM_BUILD_ROOT%{perl_vendorarch}/Event.pod
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{perl_vendorarch}/auto/Event
%{perl_vendorarch}/Event
%{perl_vendorarch}/Event.pm
%doc %{_mandir}/man3/Event.3pm.gz
%doc %{_mandir}/man3/Event::MakeMaker.3pm.gz
%doc %{_mandir}/man3/Event::generic.3pm.gz
%doc MANIFEST README TODO ANNOUNCE Tutorial.pdf
/var/adm/perl-modules/%{name}
%changelog
* Fri Sep 12 2008 garloff@suse.de
- Update to 1.11:
* bugfix in db_show_timeables
* times are now using NV type
* Moved idle2 testcase to demos
* io testcase fixed for Darwin
* Tue Jul 17 2007 garloff@suse.de
- Update to 1.09 (no real code changes)
* Wed Apr 25 2007 ro@suse.de
- update to 1.08
* Add casts to quell warnings as suggested by JDHEDDEN@cpan.org.
* Marc Lehmann suggests using mg_ptr instead
of mg_obj. Sounds good to me.
* Fix 64 bit issue. Encouraged by Eric Rybski
* Fix ancient memory leak in loop() noticed by Nikita Savin
* Preliminary /dev/poll support from Michael Pergament
As of yet, there is no config test to
turn on this code. Patches welcome.
* Apply Win32 patch from Graciliano M. P. <gmpowers@terra.com.br>.
* Generic watchers: implementation, documentation, and tests.
* Documentation refinements.
* Event.xs: Due to popular demand, queue_pending() is now a public
API, for better or worse. Beware of race conditions.
* A var watcher can currently be created with no variable to
watch, provided of course that it is parked. However, once a
variable has been set, the watcher cannot be returned to the
no-variable state. The variable to watch can be changed, but the
watcher rejects any attempt to set the reference to undef.
* Applied a patch to allow the variable reference of a var watcher
to be set to undef.
* Applied patch to clarify the documentation (with tweaks from
Joshua).
* Fri Apr 20 2007 ro@suse.de
- import from 9.2 (needed by iwatch)
* Mon Aug 16 2004 garloff@suse.de
- Update to Event-1.00:
* c/watcher.c: Check for a missing callback.
* lib/Event.pm: Make NO_TIME_HIRES actually work.
* c/signal.c: iClear signal counter when a signal watcher stops.
- Update to Event-0.88:
* lib/Event.pm: Simplify hooking into Time::HiRes.
* Event.xs: Remove U2time. Remove install_time_api().
* Various Event docu updates.
* c/watcher.c: Fix SEGV reported by Zefram; add test.
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 14 2003 garloff@suse.de
- Install into %%perl_vendorlib, _vendorarch, use _process_packlist.
- Update to Event-0.87:
Fix tracevar_r, tracevar_w delcarations.
(Fix was in SuSE patch before.)
* Mon May 26 2003 ro@suse.de
- remove unpackaged files from buildroot
* Wed Aug 28 2002 prehak@suse.cz
- disabled make test on ppc64 and s390x
* Fri Aug 09 2002 mls@suse.de
- fixed tracevar_r/w callbacks to work with threaded perl
* Tue Jul 02 2002 garloff@suse.de
- Update to Event-0.86:
* IRIX/Solaris tweaks
* Avoid infinite polling loops on some select() implementations
* Thu Jan 17 2002 garloff@suse.de
- Create package perl-Event (0.83)
It's needed by Perl Object Environment (perl-POE).