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