# Perform optional tests %bcond_without perl_POE_Component_Client_SMTP_enables_optional_test Name: perl-POE-Component-Client-SMTP Version: 0.22 Release: 37%{?dist} Summary: Asynchronous mail sending with POE License: GPL+ or Artistic URL: https://metacpan.org/release/POE-Component-Client-SMTP Source0: https://cpan.metacpan.org/authors/id/U/UL/ULTRADM/POE-Component-Client-SMTP-%{version}.tar.gz # Do not use /usr/bin/env in shebangs Patch0: POE-Component-Client-SMTP-0.22-Normalize-shebangs.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) # MIME::Base64 not used at tests BuildRequires: perl(POE) >= 0.31 BuildRequires: perl(POE::Filter::Line) BuildRequires: perl(POE::Filter::Stream) BuildRequires: perl(POE::Filter::Transparent::SMTP) >= 0.2 BuildRequires: perl(POE::Wheel::ReadWrite) BuildRequires: perl(POE::Wheel::SocketFactory) BuildRequires: perl(Socket) BuildRequires: perl(strict) BuildRequires: perl(Symbol) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(lib) BuildRequires: perl(POE::Component::Server::TCP) BuildRequires: perl(POE::Wheel::ListenAccept) BuildRequires: perl(Test::More) %if %{with perl_POE_Component_Client_SMTP_enables_optional_test} # Optional tests: BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(POE) >= 0.31 Requires: perl(POE::Filter::Transparent::SMTP) >= 0.2 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((POE|POE::Filter::Transparent::SMTP)\\)$ %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} %patch0 -p1 chmod -x LICENSE README Changes COPYING TODO eg/* %build perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %license LICENSE COPYING %doc README Changes TODO eg %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.22-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.22-36 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.22-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.22-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.22-33 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.22-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.22-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.22-30 - Perl 5.32 rebuild * Thu Feb 06 2020 Petr Pisar - 0.22-29 - Specify all dependencies * Thu Jan 30 2020 Fedora Release Engineering - 0.22-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.22-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.22-26 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.22-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.22-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.22-23 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.22-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.22-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.22-20 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.22-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.22-18 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.22-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 26 2016 Yanko Kaneti - Remove defattr. Use license. * Thu Jun 18 2015 Fedora Release Engineering - 0.22-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.22-15 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 0.22-14 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.22-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.22-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 23 2013 Petr Pisar - 0.22-11 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.22-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.22-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 0.22-8 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.22-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 0.22-6 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.22-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.22-4 - 661697 rebuild for fixing problems with vendorach/lib * Thu May 06 2010 Marcela Maslanova - 0.22-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.22-2 - rebuild against perl 5.10.1 * Wed Sep 2 2009 Yanko Kaneti - 0.22-1 - New upstream release * Sun Jul 26 2009 Fedora Release Engineering - 0.21-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jun 26 2009 Yanko Kaneti - 0.21-5 - Must own everyting under %%{perl_vendorlib} * 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