]> git.pld-linux.org Git - packages/ssmtp.git/blob - ssmtp.spec
- up to 2.60.12
[packages/ssmtp.git] / ssmtp.spec
1 Summary:        Extremely simple MTA to get mail off the system to a mail hub
2 Summary(pl):    Skrajnie prosty MTA do przekazywania poczty z systemu do huba
3 Name:           ssmtp
4 Version:        2.60.12
5 Release:        0.1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://http.us.debian.org/debian/pool/main/s/ssmtp/%{name}_%{version}.tar.gz
9 # Source0-md5:  b8cad9f53e067a71209a209da4347858
10 Patch0:         %{name}-nonsl.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 Provides:       smtpdaemon
14 Obsoletes:      courier
15 Obsoletes:      exim
16 Obsoletes:      masqmail
17 Obsoletes:      omta
18 Obsoletes:      qmail
19 Obsoletes:      sendmail
20 Obsoletes:      sendmail-cf
21 Obsoletes:      sendmail-doc
22 Obsoletes:      smail
23 Obsoletes:      smtpdaemon
24 Obsoletes:      zmailer
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A secure, effective and simple way of getting mail off a system to
29 your mail hub. It contains no suid-binaries or other dangerous things
30 - no mail spool to poke around in, and no daemons running in the
31 background. Mail is simply forwarded to the configured mailhost.
32 Extremely easy configuration. WARNING: the above is all it does; it
33 does not receive mail, expand aliases or manage a queue. That belongs
34 on a mail hub with a system administrator.
35
36 %description -l pl
37 Bezpieczny, efektywny i prosty sposób przekazywania poczty z systemu
38 do w³asnego huba pocztowego. Nie zawiera suidowych binarek ani innych
39 niebezpiecznych rzeczy - nie ma spoola do wpychania czegokolwiek ani
40 demonów dzia³aj±cych w tle. Poczta jest po prostu przekazywana do
41 zewnêtrznego, skonfigurowanego serwera pocztowego. Skrajnie prosta
42 konfiguracja. UWAGA: powy¿sze to wszystko, co robi ten program; nie
43 odbiera poczty, nie rozwija aliasów ani nie zarz±dza kolejk±. To
44 nale¿y do huba pocztowego z w³asnym administratorem.
45
46 %prep
47 %setup -q -n %{name}-2.60
48 %patch0 -p1
49
50 %build
51 rm -f missing
52 %{__aclocal}
53 %{__autoconf}
54 %configure
55
56 %{__make} \
57         SSMTPCONFDIR=/etc/mail
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/mail,%{_prefix}/lib}
62
63 install ssmtp $RPM_BUILD_ROOT%{_sbindir}/ssmtp
64 install ssmtp.8 $RPM_BUILD_ROOT%{_mandir}/man8/ssmtp.8
65 install ssmtp.conf revaliases $RPM_BUILD_ROOT%{_sysconfdir}/mail
66 ln -sf %{_sbindir}/ssmtp $RPM_BUILD_ROOT%{_prefix}/lib/sendmail
67 ln -sf ssmtp $RPM_BUILD_ROOT%{_sbindir}/sendmail
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc README TLS
75 %attr(755,root,root) %{_sbindir}/*
76 %attr(755,root,root) %{_prefix}/lib/sendmail
77 %dir %{_sysconfdir}/mail
78 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/ssmtp.conf
79 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mail/revaliases
80 %{_mandir}/man8/ssmtp*
This page took 0.112142 seconds and 4 git commands to generate.