1 |
brianr |
1.1 |
# $Id: smeserver-fetchmail.spec,v 1.12 2019/12/07 04:04:16 jpp Exp $ |
2 |
|
|
# Authority: unnilennium |
3 |
|
|
# Name: Jean-Philippe Pialasse |
4 |
|
|
|
5 |
|
|
Summary: sme module to generate fetchmail poll |
6 |
|
|
%define name smeserver-fetchmail |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 1.6 |
9 |
|
|
%define release 15 |
10 |
|
|
%define smepanel FetchMails |
11 |
|
|
Version: %{version} |
12 |
|
|
Release: %{release}%{?dist} |
13 |
|
|
License: GPL |
14 |
|
|
Group: Networking/Daemons |
15 |
|
|
Source: %{name}-%{version}.tar.gz |
16 |
|
|
Patch0: smeserver-fetchmail-1.6-stop_bounce_loop.patch |
17 |
|
|
Patch1: smeserver-fetchmail-1.6-update_iptables_rules.patch |
18 |
|
|
Patch2: smeserver-fetchmail-1.6-update_event_handling.patch |
19 |
|
|
Patch3: smeserver-fetchmail-1.6-add_sslfingerprint.patch |
20 |
|
|
Patch4: smeserver-fetchmail-1.6-locale-2017-12-02.patch |
21 |
|
|
Patch5: smeserver-fetchmail-1.6-bz10538-force_spamcheck.patch |
22 |
|
|
Patch6: smeserver-fetchmail-1.6-locale-2018-12-14.patch |
23 |
|
|
Patch7: smeserver-fetchmail-1.6-locale-2019-12-07.patch |
24 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
|
|
BuildArchitectures: noarch |
26 |
|
|
Requires: smeserver-release >= 9.0 |
27 |
|
|
Requires: e-smith-email >= 4.16.0-18 |
28 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
|
|
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
30 |
|
|
Requires: qpsmtpd >= 0.96-11 |
31 |
|
|
Requires: smeserver-qpsmtpd >= 2.4.0-39 |
32 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
33 |
|
|
Obsoletes: sme-fetchmail |
34 |
|
|
Obsoletes: smeserver-fetchmail-utf8 |
35 |
|
|
AutoReqProv: no |
36 |
|
|
|
37 |
|
|
%changelog |
38 |
|
|
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.6-15.sme |
39 |
|
|
- apply locale 2019-12-07 patch |
40 |
|
|
|
41 |
|
|
* Fri Dec 14 2018 John Crisp <jcrsip@safeandsoundit.co.uk> 1.6.14.sme |
42 |
|
|
- apply locale 2018-12-14 patch |
43 |
|
|
|
44 |
|
|
* Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-13.sme |
45 |
|
|
- fix no spamcheck anymore for fetchmail [SME: 10290] |
46 |
|
|
|
47 |
|
|
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.6-12.sme |
48 |
|
|
- apply locale 2017-12-02 patch |
49 |
|
|
|
50 |
|
|
* Fri May 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-11.sme |
51 |
|
|
- added option field for sslfingerprint compatibility [SME: 8287] |
52 |
|
|
|
53 |
|
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-10.sme |
54 |
|
|
- Update event handling (remove broken symlinks) [SME: 9185] |
55 |
|
|
|
56 |
|
|
* Fri Jan 8 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-9.sme |
57 |
|
|
- Update iptables rules to prevent warning when starting masq [SME: 9180] |
58 |
|
|
|
59 |
|
|
* Fri Sep 24 2015 Daniel Berteaud <daniel@firewall-services.com> 1.6-8.sme |
60 |
|
|
- Fix bounce looping each time mails are fetch in case of |
61 |
|
|
permanent delivery failure [SME: 9074] |
62 |
|
|
|
63 |
|
|
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-7.sme |
64 |
|
|
- Initial release to contribs9 |
65 |
|
|
|
66 |
|
|
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-6.sme |
67 |
|
|
- Corrected a typo in the detection of smtpd port in the template 90fetchmail |
68 |
|
|
|
69 |
|
|
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-4.sme |
70 |
|
|
- Add settings if smtpd TCPPort set to a non default value [sme: 8797] |
71 |
|
|
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
72 |
|
|
|
73 |
|
|
* Sun Nov 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-3.sme |
74 |
|
|
- Recovery of large attachments with fetchmail [SME:8630] |
75 |
|
|
|
76 |
|
|
* Sun Oct 5 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-2.sme |
77 |
|
|
- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin |
78 |
|
|
|
79 |
|
|
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-1.sme |
80 |
|
|
- Initial release to sme9 |
81 |
|
|
|
82 |
|
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
83 |
|
|
- apply locale 2013-07-14 patch |
84 |
|
|
|
85 |
|
|
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
86 |
|
|
- Initial version |
87 |
|
|
|
88 |
|
|
%description |
89 |
|
|
sme server enhancement to make fetchmail more useable |
90 |
|
|
|
91 |
|
|
%prep |
92 |
|
|
%setup |
93 |
|
|
%patch0 -p1 |
94 |
|
|
%patch1 -p1 |
95 |
|
|
%patch2 -p1 |
96 |
|
|
%patch3 -p1 |
97 |
|
|
%patch4 -p1 |
98 |
|
|
%patch5 -p1 |
99 |
|
|
%patch6 -p1 |
100 |
|
|
%patch7 -p1 |
101 |
|
|
|
102 |
|
|
%build |
103 |
|
|
perl createlinks |
104 |
|
|
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
105 |
|
|
|
106 |
|
|
%install |
107 |
|
|
rm -rf $RPM_BUILD_ROOT |
108 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
109 |
|
|
rm -f %{name}-%{version}-filelist |
110 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
111 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
112 |
|
|
|
113 |
|
|
%clean |
114 |
|
|
rm -rf $RPM_BUILD_ROOT |
115 |
|
|
|
116 |
|
|
%files -f %{name}-%{version}-filelist |
117 |
|
|
%defattr(-,root,root) |