Name: perl-POE-Component-Server-Bayeux Version: 0.02 Release: 1%{?dist} Summary: Bayeux/cometd server implementation in POE License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/POE-Component-Server-Bayeux/ Source0: http://www.cpan.org/modules/by-module/POE/POE-Component-Server-Bayeux-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI::Simple) BuildRequires: perl(Class::Accessor) BuildRequires: perl(Data::UUID) BuildRequires: perl(JSON::Any) BuildRequires: perl(JSON::XS) BuildRequires: perl(Log::Log4perl) BuildRequires: perl(LWP) BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) BuildRequires: perl(POE::Component::Client::HTTP) BuildRequires: perl(POE::Component::Server::HTTP) >= 0.09 BuildRequires: perl(Test::More) BuildRequires: perl(URI) # missed by the autoreq for various reasons Requires: perl(Class::Accessor) Requires: perl(JSON::XS) Requires: perl(POE::Component::Client::HTTP) Requires: perl(LWP) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implements the Bayeux Protocol (1.0draft1) from the Dojo Foundation. Also called cometd, Bayeux is a low-latency routing protocol for JSON encoded events between clients and servers in a publish- subscribe model. %prep %setup -q -n POE-Component-Server-Bayeux-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README htdocs %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jun 30 2009 Yanko Kaneti 0.02-1 - Specfile autogenerated by cpanspec 1.78. Requires tuning.