1 |
# $Id: smeserver-fetchmail.spec,v 1.6 2015/02/06 09:34:25 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.4 |
9 |
%define release 7 |
10 |
%define smepanel FetchMails |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tgz |
16 |
Patch0: smeserver-fetchmail-1.4-locale-2013-07-14.patch |
17 |
Patch1: smeserver-fetchmail-1.4.non_standard_smtpd_TCPPort.patch |
18 |
Patch2: smeserver-fetchmail-1.4.Recovery_of_large_attachments_with_fetchmail.patch |
19 |
Patch3: smeserver-fetchmail_add_sslfingerprint.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
22 |
Requires: smeserver-release >= 8.0 |
23 |
Requires: e-smith-email >= 4.16.0-18 |
24 |
Requires: e-smith-formmagick >= 1.4.0-12 |
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
Obsoletes: sme-fetchmail |
27 |
Obsoletes: smeserver-fetchmail-utf8 |
28 |
AutoReqProv: no |
29 |
|
30 |
%changelog |
31 |
* Tue Mar 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme |
32 |
- NFR: sslfingerprint option for german providers [SME: 8287] |
33 |
- code from Pascal SCHIRRMANN, patch from Stephane de Labrusse |
34 |
|
35 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-6.sme |
36 |
- Add settings if smtpd TCPPort set to a non default value |
37 |
- [sme: 8836] |
38 |
|
39 |
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-4.sme |
40 |
- recovery large attachments with fetchmail [SME: 8630] |
41 |
|
42 |
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-3.sme |
43 |
- Add settings if smtpd TCPPort set to a non default value [sme: 8796] |
44 |
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
45 |
|
46 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
47 |
- apply locale 2013-07-14 patch |
48 |
|
49 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
50 |
- Initial version |
51 |
|
52 |
%description |
53 |
sme server enhancement to make fetchmail more useable |
54 |
|
55 |
%prep |
56 |
%setup |
57 |
%patch0 -p1 |
58 |
%patch1 -p1 |
59 |
%patch2 -p1 |
60 |
%patch3 -p1 |
61 |
|
62 |
%build |
63 |
perl createlinks |
64 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
65 |
|
66 |
%install |
67 |
rm -rf $RPM_BUILD_ROOT |
68 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
69 |
rm -f %{name}-%{version}-filelist |
70 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
71 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
72 |
|
73 |
%clean |
74 |
rm -rf $RPM_BUILD_ROOT |
75 |
|
76 |
%files -f %{name}-%{version}-filelist |
77 |
%defattr(-,root,root) |