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