]> git.pld-linux.org Git - packages/msmtp.git/blame - msmtp.spec
- updated to 1.8.6
[packages/msmtp.git] / msmtp.spec
CommitLineData
69c7cea9 1Summary: SMTP "plugin" for MUAs
d48c2081 2Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
69c7cea9 3Name: msmtp
04591b7e 4Version: 1.8.6
f8a70560 5Release: 1
4cec2079 6License: GPL v3+
3d4b1863 7Group: Networking/Utilities
f8a70560 8Source0: https://marlam.de/msmtp/releases/%{name}-%{version}.tar.xz
04591b7e 9# Source0-md5: adff4a9992e1b47aa5468b974550304e
de550e53 10Patch0: %{name}-home_etc.patch
4af4f374 11Source1: %{name}rc
f8a70560 12URL: https://marlam.de/msmtp/
b6bb3cf1
JP
13BuildRequires: autoconf
14BuildRequires: automake >= 1:1.11.1
15BuildRequires: gettext-tools
4a896a76
KK
16BuildRequires: gnutls-devel >= 1.2.0
17BuildRequires: gsasl-devel
b6bb3cf1
JP
18BuildRequires: libidn-devel
19BuildRequires: libsecret-devel
2c2f3e5b 20BuildRequires: pkgconfig
69c7cea9 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24msmtp is a simple program that works as an "SMTP plugin" for Mutt and
25probably other MUAs (mail user agents). It forwards mails to an SMTP
26server (for example at a free mail provider) which does the delivery.
27Features include:
0566e1b0 28- PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 and NTLM authentications
69c7cea9 29- TLS encrypted connections
0566e1b0 30- Internationalized Domain Names (IDN) support
69c7cea9 31- IPv6 support
32- robustness
33- detailed error messages if something goes wrong (including the full
34 answer of the SMTP server)
3faf19b1
JB
35- sendmail compatible exit codes (which most MUAs understand).
36
37Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail (with
38Mutt that's just one additional line in the config file).
39
a3c8dcd6
JR
40%description -l pl.UTF-8
41msmtp to prosty program działający jako "wtyczka SMTP" dla Mutta i
42innych klientów pocztowych (MUA - mail user agents). Przekierowuje
43wiadomości do serwera SMTP (na przykład providera darmowych kont
44e-mail), który je dostarcza. Możliwości obejmują:
0566e1b0 45- uwierzytelnianie PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 i NTLM
a3c8dcd6
JR
46- obsługę Internationalized Domain Names (IDN)
47- szyfrowane połączenia TLS
48- obsługę IPv6
49- szczegółowe komunikaty błędów w przypadku niepowodzenia (włącznie z
50 pełną odpowiedzią serwera SMTP)
51- kody wyjścia kompatybilne z sendmailem (które rozumie większość
3faf19b1
JB
52 MUA).
53
a3c8dcd6 54Wystarczy przekazać klientowi pocztowemu, aby wywoływał msmtp zamiast
3faf19b1 55/usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
bdcdfe8c 56konfiguracyjnym).
69c7cea9 57
062db315 58%package sendmail
52d2b940 59Summary: msmtp sendmail compatible wrapper
d48c2081 60Summary(pl.UTF-8): msmtp - dowiązania symboliczne do sendmaila
062db315 61Group: Networking/Daemons
062db315 62Requires: %{name} = %{version}-%{release}
948f2096 63Obsoletes: /usr/lib/sendmail
062db315 64
65%description sendmail
52d2b940 66msmtp sendmail compatible wrapper.
062db315 67
a3c8dcd6
JR
68%description sendmail -l pl.UTF-8
69Dowiązania symboliczne msmtp do sendmaila.
062db315 70
69c7cea9 71%prep
72%setup -q
de550e53 73%patch0 -p1
69c7cea9 74
75%build
b6bb3cf1
JP
76%{__gettextize}
77%{__aclocal}
78%{__autoheader}
79%{__automake}
80%{__autoconf}
81%configure \
82 --disable-silent-rules \
83 --with-libgsasl \
84 --with-libidn \
85 --with-libsecret \
234b49ca 86 --with-tls=gnutls
5f88fde3 87%{__make}
69c7cea9 88
89%install
90rm -rf $RPM_BUILD_ROOT
bb718af2 91install -d $RPM_BUILD_ROOT{%{_sbindir},/usr/lib,%{_sysconfdir}}
69c7cea9 92
9b455e48 93%{__make} install \
d9683ff4 94 DESTDIR=$RPM_BUILD_ROOT
330a6d9c 95
4af4f374 96install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/msmtprc
bb718af2 97ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT/usr/lib/sendmail
4af4f374 98ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail
15393a05 99
e53a80bd
MWP
100%find_lang %{name}
101
4af4f374 102rm -f $RPM_BUILD_ROOT%{_infodir}/dir
237af9af 103rm -f scripts/Makefile*
4af4f374 104
f5cd2b5d
JB
105%clean
106rm -rf $RPM_BUILD_ROOT
107
834f2525
ER
108%post -p /sbin/postshell
109-/usr/sbin/fix-info-dir -c %{_infodir}
69c7cea9 110
834f2525
ER
111%postun -p /sbin/postshell
112-/usr/sbin/fix-info-dir -c %{_infodir}
69c7cea9 113
330a6d9c 114%files -f %{name}.lang
69c7cea9 115%defattr(644,root,root,755)
237af9af 116%doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example scripts
69c7cea9 117%attr(755,root,root) %{_bindir}/*
118%{_mandir}/man1/msmtp*
6d780206 119%{_infodir}/msmtp*
062db315 120
121%files sendmail
122%defattr(644,root,root,755)
123%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
124%attr(755,root,root) %{_sbindir}/*
bb718af2 125/usr/lib/sendmail
This page took 0.103943 seconds and 4 git commands to generate.