Name: s-nail Version: 14.9.18 Release: 1%{?dist} Summary: Environment for sending and receiving mail # Everything is ISC except parts coming from the original Heirloom mailx which are BSD License: ISC and BSD with advertising and BSD URL: https://www.sdaoden.eu/code.html#s-nail Source0: https://www.sdaoden.eu/downloads/%{name}-%{version}.tar.xz Source1: https://www.sdaoden.eu/downloads/%{name}-%{version}.tar.xz.asc # https://ftp.sdaoden.eu/steffen.asc Source2: steffen.asc BuildRequires: gnupg2 BuildRequires: gcc BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: krb5-devel BuildRequires: libidn2-devel BuildRequires: ncurses-devel %description S-nail provides a simple and friendly environment for sending and receiving mail. It is intended to provide the functionality of the POSIX mailx(1) command, but is MIME capable and optionally offers extensions for line editing, S/MIME, SMTP and POP3, among others. S-nail divides incoming mail into its constituent messages and allows the user to deal with them in any order. It offers many commands and internal variables for manipulating messages and sending mail. It provides the user simple editing capabilities to ease the composition of outgoing messages, and increasingly powerful and reliable non-interactive scripting capabilities. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build %make_build \ CFLAGS="%{build_cflags}" \ LDFLAGS="%{build_ldflags}" \ OPT_AUTOCC=no \ OPT_DEBUG=yes \ OPT_NOMEMDBG=yes \ OPT_DOTLOCK=no \ VAL_PREFIX=%{_prefix} \ VAL_SYSCONFDIR=%{_sysconfdir} \ VAL_MAIL=%{_localstatedir}/mail \ config %make_build build %install %make_install # s-nail binary is installed with 0555 permissions, fix that chmod 0755 %{buildroot}%{_bindir}/%{name} %check make test %files %license COPYING %doc README %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}.rc %{_mandir}/man1/%{name}.1* %changelog * Thu Apr 23 2020 Nikola Forró - 14.9.18-1 - Update to the latest upstream release * Thu Apr 09 2020 Nikola Forró - 14.9.17-1 - Initial package