forked from pool/msmtp
105 lines
2.8 KiB
RPMSpec
105 lines
2.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package msmtp (Version 1.4.7)
|
||
|
#
|
||
|
# Copyright (c) 2006 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
|
||
|
Version: 1.4.7
|
||
|
Release: 1
|
||
|
#
|
||
|
License: GNU General Public License (GPL) - all versions
|
||
|
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-0.4.tar.gz
|
||
|
#
|
||
|
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 <marlam@marlam.de>
|
||
|
|
||
|
%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-0.4/$i ${i}.msmtpqueue
|
||
|
done
|
||
|
%{__install} -D -m 0755 msmtpqueue-0.4/*.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-enqueue.sh
|
||
|
%{_bindir}/msmtp-runqueue.sh
|
||
|
%{_mandir}/man1/msmtp.1*
|
||
|
%{_infodir}/msmtp.info*
|
||
|
|
||
|
%changelog -n msmtp
|
||
|
* 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
|