forked from pool/perl-AnyEvent
Accepting request 34968 from devel:languages:perl
Copy from devel:languages:perl/perl-AnyEvent based on submit request 34968 from user computersalat OBS-URL: https://build.opensuse.org/request/show/34968 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-AnyEvent?expand=0&rev=1
This commit is contained in:
77
perl-AnyEvent.spec
Normal file
77
perl-AnyEvent.spec
Normal file
@@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package perl-AnyEvent (Version 5.251)
|
||||
#
|
||||
# Copyright (c) 2010 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
|
||||
|
||||
|
||||
Name: perl-AnyEvent
|
||||
Summary: Provide framework for multiple event loops
|
||||
Version: 5.251
|
||||
Release: 1
|
||||
License: Artistic License, GPL
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/perldoc?AnyEvent
|
||||
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl = %{perl_version}
|
||||
Recommends: perl(JSON) >= 2.09
|
||||
Recommends: perl(EV) >= 3.4
|
||||
Recommends: perl(JSON::XS) >= 2.2
|
||||
Recommends: perl(Async::Interrupt) >= 1.0
|
||||
Recommends: perl(Net::SLeay) >= 1.33
|
||||
Recommends: perl(Guard) >= 1.02
|
||||
|
||||
%description
|
||||
Glib, POE, IO::Async, Event... CPAN offers event models by the dozen nowadays. So what is different about AnyEvent?
|
||||
|
||||
Executive Summary: AnyEvent is compatible, AnyEvent is free of policy and AnyEvent is small and efficient.
|
||||
|
||||
First and foremost, AnyEvent is not an event model itself, it only interfaces
|
||||
to whatever event model the main program happens to use, in a pragmatic way.
|
||||
For event models and certain classes of immortals alike, the statement "there
|
||||
can only be one" is a bitter reality: In general, only one event loop can be
|
||||
active at the same time in a process. AnyEvent cannot change this, but it can
|
||||
hide the differences between those event loops.
|
||||
|
||||
Author: Marc Lehmann <schmorp@schmorp.de>
|
||||
|
||||
%prep
|
||||
%setup -n AnyEvent-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
# normally you only need to check for doc files
|
||||
%defattr(-, root, root, 0755)
|
||||
%doc COPYING Changes README
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user