File perl-AnyEvent.spec of Package perl-AnyEvent
#
# spec file for package perl-AnyEvent (Version 5.271)
#
# 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: DBI of event loop programming
Version: 5.271
Release: 2
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
#
Recommends: perl(Async::Interrupt) >= 1
Recommends: perl(EV) >= 3.05
Recommends: perl(Guard) >= 1.02
Recommends: perl(JSON) >= 2.09
Recommends: perl(JSON::XS) >= 2.2
Recommends: perl(Net::SSLeay) >= 1.33
%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).
The interface itself is vaguely similar, but not identical to the Event
module.
Author: Marc Lehmann <schmorp@schmorp.de>
%prep
%setup -q -n AnyEvent-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%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
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes COPYING README
%changelog