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