1 |
# $Id: smeserver-sendmail-wrapper.spec,v 1.10 2017/02/06 17:01:42 unnilennium Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-sendmail-wrapper |
6 |
%define name smeserver-sendmail-wrapper |
7 |
%define version 0.1 |
8 |
%define release 1 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
Requires: smeserver-release >= 9.0 |
19 |
|
20 |
%description |
21 |
sendmail wrapper and templates to redirect php emails to qpsmtpd instead of qmail. |
22 |
This is intended to introduce a little more verification before sending email thanks to the plugins of qpsmtpd instead of simply sending them blindly withthe qmail sendmail wrapper. |
23 |
|
24 |
%prep |
25 |
%setup |
26 |
|
27 |
%build |
28 |
#/usr/bin/perl createlinks |
29 |
|
30 |
%install |
31 |
/bin/rm -rf $RPM_BUILD_ROOT |
32 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
33 |
/bin/rm -f %{name}-%{version}-filelist |
34 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
35 |
|
36 |
%files -f %{name}-%{version}-filelist |
37 |
%defattr(-,root,root,-) |
38 |
|
39 |
%clean |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
|
42 |
%post |
43 |
touch /etc/hosts.deny_ssh |
44 |
|
45 |
%changelog |
46 |
* Fri Aug 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme |
47 |
- Initial version |