package created using the webbuild interface [release 14.9.24-1mamba;Wed Jan 17 2024]

This commit is contained in:
Silvan Calarco 2024-01-18 13:35:19 +01:00
parent 28e1d45a57
commit 4fcc1c75c9
2 changed files with 73 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# s-nail
Environment for sending and receiving mail.

71
s-nail.spec Normal file
View File

@ -0,0 +1,71 @@
Name: s-nail
Version: 14.9.24
Release: 1mamba
Summary: Environment for sending and receiving mail
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.sdaoden.eu/code.html#s-nail
Source: https://ftp.sdaoden.eu/s-nail-%{version}.tar.xz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libe2fs-devel
BuildRequires: libidn2-devel
BuildRequires: libkrb5-devel
BuildRequires: libncurses-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
Provides: mailx
Obsoletes: mailx <= 12.5-3mamba
%description
Environment for sending and receiving mail.
%debug_package
%prep
%setup -q
%build
%make \
VAL_PREFIX=%{_prefix} \
VAL_SYSCONFDIR=%{_sysconfdir} \
VAL_LIBEXECDIR=%{_libdir} \
VAL_MAIL=%{_localstatedir}/mail \
OPT_AUTOCC=no \
OPT_DEBUG=yes \
OPT_NOMEMDBG=yes \
OPT_DOTLOCK=no \
config
%make build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# compatibility symlinks
for f in mailx nail; do
ln -s %{name} %{buildroot}%{_bindir}/$f
ln -s %{name}.1 %{buildroot}%{_mandir}/man1/$f.1
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/s-nail.rc
%{_bindir}/s-nail
%{_bindir}/mailx
%{_bindir}/nail
%{_mandir}/man1/mailx.1*
%{_mandir}/man1/nail.1*
%{_mandir}/man1/s-nail.1*
%doc COPYING THANKS
%changelog
* Wed Jan 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 14.9.24-1mamba
- package created using the webbuild interface