Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37729229
en ru br
ALT Linux repos
S:1.03-alt7
5.0: 1.03-alt1

Group :: Development/Perl
RPM: perl-Event-Lib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#hasher-priv: master: idle time limit (3600 seconds) exceeded
%define _without_test 1

%define dist Event-Lib
Name: perl-%dist
Version: 1.03
Release: alt7

Summary: Perl extentions for event-based programming
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source: %dist-%version.tar.gz
Patch1: Event-Lib-tests-fork.patch

# in 5.16 get_sv("$", FALSE) returns NULL sometimes

# use getpid() call instead
Patch2: Event-Lib-getpid.patch

Patch3: Event-Lib-1.03-libevent_2_1.patch


# Automatically added by buildreq on Tue Oct 11 2011

BuildRequires: libevent-devel perl-Test-Fork perl-Test-Pod perl-Test-Pod-Coverage

%description
This module is a Perl wrapper around libevent(3) as available from
<http://www.monkey.org/~provos/libevent/>.  It allows to execute a function
whenever a given event on a filehandle happens, a timeout occurs or a signal
is received.

%prep
%setup -q -n %dist-%version
%patch1 -p1
%patch2 -p2
%patch3 -p1
if [ %version = 1.03 ]; then
#Known to fail - Upstream emailed
rm t/20_signal.t
rm t/51_cleanup_persistent.t
rm t/90_leak.t
fi

%build
%perl_vendor_build
#OPTIMIZE="$RPM_OPT_FLAGS" INC=-I%{_includedir} LIBS="-L%{_libdir} -levent"

%install
%perl_vendor_install

%files
%doc Changes README
%perl_vendor_archlib/Event
%perl_vendor_autolib/Event

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin