2011-08-08 10:14:20 +02:00
|
|
|
#
|
2011-08-11 11:38:48 +02:00
|
|
|
# spec file for package perl-Net-SMTP-SSL
|
2011-08-08 10:14:20 +02:00
|
|
|
#
|
2015-04-15 06:53:29 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-08-08 10:14:20 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-08-11 11:38:48 +02:00
|
|
|
|
2010-06-22 11:08:56 +02:00
|
|
|
Name: perl-Net-SMTP-SSL
|
2015-06-22 07:30:07 +02:00
|
|
|
Version: 1.03
|
2015-04-15 06:53:29 +02:00
|
|
|
Release: 0
|
2011-08-08 10:14:20 +02:00
|
|
|
%define cpan_name Net-SMTP-SSL
|
|
|
|
Summary: SSL support for Net::SMTP
|
2015-04-15 06:53:29 +02:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2010-06-22 11:08:56 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2015-04-15 06:53:29 +02:00
|
|
|
Url: http://search.cpan.org/dist/Net-SMTP-SSL/
|
2015-06-22 07:30:07 +02:00
|
|
|
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2015-04-15 06:53:29 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-19 10:46:43 +02:00
|
|
|
BuildRequires: perl
|
2010-12-03 15:44:44 +01:00
|
|
|
BuildRequires: perl-macros
|
2015-04-15 06:53:29 +02:00
|
|
|
BuildRequires: perl(IO::Socket::SSL)
|
2011-08-08 10:14:20 +02:00
|
|
|
Requires: perl(IO::Socket::SSL)
|
|
|
|
%{perl_requires}
|
2010-06-22 11:08:56 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its
|
2011-08-08 10:14:20 +02:00
|
|
|
network operations. Due to the nature of 'Net::SMTP''s 'new' method, it is
|
|
|
|
not overridden to make use of a default port for the SMTPS service. Perhaps
|
|
|
|
future versions will be smart like that. Port '465' is usually what you
|
|
|
|
want, and it's not a pain to specify that.
|
2010-06-22 11:08:56 +02:00
|
|
|
|
2011-08-08 10:14:20 +02:00
|
|
|
For interface documentation, please see Net::SMTP.
|
2010-06-22 11:08:56 +02:00
|
|
|
|
|
|
|
%prep
|
2011-08-08 10:14:20 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2010-06-22 11:08:56 +02:00
|
|
|
|
|
|
|
%build
|
2011-08-08 10:14:20 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2010-06-22 11:08:56 +02:00
|
|
|
|
2011-08-08 10:14:20 +02:00
|
|
|
%check
|
|
|
|
%{__make} test
|
2010-06-22 11:08:56 +02:00
|
|
|
|
|
|
|
%install
|
2011-08-08 10:14:20 +02:00
|
|
|
%perl_make_install
|
2010-06-22 11:08:56 +02:00
|
|
|
%perl_process_packlist
|
2011-08-08 10:14:20 +02:00
|
|
|
%perl_gen_filelist
|
2010-06-22 11:08:56 +02:00
|
|
|
|
2011-08-08 10:14:20 +02:00
|
|
|
%files -f %{name}.files
|
2015-04-15 06:53:29 +02:00
|
|
|
%defattr(-,root,root,755)
|
2011-08-08 10:14:20 +02:00
|
|
|
%doc Changes README
|
2010-06-22 11:11:14 +02:00
|
|
|
|
2011-08-08 10:14:20 +02:00
|
|
|
%changelog
|