1 |
# $Id: smeserver-fetchmail.spec,v 1.9 2022/07/22 06:33:43 jpp Exp $ |
# $Id: smeserver-fetchmail.spec,v 1.12 2022/07/30 02:33:49 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 24 |
%define release 25 |
10 |
%define smepanel FetchMails |
%define smepanel FetchMails |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
29 |
Patch13: smeserver-fetchmail-1.6-bz11058-fixpanel.patch |
Patch13: smeserver-fetchmail-1.6-bz11058-fixpanel.patch |
30 |
Patch14: smeserver-fetchmail-1.6-locale-2022-07-22.patch |
Patch14: smeserver-fetchmail-1.6-locale-2022-07-22.patch |
31 |
Patch15: smeserver-fetchmail-1.6-bz11979-ids.patch |
Patch15: smeserver-fetchmail-1.6-bz11979-ids.patch |
32 |
|
Patch16: smeserver-fetchmail-1.6-locale-2022-11-11.patch |
33 |
|
|
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
Requires: smeserver-release >= 9.0 |
Requires: smeserver-release >= 10.0 |
37 |
Requires: e-smith-email >= 4.16.0-18 |
Requires: e-smith-email >= 5.6.0-18 |
38 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
39 |
# 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 |
40 |
Requires: qpsmtpd >= 0.96-11 |
Requires: qpsmtpd >= 0.96-11 |
45 |
AutoReqProv: no |
AutoReqProv: no |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-25.sme |
49 |
|
- Apply locale 2022-11-11 patch |
50 |
|
|
51 |
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-24.sme |
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-24.sme |
52 |
- fix fetchmail restart downloading all emails after reboot [SME: 11979] |
- fix fetchmail restart downloading all emails after reboot [SME: 11979] |
53 |
thanks to Stefano Zamboni for debuging and original fix. |
thanks to Stefano Zamboni for debuging and original fix. |
156 |
%patch14 -p1 |
%patch14 -p1 |
157 |
mkdir -p root/var/lib/fetchmail |
mkdir -p root/var/lib/fetchmail |
158 |
%patch15 -p1 |
%patch15 -p1 |
159 |
|
%patch16 -p1 |
160 |
|
|
161 |
%build |
%build |
162 |
perl createlinks |
perl createlinks |
167 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
168 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
169 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
170 |
--dir /var/lib/fetchmail 'attr(0750,qmailr:qmail)' \ |
--dir /var/lib/fetchmail 'attr(0750,qmailr,qmail)' \ |
171 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
172 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
173 |
|
|