%define upstream_name POE-Component-Client-NNTP %define upstream_version 2.22 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Importable constants for POE::Component::Client::NNTP plugins License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/POE/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(POE) BuildRequires: perl(POE::Component::Pluggable) BuildRequires: perl(POE::Component::Pluggable::Constants) BuildRequires: perl(POE::Driver::SysRW) BuildRequires: perl(POE::Filter::Line) BuildRequires: perl(POE::Wheel::ReadWrite) BuildRequires: perl(POE::Wheel::SocketFactory) BuildRequires: perl(Test::More) BuildRequires: perl(Test::POE::Server::TCP) BuildArch: noarch %description POE::Component::Client::NNTP is a POE component that provides non-blocking NNTP access to other components and sessions. NNTP is described in RFC 3977 the http://www.faqs.org/rfcs/rfc3977.html manpage, please read it before doing anything else. In your component or session, you spawn a NNTP client component, assign it an alias, and then send it a 'register' event to start receiving responses from the component. The component takes commands in the form of events and returns the salient responses from the NNTP server. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc README LICENSE Changes META.yml META.json examples %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 2.220.0-2.mga3 + Revision: 371221 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Nov 05 2011 kharec <kharec> 2.220.0-1.mga2 + Revision: 163478 - imported package perl-POE-Component-Client-NNTP