This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
mailx/mailx.spec

80 lines
2.4 KiB
RPMSpec

Name: mailx
Version: 12.5
Release: 2mamba
Summary: A simple mail user agent for Unix systems derived from Berkeley Mail
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://heirloom.sourceforge.net/mailx.html
Source: http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_%{version}.orig.tar.gz
Patch0: mailx-12.5-openssl-1.1.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgss-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Heirloom mailx (previously known as nail) is a mail user agent for Unix systems. Highlights are:
- Derived from Berkeley Mail 8.1. An interface like the original Berkeley one is still optionally available;
- Is a free implementation of the System V mailx command and features an interface like that by default.
%debug_package
%prep
%setup -q -n heirloom-mailx-%{version}
%patch0 -p1
%build
%make PREFIX=/
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
PREFIX=/ \
MANDIR=%{_mandir} \
UCBINSTALL=%{__install} \
DESTDIR=%{buildroot} \
STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/nail.rc
/bin/mailx
%{_mandir}/man1/mailx.1*
%changelog
* Tue Dec 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 12.5-2mamba
- rebuilt with debug package and openssl 1.1 patch
* Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.5-1mamba
- update to 12.5
* Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.4-3mamba
- rebuilt with openssl 1.0.2g
* Mon Mar 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 12.4-2mamba
- rebuilt with openssl 1.0
* Tue Sep 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 12.4-1mamba
- automatic update by autodist
* Sun May 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2-2mamba
- rebuilt
* Sat May 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2-1mamba
- update to 12.2
* Tue Jun 17 2003 Silvan Calarco <silvan.calarco@qinet.it> 8.1.1-2qilnx
- added /bin/mailx symlink to /bin/mail
* Thu Jun 12 2003 Silvan Calarco <silvan.calarco@qinet.it> 8.1.1-1qilnx
- first build