commit a8541a82c79c7fa874e74b356e3bcecb000af8ec Author: David Dick <ddick@xxxxxxxx> Date: Sat Feb 22 09:46:52 2014 +1100 Initial import (#1066842). .gitignore | 1 + perl-Net-SMTPS.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3c92a8e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Net-SMTPS-0.03.tar.gz diff --git a/perl-Net-SMTPS.spec b/perl-Net-SMTPS.spec new file mode 100644 index 0000000..8d7f707 --- /dev/null +++ b/perl-Net-SMTPS.spec @@ -0,0 +1,69 @@ +%{?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 <ddick@xxxxxxxx> - 0.03-1 +- Initial release diff --git a/sources b/sources index e69de29..ce51173 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +599a830e816f53b4b81b8beadc287039 Net-SMTPS-0.03.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel