# # spec file for package msmtp (Version 1.4.12) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: msmtp %define msmtpqueue_version 0.5 Version: 1.4.12 Release: 1 # License: GNU General Public License (GPL) Group: Productivity/Networking/Email/Utilities # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libidn-devel openssl-devel %if 0%{?suse_version} PreReq: %install_info_prereq %endif # URL: http://msmtp.sourceforge.net/ Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{version}.tar.bz2 Source1: http://prdownloads.sourceforge.net/msmtp/msmtpqueue-%{msmtpqueue_version}.tar.bz2 # Summary: An SMTP Client %description msmtp is an SMTP client that can be used as a plug-in for Mutt and other mail user agents. It forwards mail to an SMTP server that does the delivery. msmtp supports multiple accounts. Authors: -------- Martin Lambers %prep %setup -q -a 1 %build %if 0%{?suse_version} > 1000 export CFLAGS="%{optflags} -fstack-protector" %endif %configure --docdir=%{_docdir}/%{name} --with-ssl=openssl %{__make} %install %makeinstall %find_lang %{name} for i in README ChangeLog ; do %{__cp} msmtpqueue-%{msmtpqueue_version}/$i ${i}.msmtpqueue done %{__install} -D -m 0755 msmtpqueue-%{msmtpqueue_version}/*.sh %{buildroot}%{_bindir} %clean %{__rm} -rf %{buildroot} %if 0%{?suse_version} %post %install_info --info-dir=%{_infodir} %{_infodir}/msmtp.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/msmtp.info.gz %endif %files -f %{name}.lang %defattr (-, root, root) %doc AUTHORS ChangeLog* COPYING NEWS README* THANKS %doc doc/msmtp.html doc/Mutt+msmtp.txt doc/*.example %{_bindir}/msmtp %{_bindir}/msmtp-listqueue.sh %{_bindir}/msmtp-enqueue.sh %{_bindir}/msmtp-runqueue.sh %{_mandir}/man1/msmtp.1* %{_infodir}/msmtp.info* %changelog * Sun Jun 17 2007 - bwalle@suse.de - update to version 1.4.12: o Handle MAILER-DAEMON correctly o documentation updates o Require tls_trust_file or tls_certcheck=off for TLS sessions o Do not use NTLM authentication automatically o Gnulib update o bug fixes - update to msmtpqueue 0.5: o Added the msmtp-listqueue.sh script * Mon Aug 21 2006 - mrueckert@suse.de - Update to version 1.4.7: o added option to enforce SSLv3 o many small bugfixes * Sun Jun 18 2006 - mrueckert@suse.de - Update to version 1.4.6: o idn support o many small changes for details see /usr/share/doc/packages/msmtp/ChangeLog o small cleanup for the spec file - added msmtpqueue-0.4 as part to the msmtp package (no need for an own script for 2 shell script) Adds basic queueing capabilities to msmtp - build with -fstack-protector on > 10.0 * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Oct 19 2005 - arvin@suse.de - updated to version 1.4.4 * Mon Jul 18 2005 - arvin@suse.de - updated to version 1.4.3 * Mon Jul 11 2005 - arvin@suse.de - initial package with version 1.4.2