1 |
# $Id: smeserver-fetchmail.spec,v 1.2 2015/08/22 19:40:02 stephdl 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 8 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: smeserver-release >= 9.0 |
20 |
Requires: e-smith-email >= 4.16.0-18 |
21 |
Requires: e-smith-formmagick >= 1.4.0-12 |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
Obsoletes: sme-fetchmail |
24 |
Obsoletes: smeserver-fetchmail-utf8 |
25 |
AutoReqProv: no |
26 |
|
27 |
%changelog |
28 |
* Fri Sep 24 2015 Daniel Berteaud <daniel@firewall-services.com> 1.6-8.sme |
29 |
- Fix bounce looping each time mails are fetch in case of |
30 |
permanent delivery failure [SME: 9074] |
31 |
|
32 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-7.sme |
33 |
- Initial release to contribs9 |
34 |
|
35 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-6.sme |
36 |
- Corrected a typo in the detection of smtpd port in the template 90fetchmail |
37 |
|
38 |
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-4.sme |
39 |
- Add settings if smtpd TCPPort set to a non default value [sme: 8797] |
40 |
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
41 |
|
42 |
* Sun Nov 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-3.sme |
43 |
- Recovery of large attachments with fetchmail [SME:8630] |
44 |
|
45 |
* Sun Oct 5 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-2.sme |
46 |
- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin |
47 |
|
48 |
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-1.sme |
49 |
- Initial release to sme9 |
50 |
|
51 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
52 |
- apply locale 2013-07-14 patch |
53 |
|
54 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
55 |
- Initial version |
56 |
|
57 |
%description |
58 |
sme server enhancement to make fetchmail more useable |
59 |
|
60 |
%prep |
61 |
%setup |
62 |
%patch0 -p1 |
63 |
|
64 |
%build |
65 |
perl createlinks |
66 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
67 |
|
68 |
%install |
69 |
rm -rf $RPM_BUILD_ROOT |
70 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
71 |
rm -f %{name}-%{version}-filelist |
72 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
73 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
74 |
|
75 |
%clean |
76 |
rm -rf $RPM_BUILD_ROOT |
77 |
|
78 |
%files -f %{name}-%{version}-filelist |
79 |
%defattr(-,root,root) |