Name: perl-POE-Component-Client-SMTP Version: 0.21 Release: 4%{?dist} Summary: Asynchronous mail sending with POE Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/POE-Component-Client-SMTP/ Source0: http://search.cpan.org/CPAN/authors/id/U/UL/ULTRADM/POE-Component-Client-SMTP-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(POE) >= 0.31 BuildRequires: perl(POE::Filter::Transparent::SMTP) # tests... BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description POE::Component::Client::SMTP allows you to send email messages in an asynchronous manner, using POE. %prep %setup -q -n POE-Component-Client-SMTP-%{version} chmod -x LICENSE README Changes COPYING TODO eg/* %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} -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README Changes COPYING TODO eg %{perl_vendorlib}/POE/Component/Client/* %{_mandir}/man3/*.3* %changelog * Sat Jun 6 2009 Yanko Kaneti - 0.21-4 - Implement review feedback from Mamoru Tasaka https://bugzilla.redhat.com/show_bug.cgi?id=495885#c4 - Do not own %%{perl_vendorlib}/POE + Component + Client - Drop explicit perl , sed BR - Use perl instead of %%{__perl} * Mon Apr 20 2009 Yanko Kaneti 0.21-3 - Add eg/ to the installed documentation * Sun Apr 19 2009 Yanko Kaneti 0.21-2 - Remove executable bits from doc files * Wed Apr 15 2009 Yanko Kaneti 0.21-1 - First attempt at packaging. based on perl-POE-Component-Client-HTTP spec