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

# norootforbuild


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
Source2:        %{name}-%{version}-rpmlintrc
Patch:          Event-1.0-warning.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

    Joshua Nathaniel Pritikin <>

%setup -n Event-%{version}

perl Makefile.PL
%ifnarch ppc64 s390x
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor
rm $RPM_BUILD_ROOT%{perl_vendorarch}/Event.pod


%doc %{_mandir}/man3/Event.3pm.gz
%doc %{_mandir}/man3/Event::MakeMaker.3pm.gz
%doc %{_mandir}/man3/Event::generic.3pm.gz

* Fri Sep 12 2008
- 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
- Update to 1.09 (no real code changes)
* Wed Apr 25 2007
- update to 1.08
  * Add casts to quell warnings as suggested by
  * 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. <>.
  * 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
* Fri Apr 20 2007
- import from 9.2 (needed by iwatch)
* Mon Aug 16 2004
- Update to Event-1.00:
  * c/watcher.c: Check for a missing callback.
  * lib/ Make NO_TIME_HIRES actually work.
  * c/signal.c: iClear signal counter when a signal watcher stops.
- Update to Event-0.88:
  * lib/ 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
- build as user
* Fri Aug 22 2003
- require the perl version we build with
* Mon Jul 14 2003
- 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
- remove unpackaged files from buildroot
* Wed Aug 28 2002
- disabled make test on ppc64 and s390x
* Fri Aug 09 2002
- fixed tracevar_r/w callbacks to work with threaded perl
* Tue Jul 02 2002
- Update to Event-0.86:
  * IRIX/Solaris tweaks
  * Avoid infinite polling loops on some select() implementations
* Thu Jan 17 2002
- Create package perl-Event (0.83)
  It's needed by Perl Object Environment (perl-POE).