1 |
jcrisp |
1.3 |
Summary: notify senders about email that has been held in the qmail queue |
2 |
jcrisp |
1.1 |
%define name smeserver-qmail-notify |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 2.0.0 |
5 |
brianr |
1.4 |
%define release 4 |
6 |
jcrisp |
1.1 |
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 |
jcrisp |
1.2 |
Patch1: smeserver-qmail-notify-fix-cron-typo.patch |
21 |
jcrisp |
1.3 |
Patch2: smeserver-qmail-notify-fix-crontab-timing.patch |
22 |
brianr |
1.4 |
Patch3: smeserver-qmail-notify-2.0.0-fix-createlinks-update-event.patch |
23 |
jcrisp |
1.1 |
|
24 |
|
|
AutoReqProv: no |
25 |
|
|
%description |
26 |
|
|
This package provides templates for a program to notify senders |
27 |
|
|
about email that has been held in the qmail queue |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
brianr |
1.4 |
* Mon Sep 27 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.0-4.sme |
31 |
|
|
- Fix up createlinks to create update event [SME: 11542 ] |
32 |
|
|
|
33 |
jcrisp |
1.3 |
* Mon Sep 27 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.0.0-3.sme |
34 |
|
|
- Fix timing in cron template - Zsolt Vasarhelyi [SME: 11542] |
35 |
|
|
|
36 |
jcrisp |
1.2 |
* Thu Sep 23 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.0.0-2.sme |
37 |
jcrisp |
1.3 |
- Fix typo in cron template - Zsolt Vasarhelyi [SME:11542] |
38 |
jcrisp |
1.2 |
|
39 |
jcrisp |
1.1 |
* Fri Apr 09 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.0.0-1.sme |
40 |
|
|
- First Import to SME Contribs [SME: 11542] |
41 |
|
|
- Template crontab |
42 |
|
|
- DB configuration enabled, hours, nminutes, alt filename |
43 |
|
|
|
44 |
|
|
* Thu Aug 29 2002 Peter Schubert <psc@s-a-c-o.de> 1.0.0-01 |
45 |
|
|
- First release |
46 |
|
|
|
47 |
|
|
%prep |
48 |
|
|
|
49 |
|
|
%setup |
50 |
jcrisp |
1.2 |
%patch1 -p1 |
51 |
jcrisp |
1.3 |
%patch2 -p1 |
52 |
brianr |
1.4 |
%patch3 -p1 |
53 |
jcrisp |
1.1 |
|
54 |
|
|
%build |
55 |
|
|
|
56 |
brianr |
1.4 |
perl createlinks |
57 |
|
|
|
58 |
jcrisp |
1.1 |
rm -rf $RPM_BUILD_ROOT |
59 |
|
|
|
60 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
61 |
|
|
rm -f e-smith-%{version}-filelist |
62 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
63 |
|
|
|
64 |
|
|
%clean |
65 |
|
|
rm -rf $RPM_BUILD_ROOT |
66 |
|
|
|
67 |
|
|
%files -f %{name}-%{version}-filelist |
68 |
|
|
|
69 |
|
|
%defattr(-,root,root) |
70 |
|
|
|
71 |
|
|
%pre |
72 |
|
|
|
73 |
|
|
%post |
74 |
|
|
/sbin/e-smith/expand-template /etc/crontab |
75 |
|
|
|
76 |
|
|
%preun |
77 |
|
|
|
78 |
|
|
%postun |