2007-01-16 00:25:53 +01:00
|
|
|
#
|
2010-03-19 10:15:11 +01:00
|
|
|
# spec file for package msmtp (Version 1.4.19)
|
2007-01-16 00:25:53 +01:00
|
|
|
#
|
2010-03-19 10:15:11 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:25:53 +01:00
|
|
|
#
|
2008-09-08 01:34:13 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:25:53 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-07 12:15:51 +02:00
|
|
|
|
2007-01-16 00:25:53 +01:00
|
|
|
Name: msmtp
|
2010-03-19 10:15:11 +01:00
|
|
|
Version: 1.4.19
|
2008-09-08 01:34:13 +02:00
|
|
|
Release: 1
|
2007-01-16 00:25:53 +01:00
|
|
|
#
|
2010-03-19 10:15:11 +01:00
|
|
|
License: GPLv3+
|
2007-01-16 00:25:53 +01:00
|
|
|
Group: Productivity/Networking/Email/Utilities
|
|
|
|
#
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: libidn-devel openssl-devel
|
2010-03-19 10:15:11 +01:00
|
|
|
# for the directory
|
|
|
|
Requires: vim-base
|
2007-01-16 00:25:53 +01:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
PreReq: %install_info_prereq
|
|
|
|
%endif
|
|
|
|
#
|
2008-04-07 12:15:51 +02:00
|
|
|
Url: http://msmtp.sourceforge.net/
|
2007-01-16 00:25:53 +01:00
|
|
|
Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{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 <marlam@marlam.de>
|
|
|
|
|
|
|
|
%prep
|
2007-08-05 11:52:28 +02:00
|
|
|
%setup -q
|
2007-01-16 00:25:53 +01:00
|
|
|
|
|
|
|
%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
|
2007-08-05 11:52:28 +02:00
|
|
|
%{__cp} scripts/msmtpqueue/$i ${i}.msmtpqueue
|
2007-01-16 00:25:53 +01:00
|
|
|
done
|
2008-09-08 01:34:13 +02:00
|
|
|
%{__cp} scripts/msmtpq/README README.msmtpq
|
2010-03-19 10:15:11 +01:00
|
|
|
%{__cp} scripts/vim/README README.vim
|
2008-09-08 01:34:13 +02:00
|
|
|
%{__install} -m 0755 \
|
|
|
|
scripts/msmtpqueue/*.sh \
|
|
|
|
scripts/msmtpq/msmtp{q,Q} \
|
2010-03-19 10:15:11 +01:00
|
|
|
scripts/set_sendmail/*.sh \
|
|
|
|
scripts/find_alias/*.sh \
|
2007-08-05 11:52:28 +02:00
|
|
|
%{buildroot}%{_bindir}
|
2010-03-19 10:15:11 +01:00
|
|
|
%{__install} -D -m 0644 \
|
|
|
|
scripts/vim/msmtp.vim \
|
|
|
|
%{buildroot}%{_datadir}/vim/current/syntax/msmtp.vim
|
2007-01-16 00:25:53 +01:00
|
|
|
|
|
|
|
%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)
|
2008-09-08 01:34:13 +02:00
|
|
|
%doc AUTHORS ChangeLog* COPYING NEWS README README.msmtpqueue README.msmtpq THANKS
|
2007-01-16 00:25:53 +01:00
|
|
|
%doc doc/msmtp.html doc/Mutt+msmtp.txt doc/*.example
|
2010-03-19 10:15:11 +01:00
|
|
|
%doc scripts/set_sendmail/set_sendmail.conf
|
2007-01-16 00:25:53 +01:00
|
|
|
%{_bindir}/msmtp
|
2008-09-08 01:34:13 +02:00
|
|
|
%{_bindir}/msmtpq
|
|
|
|
%{_bindir}/msmtpQ
|
2007-01-16 00:25:53 +01:00
|
|
|
%{_bindir}/msmtp-enqueue.sh
|
|
|
|
%{_bindir}/msmtp-runqueue.sh
|
2007-08-05 11:52:28 +02:00
|
|
|
%{_bindir}/msmtp-listqueue.sh
|
|
|
|
%{_bindir}/set_sendmail.sh
|
2010-03-19 10:15:11 +01:00
|
|
|
%{_bindir}/find_alias_for_msmtp.sh
|
2007-01-16 00:25:53 +01:00
|
|
|
%{_mandir}/man1/msmtp.1*
|
|
|
|
%{_infodir}/msmtp.info*
|
2010-03-19 10:15:11 +01:00
|
|
|
%{_datadir}/vim/current/syntax/msmtp.vim
|
2007-01-16 00:25:53 +01:00
|
|
|
|
2007-06-17 12:10:50 +02:00
|
|
|
%changelog
|