1 |
Summary: notify senders about email that has been held in the qmail queue |
2 |
%define name smeserver-qmail-notify |
3 |
Name: %{name} |
4 |
%define version 2.0.0 |
5 |
%define release 3 |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
License: GPLv2+ |
9 |
Group: Networking/Info |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Packager: Peter Schubert <psc@s-a-c-o.de> |
12 |
URL: http://www.saco-support.de/SME |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
15 |
BuildRequires: e-smith-devtools |
16 |
Requires: e-smith-base |
17 |
Requires: e-smith-lib |
18 |
Requires: perl |
19 |
Requires: qmail-notify |
20 |
Patch1: smeserver-qmail-notify-fix-cron-typo.patch |
21 |
Patch2: smeserver-qmail-notify-fix-crontab-timing.patch |
22 |
|
23 |
AutoReqProv: no |
24 |
%description |
25 |
This package provides templates for a program to notify senders |
26 |
about email that has been held in the qmail queue |
27 |
|
28 |
%changelog |
29 |
* Mon Sep 27 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.0.0-3.sme |
30 |
- Fix timing in cron template - Zsolt Vasarhelyi [SME: 11542] |
31 |
|
32 |
* Thu Sep 23 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.0.0-2.sme |
33 |
- Fix typo in cron template - Zsolt Vasarhelyi [SME:11542] |
34 |
|
35 |
* Fri Apr 09 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.0.0-1.sme |
36 |
- First Import to SME Contribs [SME: 11542] |
37 |
- Template crontab |
38 |
- DB configuration enabled, hours, nminutes, alt filename |
39 |
|
40 |
* Thu Aug 29 2002 Peter Schubert <psc@s-a-c-o.de> 1.0.0-01 |
41 |
- First release |
42 |
|
43 |
%prep |
44 |
|
45 |
%setup |
46 |
%patch1 -p1 |
47 |
%patch2 -p1 |
48 |
|
49 |
%build |
50 |
|
51 |
%install |
52 |
rm -rf $RPM_BUILD_ROOT |
53 |
|
54 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
55 |
rm -f e-smith-%{version}-filelist |
56 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
57 |
|
58 |
%clean |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
|
61 |
%files -f %{name}-%{version}-filelist |
62 |
|
63 |
%defattr(-,root,root) |
64 |
|
65 |
%pre |
66 |
|
67 |
%post |
68 |
/sbin/e-smith/expand-template /etc/crontab |
69 |
|
70 |
%preun |
71 |
|
72 |
%postun |