2010-09-22 21:44:32 +00:00
|
|
|
#
|
2015-04-16 20:17:16 +00:00
|
|
|
# spec file for package perl-Dancer-Plugin-Email
|
2010-09-22 21:44:32 +00:00
|
|
|
#
|
2024-03-12 17:12:40 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-09-22 21:44:32 +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.
|
|
|
|
|
2024-03-12 17:12:40 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-09-22 21:44:32 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-03-12 17:12:40 +00:00
|
|
|
%define cpan_name Dancer-Plugin-Email
|
2010-09-22 21:44:32 +00:00
|
|
|
Name: perl-Dancer-Plugin-Email
|
2024-03-12 17:12:40 +00:00
|
|
|
Version: 1.40.0
|
2015-04-16 20:17:16 +00:00
|
|
|
Release: 0
|
2024-03-12 17:12:40 +00:00
|
|
|
%define cpan_version 1.0400
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2015-04-16 20:17:16 +00:00
|
|
|
Summary: Simple email sending for Dancer applications
|
2024-03-12 17:12:40 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IR/IRONCAMEL/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-16 20:17:16 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:58 +02:00
|
|
|
Source100: README.md
|
2010-09-22 21:44:32 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-04-16 20:17:16 +00:00
|
|
|
BuildRequires: perl(Authen::SASL) >= 2.16
|
|
|
|
BuildRequires: perl(Dancer)
|
|
|
|
BuildRequires: perl(Dancer::Plugin)
|
|
|
|
BuildRequires: perl(Email::Date::Format)
|
|
|
|
BuildRequires: perl(Email::Sender::Simple)
|
|
|
|
BuildRequires: perl(File::Type)
|
|
|
|
BuildRequires: perl(MIME::Base64) >= 3.14
|
|
|
|
BuildRequires: perl(MIME::Entity)
|
|
|
|
BuildRequires: perl(Module::Load)
|
|
|
|
BuildRequires: perl(Net::SMTP::SSL) >= 1.01
|
|
|
|
BuildRequires: perl(Net::SSLeay) >= 1.58
|
|
|
|
Requires: perl(Authen::SASL) >= 2.16
|
|
|
|
Requires: perl(Dancer)
|
|
|
|
Requires: perl(Dancer::Plugin)
|
|
|
|
Requires: perl(Email::Date::Format)
|
|
|
|
Requires: perl(Email::Sender::Simple)
|
|
|
|
Requires: perl(File::Type)
|
|
|
|
Requires: perl(MIME::Base64) >= 3.14
|
|
|
|
Requires: perl(MIME::Entity)
|
|
|
|
Requires: perl(Module::Load)
|
|
|
|
Requires: perl(Net::SMTP::SSL) >= 1.01
|
|
|
|
Requires: perl(Net::SSLeay) >= 1.58
|
2024-03-12 17:12:40 +00:00
|
|
|
Provides: perl(Dancer::Plugin::Email) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-16 20:17:16 +00:00
|
|
|
%{perl_requires}
|
2010-09-22 21:44:32 +00:00
|
|
|
|
|
|
|
%description
|
2024-03-12 17:12:40 +00:00
|
|
|
This plugin tries to make sending emails from Dancer applications as simple
|
|
|
|
as possible. It uses Email::Sender under the hood. In a lot of cases, no
|
|
|
|
configuration is required. For example, if your app is hosted on a
|
|
|
|
unix-like server with sendmail installed, calling 'email()' will just do
|
|
|
|
the right thing.
|
2015-04-16 20:17:16 +00:00
|
|
|
|
|
|
|
IMPORTANT: Version 1.x of this module is not backwards compatible with the
|
|
|
|
0.x versions. This module was originally built on Email::Stuff which was
|
|
|
|
built on Email::Send which has been deprecated in favor of Email::Sender.
|
|
|
|
Versions 1.x and on have be refactored to use Email::Sender. I have tried
|
|
|
|
to keep the interface the same as much as possible. The main difference is
|
|
|
|
the configuration. If there are features missing that you were using in
|
2024-03-12 17:12:40 +00:00
|
|
|
older versions, then please let me know by creating an issue on at
|
2015-04-16 20:17:16 +00:00
|
|
|
https://github.com/ironcamel/Dancer-Plugin-Email.
|
2010-09-22 21:44:32 +00:00
|
|
|
|
|
|
|
%prep
|
2024-03-12 17:12:40 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2010-09-22 21:44:32 +00:00
|
|
|
|
|
|
|
%build
|
2024-03-12 17:12:40 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2010-09-22 21:44:32 +00:00
|
|
|
|
|
|
|
%check
|
2024-03-12 17:12:40 +00:00
|
|
|
make test
|
2010-09-22 21:44:32 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2015-04-16 20:17:16 +00:00
|
|
|
%perl_process_packlist
|
2010-09-22 21:44:32 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2024-03-12 17:12:40 +00:00
|
|
|
%doc CHANGES README
|
|
|
|
%license LICENSE
|
2010-09-22 21:44:32 +00:00
|
|
|
|
|
|
|
%changelog
|