]> git.pld-linux.org Git - packages/msmtp.git/blame_incremental - msmtp.spec
up to 1.8.13
[packages/msmtp.git] / msmtp.spec
... / ...
CommitLineData
1Summary: SMTP "plugin" for MUAs
2Summary(pl.UTF-8): "Wtyczka" SMTP dla klientów pocztowych (MUA)
3Name: msmtp
4Version: 1.8.13
5Release: 1
6License: GPL v3+
7Group: Networking/Utilities
8Source0: https://marlam.de/msmtp/releases/%{name}-%{version}.tar.xz
9# Source0-md5: 203b4ef3ab163e3e80e9507a9bc67b74
10Patch0: %{name}-home_etc.patch
11Source1: %{name}rc
12URL: https://marlam.de/msmtp/
13BuildRequires: autoconf
14BuildRequires: automake >= 1:1.11.1
15BuildRequires: gettext-tools
16BuildRequires: gnutls-devel >= 1.2.0
17BuildRequires: gsasl-devel
18BuildRequires: libidn-devel
19BuildRequires: libsecret-devel
20BuildRequires: pkgconfig
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:
28- PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 and NTLM authentications
29- TLS encrypted connections
30- Internationalized Domain Names (IDN) support
31- IPv6 support
32- robustness
33- detailed error messages if something goes wrong (including the full
34 answer of the SMTP server)
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
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ą:
45- uwierzytelnianie PLAIN, LOGIN, CRAM-MD5, GSSAPI, DIGEST-MD5 i NTLM
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ść
52 MUA).
53
54Wystarczy przekazać klientowi pocztowemu, aby wywoływał msmtp zamiast
55/usr/sbin/sendmail (w Mutcie to po prostu dodatkowa linia w pliku
56konfiguracyjnym).
57
58%package sendmail
59Summary: msmtp sendmail compatible wrapper
60Summary(pl.UTF-8): msmtp - dowiązania symboliczne do sendmaila
61Group: Networking/Daemons
62Requires: %{name} = %{version}-%{release}
63Obsoletes: /usr/lib/sendmail
64
65%description sendmail
66msmtp sendmail compatible wrapper.
67
68%description sendmail -l pl.UTF-8
69Dowiązania symboliczne msmtp do sendmaila.
70
71%prep
72%setup -q
73%patch0 -p1
74
75%build
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 \
86 --with-tls=gnutls
87%{__make}
88
89%install
90rm -rf $RPM_BUILD_ROOT
91install -d $RPM_BUILD_ROOT{%{_sbindir},/usr/lib,%{_sysconfdir}}
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
96install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/msmtprc
97ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT/usr/lib/sendmail
98ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_sbindir}/sendmail
99
100%find_lang %{name}
101
102rm -f $RPM_BUILD_ROOT%{_infodir}/dir
103rm -f scripts/Makefile*
104
105%clean
106rm -rf $RPM_BUILD_ROOT
107
108%post -p /sbin/postshell
109-/usr/sbin/fix-info-dir -c %{_infodir}
110
111%postun -p /sbin/postshell
112-/usr/sbin/fix-info-dir -c %{_infodir}
113
114%files -f %{name}.lang
115%defattr(644,root,root,755)
116%doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example scripts
117%attr(755,root,root) %{_bindir}/*
118%{_mandir}/man1/msmtp*
119%{_infodir}/msmtp*
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}/*
125/usr/lib/sendmail
This page took 0.067103 seconds and 4 git commands to generate.