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