1 |
# $Id: smeserver-fetchmail.spec,v 1.8 2021/11/17 19:26:07 jpp Exp $ |
# $Id: smeserver-fetchmail.spec,v 1.9 2022/07/22 06:33:43 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 23 |
%define release 24 |
10 |
%define smepanel FetchMails |
%define smepanel FetchMails |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
28 |
Patch12: smeserver-fetchmail-1.6-bz10289-force_spamcheck_revert.patch |
Patch12: smeserver-fetchmail-1.6-bz10289-force_spamcheck_revert.patch |
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 |
32 |
|
|
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
44 |
AutoReqProv: no |
AutoReqProv: no |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-24.sme |
48 |
|
- fix fetchmail restart downloading all emails after reboot [SME: 11979] |
49 |
|
thanks to Stefano Zamboni for debuging and original fix. |
50 |
|
|
51 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-23.sme |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-23.sme |
52 |
- apply locale patch 2022-07-22 |
- apply locale patch 2022-07-22 |
53 |
|
|
150 |
%patch12 -p1 |
%patch12 -p1 |
151 |
%patch13 -p1 |
%patch13 -p1 |
152 |
%patch14 -p1 |
%patch14 -p1 |
153 |
|
mkdir -p root/var/lib/fetchmail |
154 |
|
%patch15 -p1 |
155 |
|
|
156 |
%build |
%build |
157 |
perl createlinks |
perl createlinks |
161 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
162 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
163 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
164 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
165 |
|
--dir /var/lib/fetchmail 'attr(0750,qmailr:qmail)' \ |
166 |
|
> %{name}-%{version}-filelist |
167 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
168 |
|
|
169 |
%clean |
%clean |