Name: perl-POE-Component-SimpleDBI Version: 1.27 Release: 4%{?dist} Summary: Asynchronous non-blocking DBI calls in POE made simple License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/POE-Component-SimpleDBI/ Source0: http://search.cpan.org/CPAN/authors/id/A/AP/APOCAL/POE-Component-SimpleDBI-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # core BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) # cpan BuildRequires: perl(DBI) >= 1.30 BuildRequires: perl(Error) >= 0.15 BuildRequires: perl(POE) >= 0.20 # test BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) ### auto-added brs! BuildRequires: perl(POE::Filter::Reference) BuildRequires: perl(POE::Wheel::Run) BuildRequires: perl(POE::Session) BuildRequires: perl(POE::Filter::Line) %description This module works its magic by creating a new session with POE, then spawning off a child process to do the "heavy" lifting. That way, your main POE process can continue servicing other clients. Queries are put into a queue, and processed one at a time. %prep %setup -q -n POE-Component-SimpleDBI-%{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 README examples/ t/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.27-3 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu May 21 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.27-1 - auto-update to 1.27 (by cpan-spec-update 0.01) - added a new br on perl(POE::Filter::Reference) (version 0) - added a new br on perl(POE::Wheel::Run) (version 0) - added a new br on perl(POE::Session) (version 0) - added a new br on perl(POE::Filter::Line) (version 0) * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.18-2 Rebuild for new perl * Thu Dec 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.18-1 - update to 1.18 * Sun Jun 03 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.16-1 - update to 1.16 - add t/ to doc - spec rework for the once and future perl split * Fri Sep 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.15-1 - update to 1.15 * Mon Sep 18 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.14-1 - update to 1.14 - added examples/ to %%doc - add br perl(Test::Pod) for pod tests * Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.12-2 - bump * Fri Aug 25 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.12-1 - Specfile autogenerated by cpanspec 1.69.1.