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