8
0
forked from pool/perl-AnyEvent

Accepting request 43298 from devel:languages:perl

checked in (request 43298)

OBS-URL: https://build.opensuse.org/request/show/43298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-AnyEvent?expand=0&rev=14
This commit is contained in:
OBS User autobuild
2010-07-19 13:09:52 +00:00
committed by Git OBS Bridge
parent 889b53ef22
commit aaf3a7e65f
4 changed files with 33 additions and 49 deletions

3
AnyEvent-5.261.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83b3fe410e7c20271edb76806309821a7da8eabd3f3707e7eca2aaa28d0c4e28
size 170969

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:789ea641a7ac038c9a3c7f1801927e488c5f71cfd46dae208d484f8d4166e13b
size 171883

View File

@@ -1,18 +1,3 @@
-------------------------------------------------------------------
Tue Jul 6 08:39:05 UTC 2010 - chris@computersalat.de
- update to 5.271
- backport to perl 5.8.x.
- 5.27 Sun Jun 6 12:12:05 CEST 2010
- postpone differently in AnyEvent::Socket now, as
when not, canceling the connection attempt might fail
(found by Felix Antonius Wilhelm Ostmann).
- explicitly check for non-stream sockets in AE::Handle, too many
clueless people fell into the trap of this somehow working.
- simplified and reworked the "OTHER MODULES" section.
- better/more condvar examples.
- spec created by cpanspec 1.78
-------------------------------------------------------------------
Wed May 5 13:51:49 UTC 2010 - lnussel@suse.de

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-AnyEvent (Version 5.271)
# spec file for package perl-AnyEvent (Version 5.261)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,64 +17,63 @@
# norootforbuild
Name: perl-AnyEvent
Summary: DBI of event loop programming
Version: 5.271
Summary: Provide framework for multiple event loops
Version: 5.261
Release: 1
License: Artistic License, GPL
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/AnyEvent/
#Source: http://www.cpan.org/modules/by-module/AnyEvent/AnyEvent-%{version}.tar.gz
Source: AnyEvent-%{version}.tar.bz2
BuildArch: noarch
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
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
#
Requires: perl = %{perl_version}
Recommends: perl(Async::Interrupt) >= 1
Recommends: perl(EV) >= 3.05
Recommends: perl(Guard) >= 1.02
Recommends: perl(JSON) >= 2.09
Recommends: perl(EV) >= 3.4
Recommends: perl(JSON::XS) >= 2.2
Recommends: perl(Net::SSLeay) >= 1.33
Recommends: perl(Async::Interrupt) >= 1.0
Recommends: perl(Net::SLeay) >= 1.33
Recommends: perl(Guard) >= 1.02
BuildArch: noarch
%description
AnyEvent provides an identical interface to multiple event loops. This
allows module authors to utilise an event loop without forcing module users
to use the same event loop (as only a single event loop can coexist
peacefully at any one time).
Glib, POE, IO::Async, Event... CPAN offers event models by the dozen nowadays. So what is different about AnyEvent?
The interface itself is vaguely similar, but not identical to the Event
module.
Executive Summary: AnyEvent is compatible, AnyEvent is free of policy and AnyEvent is small and efficient.
Author: Marc Lehmann <schmorp@schmorp.de>
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 -q -n AnyEvent-%{version}
%setup -n AnyEvent-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make}
%check
%{__make} test
%install
%perl_make_install
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
make pure_install DESTDIR="%{buildroot}"
find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f
find %{buildroot} -depth -type d -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes COPYING README
# normally you only need to check for doc files
%defattr(-, root, root, 0755)
%doc COPYING Changes README
%changelog