Initial package

This commit is contained in:
Nikola Forró 2020-04-24 15:47:20 +02:00
parent 78acd2feba
commit f49462c4cd
4 changed files with 148 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/s-nail-*.tar.xz
/s-nail-*.tar.xz.asc

82
s-nail.spec Normal file
View File

@ -0,0 +1,82 @@
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ó <nforro@redhat.com> - 14.9.18-1
- Update to the latest upstream release
* Thu Apr 09 2020 Nikola Forró <nforro@redhat.com> - 14.9.17-1
- Initial package

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (s-nail-14.9.18.tar.xz) = d1ae090554413a6517c360a7bb1da4f36394361005e3bb20854105e5445b2e63aa9ad9d2649a59cfe06d89727143f0c21e350a7c2d708c1ee0ef8c35e2c06ae9
SHA512 (s-nail-14.9.18.tar.xz.asc) = fa3920b679b66bb84541e2c422e72c77ada926dc35b1f4b688d9606a11c896d0a87e80d8969dba0e779decb300fc64d4655d314a24454a9daae6f53425965945

62
steffen.asc Normal file
View File

@ -0,0 +1,62 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFogZb4BEADX1RCLsdnBq0IZiNb5HZFsp2G8BnWVM2NJJFbQFI5g+aPhO+5a
gWM2vgqn/a8zpr2OyP5/rliqMY7sxmOFEYoND0OnekXU7rVbUWpY87uK0qBxO5lo
ErQfs8sjhjH3RNKsgXyUZVN3a4HCXL2ortS8EJvcQ/2NMAEMAHEG+V4HK+nFNB4u
OpYa+QHLmTHOuOlhbDIw/dRCWP8o2+e60Juf6KXonA00dSoaMv6lL2UU3znvLHuF
zYBG4fjm2Rt5gDfehCHzeWWpc/zSTDAQf4oaFfn2JXd3gd1s5k8nKn60azONjBQ7
3dcpxcmltCYnHVohjJ/oFYSSvWG281P2Ayj67PPdekhuHhifLSut9eKVLVeUsrXo
wc8GDULIGbsy5BMI9UyHPElB+8UnRQNe3USRCQ6Hr+SYsllLLxpL0O5MrT4ELSFF
0u6naJzm7+Tq4AqgXcJ0x4siW5ipOwmZYWMbA1dtrgk7cFiUhLl2GWxf54ZvUA60
D7RfajqAyFXBEGcv37JItj0pbY8R5lqn8jDPOtcdMWBKSVg9lETt+o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