Name: smtpc Version: 1.0.0 Release: 1%{?dist} Summary: SMTP / LMTP client License: BSD URL: https://github.com/ikedas/smtpc Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc %description smtpc is an email client. It reads a message from standard input and submits it to email server through socket. %prep %setup -q %build autoreconf -vif %configure --docdir=%{_docdir}/%{name}%{?rhel:-%{version}} make %{?_smp_mflags} %install %make_install %files %license LICENSE.md %doc README.md smtpc.1.md %{_bindir}/smtpc %changelog * Tue Mar 06 2018 Xavier Bachelot - 1.0.0-1 - Initial package.