Name: perl-POE-Component-Pluggable Version: 1.24 Release: 1%{?dist} # lib/POE/Component/Pluggable.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: A base class for creating plugin-enabled POE components Source: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/POE-Component-Pluggable-%{version}.tar.gz Url: http://search.cpan.org/dist/POE-Component-Pluggable BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(constant) >= 1.17 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(POE) >= 1.004 BuildRequires: perl(Task::Weaken) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(POE) >= 1.004 %{?perl_default_filter} %description POE::Component::Pluggable is a base class for creating plugin enabled POE Components. It is a generic port of POE::Component::IRC's plugin system. If your component dispatches events to registered POE sessions, then POE::Component::Pluggable may be a good fit for you. %prep %setup -q -n POE-Component-Pluggable-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} 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 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes examples/ README LICENSE %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Mon Aug 31 2009 Chris Weyl 1.24-1 - submission * Mon Aug 31 2009 Chris Weyl 1.24-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)