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