2011-06-11 22:05:46 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2010-07-19 13:09:52 +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-06-11 22:05:46 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: DBI of Event Loop Programming
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/AnyEvent
|
2010-03-16 16:43:45 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2011-06-11 22:05:46 +00:00
|
|
|
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2010-12-03 13:54:29 +00:00
|
|
|
%{perl_requires}
|
2010-03-16 16:43:45 +00:00
|
|
|
BuildRequires: perl-macros
|
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
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%description
|
2011-06-11 22:05:46 +00:00
|
|
|
AnyEvent 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).
|
2010-07-19 13:09:53 +00:00
|
|
|
The interface itself is vaguely similar, but not identical to the Event
|
|
|
|
module.
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%prep
|
2011-06-11 22:05:46 +00:00
|
|
|
%setup -q -n "AnyEvent-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%build
|
2011-06-11 22:05:46 +00:00
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?_smp_flags}
|
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
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
2010-03-16 16:43:45 +00:00
|
|
|
|
|
|
|
%clean
|
2011-06-11 22:05:46 +00:00
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
2010-03-16 16:43:45 +00:00
|
|
|
|
2011-06-11 22:05:46 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorarch}/AE.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/DNS.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Debug.pm
|
|
|
|
%doc %{perl_vendorarch}/AnyEvent/FAQ.pod
|
|
|
|
%{perl_vendorarch}/AnyEvent/Handle.pm
|
|
|
|
%dir %{perl_vendorarch}/AnyEvent/Impl
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Cocoa.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/EV.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Event.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/EventLib.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Glib.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/IOAsync.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Irssi.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/POE.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Perl.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Qt.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Impl/Tk.pm
|
|
|
|
%doc %{perl_vendorarch}/AnyEvent/Intro.pod
|
|
|
|
%{perl_vendorarch}/AnyEvent/Socket.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Strict.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/TLS.pm
|
|
|
|
%{perl_vendorarch}/AnyEvent/Util.pm
|
|
|
|
%dir %{perl_vendorarch}/AnyEvent/Util
|
|
|
|
%{perl_vendorarch}/AnyEvent/Util/idna.pl
|
|
|
|
%{perl_vendorarch}/AnyEvent/Util/uts46data.pl
|
|
|
|
%{perl_vendorarch}/AnyEvent/constants.pl
|
|
|
|
%{perl_vendorarch}
|
|
|
|
%doc %{perl_man3dir}/*.%{perl_man3ext}%{ext_man}
|
2010-03-16 16:43:45 +00:00
|
|
|
|