2011-07-05 12:03:10 +00:00
|
|
|
#
|
2011-08-26 08:23:16 +00:00
|
|
|
# spec file for package perl-AnyEvent
|
2011-07-05 12:03:10 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
2011-08-26 08:23:16 +00:00
|
|
|
|
|
|
|
|
2010-03-16 16:43:45 +00:00
|
|
|
Name: perl-AnyEvent
|
2011-06-11 01:39:16 +00:00
|
|
|
Version: 5.34
|
2011-08-26 08:23:16 +00:00
|
|
|
Release: 3
|
2011-08-25 15:44:28 +00:00
|
|
|
License: GPL+ or Artistic
|
|
|
|
%define cpan_name AnyEvent
|
|
|
|
Summary: DBI of event loop programming
|
2010-03-16 16:43:45 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2011-08-25 15:44:28 +00:00
|
|
|
Url: http://search.cpan.org/dist/AnyEvent/
|
|
|
|
Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
|
2011-07-05 12:03:10 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-08-25 15:44:28 +00:00
|
|
|
BuildRequires: perl
|
2010-03-16 16:43:45 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-08-25 15:44:28 +00:00
|
|
|
%{perl_requires}
|
2011-08-25 16:00:54 +00:00
|
|
|
%if 0%{?suse_version} > 1010
|
2010-07-19 13:09:53 +00:00
|
|
|
Recommends: perl(Async::Interrupt) >= 1
|
|
|
|
Recommends: perl(EV) >= 3.05
|
|
|
|
Recommends: perl(Guard) >= 1.02
|
2010-03-16 16:43:45 +00:00
|
|
|
Recommends: perl(JSON) >= 2.09
|
|
|
|
Recommends: perl(JSON::XS) >= 2.2
|
2010-07-19 13:09:53 +00:00
|
|
|
Recommends: perl(Net::SSLeay) >= 1.33
|
2011-08-22 17:25:48 +00:00
|
|
|
%endif
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%description
|
2011-08-25 15:44:28 +00:00
|
|
|
the AnyEvent manpage provides a uniform interface to various event loops.
|
|
|
|
This allows module authors to use event loop functionality without forcing
|
|
|
|
module users to use a specific event loop implementation (since more than
|
|
|
|
one event loop cannot coexist peacefully).
|
|
|
|
|
|
|
|
The interface itself is vaguely similar, but not identical to the the Event
|
|
|
|
manpage module.
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%prep
|
2011-08-25 15:44:28 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%build
|
2011-08-25 15:44:28 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%install
|
2010-07-19 13:09:53 +00:00
|
|
|
%perl_make_install
|
2011-06-11 22:05:46 +00:00
|
|
|
%perl_process_packlist
|
2011-08-25 15:44:28 +00:00
|
|
|
%perl_gen_filelist
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%clean
|
2011-08-25 15:44:28 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes COPYING README util
|
2010-03-16 16:43:45 +00:00
|
|
|
|
2011-07-05 12:03:10 +00:00
|
|
|
%changelog
|