%{?perl_default_filter} %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Authen::SASL\\)$ %global __requires_exclude %__requires_exclude|^perl\\(IO::Socket::SSL\\)$ Name: perl-Net-SMTPS Version: 0.03 Release: 1%{?dist} Summary: SSL/STARTTLS support for Net::SMTP License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-SMTPS/ Source0: http://www.cpan.org/authors/id/T/TO/TOMO/src/Net-SMTPS-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(base) BuildRequires: perl(Authen::SASL) >= 2.15 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Socket::SSL) >= 1 BuildRequires: perl(MIME::Base64) BuildRequires: perl(Net::Cmd) BuildRequires: perl(Net::Config) BuildRequires: perl(Net::SMTP) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(IO::Socket::INET6) BuildRequires: perl(strict) BuildRequires: perl(Socket) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) BuildRequires: perl(vars) Requires: perl(Authen::SASL) >= 2.15 Requires: perl(IO::Socket::SSL) >= 1 Requires: perl(IO::Socket::INET) Requires: perl(IO::Socket::INET6) Requires: perl(MIME::Base64) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implements a wrapper for Net::SMTP, enabling over-SSL/STARTTLS support. This module inherits all the methods from Net::SMTP. You may use all the friendly options that came bundled with Net::SMTP. You can control the SSL usage with the options of new() constructor method. 'doSSL' option is the switch, and, If you would like to control detailed SSL settings, you can set SSL_* options that are brought from IO::Socket::SSL. Please see the document of IO::Socket::SSL about these options detail. %prep %setup -q -n Net-SMTPS-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Feb 19 2014 David Dick - 0.03-1 - Initial release