]> git.pld-linux.org Git - packages/ssmtp.git/blame - ssmtp.spec
- init PLD spec
[packages/ssmtp.git] / ssmtp.spec
CommitLineData
48d8affe 1Summary: Extremely simple MTA to get mail off the system to a mail hub
2Name: ssmtp
3Version: 2.60.3
4Release: 0.1
5License: GPL
6Group: Networking/Daemons
7Source0: %{name}_%{version}.tar.gz
8#Source0-md5: b9b1c07f513ff2b46ae8a09eaf3e04e5
9Patch0: %{name}-nonsl.patch
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%description
13A secure, effective and simple way of getting mail off a system to
14your mail hub. It contains no suid-binaries or other dangerous things
15- no mail spool to poke around in, and no daemons running in the
16background. Mail is simply forwarded to the configured mailhost.
17Extremely easy configuration. WARNING: the above is all it does; it
18does not receive mail, expand aliases or manage a queue. That belongs
19on a mail hub with a system administrator.
20
21%prep
22%setup -q -n %{name}-2.60
23%patch0 -p1
24
25%build
26rm -f missing
27%{__aclocal}
28%{__autoconf}
29%configure
30%{__make} SSMTPCONFDIR=/etc/ssmtp
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
35install -D ssmtp $RPM_BUILD_ROOT/%{_sbindir}/ssmtp
36install -D ssmtp.8 $RPM_BUILD_ROOT/%{_mandir}/man8/ssmtp.8
37install -D ssmtp.conf $RPM_BUILD_ROOT%{_sysconfdir}/ssmtp/ssmtp.conf
38install revaliases $RPM_BUILD_ROOT%{_sysconfdir}/ssmtp/
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc README TLS
46%attr(755,root,root) %{_sbindir}/*
47%attr( 644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssmtp/ssmtp.conf
48%attr( 644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssmtp/revaliases
49
50%{_mandir}/man8/ssmtp*
This page took 0.03128 seconds and 4 git commands to generate.