Name: perl-POE-Component-Syndicator Version: 0.06 Release: 1%{?dist} Summary: POE component base class which implements the Observer pattern License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/POE-Component-Syndicator/ Source0: http://www.cpan.org/authors/id/H/HI/HINRIK/POE-Component-Syndicator-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(constant) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Object::Pluggable) >= 1.29 BuildRequires: perl(Object::Pluggable::Constants) BuildRequires: perl(POE) >= 1.311 # Tests BuildRequires: perl(Test::More) Requires: perl(constant) Requires: perl(Object::Pluggable) >= 1.29 Requires: perl(POE) >= 1.311 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description POE::Component::Syndicator is a base class for POE components which need to handle a persistent resource (e.g. a connection to an IRC server) for one or more sessions in an extendable way. %prep %setup -q -n POE-Component-Syndicator-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes dist.ini LICENSE META.json README xt %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Aug 2 2011 Petr Sabata 0.06-1 - Initial package.