1 |
# $Id: smeserver-fetchmail.spec,v 1.5 2021/08/22 04:20:19 terryfage Exp $ |
# $Id: smeserver-fetchmail.spec,v 1.14 2022/11/11 16:01:08 jpp Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
6 |
%define name smeserver-fetchmail |
%define name smeserver-fetchmail |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.6 |
%define version 1.6 |
9 |
%define release 20 |
%define release 27 |
10 |
%define smepanel FetchMails |
%define smepanel FetchMails |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
25 |
Patch9: smeserver-fetchmail-1.6-Add-Update-event-to-createlinks.patch |
Patch9: smeserver-fetchmail-1.6-Add-Update-event-to-createlinks.patch |
26 |
Patch10: smeserver-fetchmail-1.6-locale-2021-08-22.patch |
Patch10: smeserver-fetchmail-1.6-locale-2021-08-22.patch |
27 |
Patch11: smeserver-fetchmail-1.6-bz10538-force_spamcheck_fix.patch |
Patch11: smeserver-fetchmail-1.6-bz10538-force_spamcheck_fix.patch |
28 |
|
Patch12: smeserver-fetchmail-1.6-bz10289-force_spamcheck_revert.patch |
29 |
|
Patch13: smeserver-fetchmail-1.6-bz11058-fixpanel.patch |
30 |
|
Patch14: smeserver-fetchmail-1.6-locale-2022-07-22.patch |
31 |
|
Patch15: smeserver-fetchmail-1.6-bz11979-ids.patch |
32 |
|
Patch16: smeserver-fetchmail-1.6-locale-2022-11-11.patch |
33 |
|
Patch17: smeserver-fetchmail-1.6-locale-2024-09-05.patch |
34 |
|
|
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
37 |
Requires: smeserver-release >= 9.0 |
Requires: smeserver-release >= 10.0 |
38 |
Requires: e-smith-email >= 4.16.0-18 |
Requires: e-smith-email >= 5.6.0-18 |
39 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
40 |
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
41 |
Requires: qpsmtpd >= 0.96-11 |
Requires: qpsmtpd >= 0.96-11 |
46 |
AutoReqProv: no |
AutoReqProv: no |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 1.6-27.sme |
50 |
|
- Apply locale 2024-09-05.patch |
51 |
|
|
52 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-26.sme |
53 |
|
- Apply locale 2022-11-11 patch |
54 |
|
|
55 |
|
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-24.sme |
56 |
|
- fix fetchmail restart downloading all emails after reboot [SME: 11979] |
57 |
|
thanks to Stefano Zamboni for debuging and original fix. |
58 |
|
|
59 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-23.sme |
60 |
|
- apply locale patch 2022-07-22 |
61 |
|
|
62 |
|
* Wed Nov 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-22.sme |
63 |
|
- fix panel [SME: 11058] |
64 |
|
removed SMTP proxy and blocking option and redirect to Proxy panel |
65 |
|
TODO: module cleanup and cleanup of unused properties |
66 |
|
|
67 |
|
* Thu Oct 21 2021 Terry Fage <terry@fage.id.au> 1.6-21.sme |
68 |
|
- fix template 60fetchmail force spamcheck [SME: 10289] |
69 |
|
|
70 |
* Tue Oct 12 2021 Terry Fage <terry@fage.id.au> 1.6-20.sme |
* Tue Oct 12 2021 Terry Fage <terry@fage.id.au> 1.6-20.sme |
71 |
- fix template 60fetchmail force spamcheck [SME: 10538] |
- fix template 60fetchmail force spamcheck [SME: 10538] |
72 |
|
|
155 |
%patch9 -p1 |
%patch9 -p1 |
156 |
%patch10 -p1 |
%patch10 -p1 |
157 |
%patch11 -p1 |
%patch11 -p1 |
158 |
|
%patch12 -p1 |
159 |
|
%patch13 -p1 |
160 |
|
%patch14 -p1 |
161 |
|
mkdir -p root/var/lib/fetchmail |
162 |
|
%patch15 -p1 |
163 |
|
%patch16 -p1 |
164 |
|
%patch17 -p1 |
165 |
|
|
166 |
%build |
%build |
167 |
perl createlinks |
perl createlinks |
171 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
172 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
173 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
174 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
175 |
|
--dir /var/lib/fetchmail 'attr(0750,qmailr,qmail)' \ |
176 |
|
> %{name}-%{version}-filelist |
177 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
178 |
|
|
179 |
%clean |
%clean |