]> git.pld-linux.org Git - packages/msmtp.git/blob - msmtp.spec
- unified
[packages/msmtp.git] / msmtp.spec
1 Summary:        SMTP "plugin" for MUAs
2 Summary(pl):    "Wtyczka" SMTP dla klientów pocztowych (MUA)
3 Name:           msmtp
4 Version:        1.3.9
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://dl.sourceforge.net/msmtp/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8e941785730c1ea1ee7fc9a65da41339
10 Patch0:         %{name}-home_etc.patch
11 URL:            http://msmtp.sourceforge.net/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  openssl-devel >= 0.9.7d
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 msmtp is a simple program that works as an "SMTP plugin" for Mutt and
19 probably other MUAs (mail user agents). It forwards mails to an SMTP
20 server (for example at a free mail provider) which does the delivery.
21 Features include:
22 - SMTP AUTH methods PLAIN, LOGIN and CRAM-MD5
23 - TLS encrypted connections
24 - IPv6 support
25 - robustness
26 - detailed error messages if something goes wrong (including the full
27   answer of the SMTP server)
28 - sendmail compatible exit codes (which most MUAs understand).
29
30 Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail (with
31 Mutt that's just one additional line in the config file).
32
33 %description -l pl
34 msmtp to prosty program dzia³aj±cy jako "wtyczka SMTP" dla Mutta i
35 prawdopodobnie innych klientów pocztowych (MUA - mail user agents).
36 Przekierowuje wiadomo¶ci do serwera SMTP (na przyk³ad providera
37 darmowych kont e-mail), który je dostarcza. Mo¿liwo¶ci obejmuj±:
38 - obs³ugê SMTP AUTH - metod PLAIN, LOGIN i CRAM-MD5
39 - szyfrowane po³±czenia TLS
40 - obs³ugê IPv6
41 - szczegó³owe komunikaty b³êdów w przypadku niepowodzenia (w³±cznie z
42   pe³n± odpowiedzi± serwera SMTP)
43 - kody wyj¶cia kompatybilne z sendmailem (które rozumie wiêkszo¶æ
44   MUA).
45
46 Wystarczy przekazaæ klientowi pocztowemu, aby wywo³ywa³ msmtp zamiast
47 /usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
48 konfiguracyjnym).
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 %build
55 %{__aclocal} -I gnulib/m4
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 # could use gnutls instead (but is not ready for current libgcrypt)
60 # disable gsasl for now (see README.gsasl)
61 %configure \
62         --with-ssl=openssl \
63         --disable-gsasl
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example
79 %attr(755,root,root) %{_bindir}/*
80 %{_mandir}/man1/msmtp*
81 %{_infodir}/msmtp*
This page took 0.072467 seconds and 3 git commands to generate.