# # spec file for package perl-EV # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: perl-EV Version: 4.33 Release: 1.88 License: Artistic-1.0 OR GPL-1.0-or-later %define cpan_name EV Summary: Perl interface to libev, a high performance full-featured event loop URL: https://metacpan.org/release/%{cpan_name} Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml Patch0: ev_iouring.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Canary::Stability) BuildRequires: perl(common::sense) Requires: perl(common::sense) %{perl_requires} %description This module provides an interface to libev (http://software.schmorp.de/pkg/libev.html). While the documentation below is comprehensive, one might also consult the documentation of libev itself (http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod or _perldoc EV::libev_) for more subtle details on watcher semantics or some discussion on the available backends, or how to force a specific backend with 'LIBEV_FLAGS', or just about in any case because it has much more detailed information. This module is very fast and scalable. It is actually so fast that you can use it through the AnyEvent module, stay portable to other event loops (if you don't rely on any watcher types not available through it) and still be faster than with any other event loop currently supported in Perl. %prep %setup -q -n %{cpan_name}-%{version} %patch0 -p0 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %license COPYING %changelog * Thu May 6 2021 Felix Niederwanger - updated to 4.33 see /usr/share/doc/packages/perl-EV/Changes * Wed Apr 28 2021 Felix Niederwanger - Set license to Artistic-1.0 OR GPL-1.0-or-later * Thu Apr 22 2021 Felix Niederwanger - Add missing returns to ev_ioring.c to make it build