Summary: SMTP "plugin" for MUAs
Summary(pl): "Wtyczka" SMTP dla klientów pocztowych (MUA)
Name: msmtp
-Version: 0.6.2
+Version: 0.7.0
Release: 1
License: GPL
Group: Networking/Daemons
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 4e3145156fe9ca36df833f5953a21c9b
+# Source0-md5: a6ef757fb22b7b6bafb97baecd53402d
+Patch0: %{name}-home_etc.patch
URL: http://msmtp.sourceforge.net/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
BuildRequires: openssl-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%patch0 -p1
%build
-%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
-%{__make} \
- CC="%{__cc}" \
- CFLAGS="%{rpmcflags}"
+# could use gnutls instead (but is not ready for current libgcrypt)
+# disable gsasl for now (see README.gsasl)
+%configure \
+ --with-ssl=openssl \
+ --disable-gsasl
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT