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