Name:		smtp-cli
Version:	3.10
Release:	1%{?dist}
Summary:	command line SMTP client

License:	GPLv3
URL:		https://github.com/mludvig/smtp-cli
Source0:	https://github.com/mludvig/%{name}/archive/refs/tags/v%{version}.tar.gz

BuildArch:	noarch
Requires:	perl-IO-Socket-SSL  perl-Digest-HMAC  perl-TermReadKey  perl-MIME-Lite  perl-File-LibMagic  perl-IO-Socket-INET6 perl-Net-DNS

%description
smtp-cli is a powerful SMTP command line client with a support for advanced features,
such as STARTTLS, SMTP-AUTH, or IPv6 and with a scriptable message composition capabilities
supporting anything from simple plain-text messages right up to building complex HTML emails
with alternative plain-text part, attachments and inline images.

%prep
%setup -q


%install
install -m 755 -d %{buildroot}%{_bindir}
install -m 755 -t %{buildroot}%{_bindir} %{_builddir}/%{name}-%{version}/%{name}

%files
%doc README.md
%attr(0755, root, root) %{_bindir}/%{name}

%changelog
* Wed Mar 31 2021 skidnik
- Initial package