2011-11-01 12:12:19 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Email-Sender
|
|
|
|
#
|
2024-05-16 12:04:28 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-11-01 12:12:19 +00: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.
|
|
|
|
|
2019-11-29 07:14:52 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-11-01 12:12:19 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-06-29 09:31:07 +00:00
|
|
|
%define cpan_name Email-Sender
|
2011-11-01 12:12:19 +00:00
|
|
|
Name: perl-Email-Sender
|
2024-05-16 12:04:28 +00:00
|
|
|
Version: 2.601.0
|
2011-11-01 12:12:19 +00:00
|
|
|
Release: 0
|
2024-05-16 12:04:28 +00:00
|
|
|
# 2.601 -> normalize -> 2.601.0
|
|
|
|
%define cpan_version 2.601
|
2019-11-29 07:14:52 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-11-08 12:40:50 +00:00
|
|
|
Summary: Library for sending email
|
2020-10-13 09:02:08 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-05-16 12:04:28 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-06-10 10:44:02 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:13:51 +02:00
|
|
|
Source100: README.md
|
2015-04-15 14:33:54 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.08
|
|
|
|
BuildRequires: perl(Email::Abstract) >= 3.006
|
2022-11-08 12:40:50 +00:00
|
|
|
BuildRequires: perl(Email::Address::XS)
|
2015-04-15 14:33:54 +00:00
|
|
|
BuildRequires: perl(Email::Simple) >= 1.998
|
2021-06-29 09:31:07 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
2024-05-16 12:04:28 +00:00
|
|
|
BuildRequires: perl(File::Path) >= 2.06
|
2016-10-05 13:08:50 +00:00
|
|
|
BuildRequires: perl(List::Util) >= 1.45
|
2015-04-15 14:33:54 +00:00
|
|
|
BuildRequires: perl(Module::Runtime)
|
2016-04-19 16:03:58 +00:00
|
|
|
BuildRequires: perl(Moo) >= 2.000000
|
2015-04-15 14:33:54 +00:00
|
|
|
BuildRequires: perl(Moo::Role)
|
|
|
|
BuildRequires: perl(MooX::Types::MooseLike) >= 0.15
|
|
|
|
BuildRequires: perl(MooX::Types::MooseLike::Base)
|
2016-04-19 16:03:58 +00:00
|
|
|
BuildRequires: perl(Net::SMTP) >= 3.07
|
2015-04-15 14:33:54 +00:00
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
BuildRequires: perl(Sub::Exporter::Util)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
BuildRequires: perl(Throwable::Error) >= 0.200003
|
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
Requires: perl(Email::Abstract) >= 3.006
|
2022-11-08 12:40:50 +00:00
|
|
|
Requires: perl(Email::Address::XS)
|
2015-04-15 14:33:54 +00:00
|
|
|
Requires: perl(Email::Simple) >= 1.998
|
2024-05-16 12:04:28 +00:00
|
|
|
Requires: perl(File::Path) >= 2.06
|
2016-10-05 13:08:50 +00:00
|
|
|
Requires: perl(List::Util) >= 1.45
|
2015-04-15 14:33:54 +00:00
|
|
|
Requires: perl(Module::Runtime)
|
2016-04-19 16:03:58 +00:00
|
|
|
Requires: perl(Moo) >= 2.000000
|
2015-04-15 14:33:54 +00:00
|
|
|
Requires: perl(Moo::Role)
|
|
|
|
Requires: perl(MooX::Types::MooseLike) >= 0.15
|
|
|
|
Requires: perl(MooX::Types::MooseLike::Base)
|
2016-04-19 16:03:58 +00:00
|
|
|
Requires: perl(Net::SMTP) >= 3.07
|
2011-11-01 12:12:19 +00:00
|
|
|
Requires: perl(Sub::Exporter)
|
2015-04-15 14:33:54 +00:00
|
|
|
Requires: perl(Sub::Exporter::Util)
|
|
|
|
Requires: perl(Throwable::Error) >= 0.200003
|
|
|
|
Requires: perl(Try::Tiny)
|
2024-05-16 12:04:28 +00:00
|
|
|
Provides: perl(Email::Sender) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Failure) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Failure::Multi) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Failure::Permanent) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Failure::Temporary) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Manual) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Manual::QuickStart) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Role::CommonSending) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Role::HasMessage) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Simple) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Success) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Success::Partial) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::DevNull) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Failable) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Maildir) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Mbox) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Print) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::SMTP) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::SMTP::Persistent) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Sendmail) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Test) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Transport::Wrapper) = %{version}
|
|
|
|
Provides: perl(Email::Sender::Util) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-15 14:33:54 +00:00
|
|
|
%{perl_requires}
|
2009-10-29 18:21:20 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-15 14:33:54 +00:00
|
|
|
Email::Sender replaces the old and sometimes problematic Email::Send
|
|
|
|
library, which did a decent job at handling very simple email sending
|
|
|
|
tasks, but was not suitable for serious use, for a variety of reasons.
|
|
|
|
|
2016-04-19 16:03:58 +00:00
|
|
|
Most users will be able to use Email::Sender::Simple to send mail. Users
|
|
|
|
with more specific needs should look at the available
|
2015-04-15 14:33:54 +00:00
|
|
|
Email::Sender::Transport classes.
|
|
|
|
|
2016-04-19 16:03:58 +00:00
|
|
|
Documentation may be found in Email::Sender::Manual, and new users should
|
|
|
|
start with Email::Sender::Manual::QuickStart.
|
2009-10-29 18:21:20 +00:00
|
|
|
|
|
|
|
%prep
|
2024-05-16 12:04:28 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2009-10-29 18:21:20 +00:00
|
|
|
|
|
|
|
%build
|
2019-11-29 07:14:52 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-06-29 09:31:07 +00:00
|
|
|
%make_build
|
2015-04-15 14:33:54 +00:00
|
|
|
|
|
|
|
%check
|
2019-11-29 07:14:52 +00:00
|
|
|
make test
|
2009-10-29 18:21:20 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-04-15 14:33:54 +00:00
|
|
|
%perl_gen_filelist
|
2009-10-29 18:21:20 +00:00
|
|
|
|
2015-04-15 14:33:54 +00:00
|
|
|
%files -f %{name}.files
|
2019-11-29 07:14:52 +00:00
|
|
|
%doc Changes README util
|
2017-04-06 13:02:56 +00:00
|
|
|
%license LICENSE
|
2009-10-29 18:21:20 +00:00
|
|
|
|
|
|
|
%changelog
|