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