1 |
# $Id: smeserver-fetchmail.spec,v 1.19 2008/11/25 16:20:22 slords Exp $ |
2 |
# Authority: ??? |
3 |
# Name: Pascal Schirrmann |
4 |
|
5 |
Summary: sme module to generate fetchmail poll |
6 |
%define name smeserver-fetchmail |
7 |
Name: %{name} |
8 |
%define version 1.3.6 |
9 |
%define release 13 |
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.3.6-createlnks.patch |
17 |
Patch1: smeserver-fetchmail-1.3.6-duplocale.patch |
18 |
Patch2: smeserver-fetchmail-1.3.6-locale-2008-04-24.patch |
19 |
Patch3: smeserver-fetchmail-1.3.6-locale-2008-04-26.patch |
20 |
Patch4: smeserver-fetchmail-1.3.6-add2general.patch |
21 |
Patch5: smeserver-fetchmail-1.3.6-locale-2008-04-27.patch |
22 |
Patch6: smeserver-fetchmail-1.3.6-locale-2008-07-01.patch |
23 |
Patch7: smeserver-fetchmail-1.3.6-locale-2008-10-14.patch |
24 |
Patch8: smeserver-fetchmail-1.3.6-locale-2008-11-05.patch |
25 |
Patch9: smeserver-fetchmail-1.3.6-locale-2009-01-01.patch |
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
28 |
Requires: smeserver-release >= 7.3 |
29 |
Requires: e-smith-email >= 4.16.0-18 |
30 |
Requires: e-smith-formmagick >= 1.4.0-12 |
31 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
32 |
Obsoletes: sme-fetchmail |
33 |
Obsoletes: smeserver-fetchmail-utf8 |
34 |
AutoReqProv: no |
35 |
|
36 |
%changelog |
37 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-13 |
38 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
39 |
|
40 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-12 |
41 |
- Apply 5 Nov 2008 locale patch |
42 |
|
43 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-11 |
44 |
- Apply 14 Oct 2008 locale patch |
45 |
|
46 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-10 |
47 |
- Apply 1 July 2008 locale patch |
48 |
|
49 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-9 |
50 |
- Apply 5 May 2008 locale patch |
51 |
|
52 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-8 |
53 |
- Add common <base> tags to e-smith-formmagick's general to other locales |
54 |
|
55 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-7 |
56 |
- Add common <base> tags to e-smith-formmagick's general |
57 |
|
58 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-6 |
59 |
- Added da locale patch |
60 |
|
61 |
* Thu Apr 24 2008 Shad L. Lords <slords@mail.com> 1.3.6-5 |
62 |
- update locale to Apr-24-2008 version (fix fr/de/it translations) |
63 |
|
64 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-4 |
65 |
- Added locale patch |
66 |
|
67 |
* Mon Apr 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-3 |
68 |
- Removed %post macro as instructions were irrelevant and caused errors |
69 |
|
70 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> 1.3.6-2.sme |
71 |
- Remove duplicate translation entries |
72 |
|
73 |
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 1.3.6-1.sme |
74 |
- Cleanup tar file. Prepare for import to buildsys. |
75 |
|
76 |
* Tue Mar 20 2007 Pascal Schirrmann <schirrms@schirrms.net> |
77 |
- some translations typo create troubles on new installations. |
78 |
- Thanks to Dietmar Berteld, new German Translation |
79 |
[1.3.5-01] |
80 |
* Mon Mar 05 2007 Pascal Schirrmann <schirrms@schirrms.net> |
81 |
- SME 7.1 came with a major change in the incomming mails work: internal mails weren't any more processed by |
82 |
SpamAssassin. But mails coming via fetchmails were seen as local mails ! |
83 |
SME 7.1.1 come with a workaround for that, and this version uses this workaround. |
84 |
Therefore, version 1.3.5 and up are no more comatible with SME 7.1.0 and below |
85 |
Big thanks to Yves for his help |
86 |
- Experimental support for SPOP mail (tested with gmail only) |
87 |
- Better support of the fetchmail postmaster configuration. |
88 |
- Adds the long waited 'timeout' option to limit the wait time in case of a non responding server (1 min default) |
89 |
This is a system wide configuration, and only by the database. |
90 |
[1.3.5-00] |
91 |
* Wed Oct 25 2006 Pascal Schirrmann <schirrms@schirrms.net> |
92 |
- SME7 now supports login name with a dot. But this brokes some parts of smeserver-fetchmail, |
93 |
if case of multi recipients (smeserver-fetchmail use qmail groups, who don't like dot in their filename) |
94 |
[1.3.4-10] |
95 |
* Wed Apr 26 2006 Pascal Schirrmann <schirrms@schirrms.net> |
96 |
- some features were broken in SME 7, due to changes in the actions directory |
97 |
I made my best to create a version working on SME 6 and SME 7 but this is ugly ! |
98 |
- IMAP is now the default choice when creating a new fetch rule, as fetchmail |
99 |
works better with IMAP than POP3. |
100 |
- Thanks to Dietmar Berteld, a german translation |
101 |
[1.3.4-09] |
102 |
* Sat Jan 14 2006 Pascal Schirrmann <schirrms@schirrms.net> |
103 |
- SMEServer is an obsoleted package. Version check now on e-smith-release |
104 |
- New English version, thanks to Dave Dumolo |
105 |
- A Mail server can now be set by its IP address |
106 |
- some changes to hopefully suppress all errors during uninstall/upgrade |
107 |
[1.3.4-08] |
108 |
* Sat Oct 22 2005 Pascal Schirrmann <schirrms@schirrms.net> |
109 |
- bug correction : smeserver-fetchmail didn't work on SME7beta4 |
110 |
and newer : there was a call to a sessiondir sub in the package |
111 |
FormMagick, but this sub is no longer present. |
112 |
As the call was only here for debug purpose, the change was easy ;-) |
113 |
[1.3.4-07] |
114 |
* Fri Aug 19 2005 Pascal Schirrmann <schirrms@schirrms.net> |
115 |
- Rush correction : the use of the smarthost as a destination |
116 |
server for fetchmail was a terrible mistake. |
117 |
now the server use the internal mail server. |
118 |
- also trying to use a more academic patch way for the |
119 |
intermediate releases. |
120 |
[1.3.4-06] |
121 |
* Tue Aug 02 2005 Pascal Schirrmann <schirrms@schirrms.net> |
122 |
- add a test to be compatible with SME 7.0 Alpha |
123 |
- put the destination server as a variable |
124 |
- add the italian translation, many thanks to |
125 |
Antonio Fragola - MrShark - www.mrshark.it |
126 |
[1.3.4-05] |
127 |
* Sat Apr 30 2005 Pascal Schirrmann <schirrms@schirrms.net> |
128 |
- change a record creation mode in fetchmail_temp.db to |
129 |
be compatible with the SME 6.5 validator |
130 |
- change the offending fm% prefix to fm_fm- |
131 |
[1.3.4-04] |
132 |
* Sat Feb 05 2005 Vincent Filali <vincent@e-smith.dyndns.org> |
133 |
- Some changes to be more compatible with anti spam mailrules |
134 |
[1.3.4-03] |
135 |
* Thu Jun 03 2004 Pascal Schirrmann <schirrms@schirrms.net> |
136 |
- Some visuals improvments in the footer update ;-) |
137 |
[1.3.4-02] |
138 |
* Wed Jun 02 2004 Pascal Schirrmann <schirrms@schirrms.net> |
139 |
- add a mail ref in the panels. |
140 |
[1.3.4-01] |
141 |
* Sun May 30 2004 Pascal Schirrmann <schirrms@schirrms.net> |
142 |
- Some ligth internals changes : add of a version field in |
143 |
database, use of const in some perl scrips, separator changes |
144 |
in the user database. |
145 |
- It's now possible to have more than one external e-mail |
146 |
redirection. |
147 |
- possibiliy to block SMTP and NNTP access. |
148 |
[1.3.4-00] |
149 |
* Mon May 10 2004 Pascal Schirrmann <schirrms@schirrms.net> |
150 |
- account and password are stored 'in Hex' to avoid conflicts. |
151 |
- Seems that every characters could be use in external names |
152 |
and password, but the pipe cannit be use : FormMagick |
153 |
doesn't like it ! |
154 |
[1.3.3-02] |
155 |
* Mon May 10 2004 Pascal Schirrmann <schirrms@schirrms.net> |
156 |
- Some small changes in 'special characters' protection in |
157 |
90fetchmail. |
158 |
[1.3.3-01] |
159 |
* Sun May 09 2004 Pascal Schirrmann <schirrms@schirrms.net> |
160 |
- Even simpler, even safer : as the TransOption can |
161 |
conflict with the Ghost Option i removed it |
162 |
[1.3.3-00] |
163 |
* Sun May 09 2004 Pascal Schirrmann <schirrms@schirrms.net> |
164 |
- the use of maillist is a success ;-) so we use now |
165 |
also the maillist for an external mail |
166 |
[1.3.2-01] |
167 |
* Sun May 09 2004 Pascal Schirrmann <schirrms@schirrms.net> |
168 |
- brand new way for MailCopyTo : creation of mail lists |
169 |
(all prefixed by FM% to avoid name clash) and use of theses |
170 |
lists to distribute a mail. |
171 |
[1.3.2-00] |
172 |
* Sat May 08 2004 Pascal Schirrmann <schirrms@schirrms.net> |
173 |
- MailCopyto bahavior change : the option 'fetchall' is no |
174 |
more present |
175 |
(this was a wrong way: see above) |
176 |
[1.3.1-02] |
177 |
* Fri May 07 2004 Pascal Schirrmann <schirrms@schirrms.net> |
178 |
- BugFix: In debug mode, only one ext mailboxe was debuged |
179 |
[1.3.1-01] |
180 |
* Fri May 07 2004 Pascal Schirrmann <schirrms@schirrms.net> |
181 |
- All Fetchmails records in user database now prefixed 'FM-' |
182 |
[1.3.1-00] |
183 |
* Sun May 02 2004 Pascal Schirrmann <schirrms@schirrms.net> |
184 |
- French Lexicon added. |
185 |
[1.3.0-03] |
186 |
* Sun May 02 2004 Pascal Schirrmann <schirrms@schirrms.net> |
187 |
- Some changes in 90fetchmail : now, alls access to the |
188 |
database are done 'new style'. |
189 |
- Finals steps before a french version. |
190 |
[1.3.0-02] |
191 |
* Sat May 01 2004 Pascal Schirrmann <schirrms@schirrms.net> |
192 |
- A little bug in crontab template. |
193 |
- Cosmetics works. |
194 |
[1.3.0-01] |
195 |
* Sat May 01 2004 Pascal Schirrmann <schirrms@schirrms.net> |
196 |
- First 'working' beta release. Need lot of cosmetics works. |
197 |
- Change numbering to a more classical way. |
198 |
[1.3.0-00] |
199 |
* Sat Apr 24 2004 Pascal Schirrmann <schirrms@schirrms.net> |
200 |
- intermediate 'release' should give a beta. |
201 |
[1.3-0] |
202 |
* Sun Mar 21 2004 Pascal Schirrmann <schirrms@schirrms.net> |
203 |
- Start a new release, FormMagick Compliant ;-) |
204 |
- change the name to smeserver-fetchmail |
205 |
[1.2-0] |
206 |
* Mon Mar 15 2004 Pascal Schirrmann <schirrms@schirrms.net> |
207 |
- This is a 'very light' version ! |
208 |
- Moved all templates to templates dir |
209 |
- create an entry fetchmailbis in the database (name to change) |
210 |
- fetchmailbis works even if fetchmail is desactivated |
211 |
- no design change now |
212 |
[1.1-01] |
213 |
* Sun Mar 14 2004 Pascal Schirrmann <schirrms@schirrms.net> |
214 |
- Start a new test release |
215 |
[1.1-0] |
216 |
* Fri Aug 24 2001 Filali-Ansary vincent <filali.v@tiscali.fr> |
217 |
- initial release |
218 |
[1.0-2] |
219 |
|
220 |
%description |
221 |
sme server enhancement to make fetchmail more useable |
222 |
|
223 |
%prep |
224 |
%setup |
225 |
%patch0 -p1 |
226 |
%patch1 -p1 |
227 |
%patch2 -p1 |
228 |
%patch3 -p1 |
229 |
%patch4 -p1 |
230 |
%patch5 -p1 |
231 |
%patch6 -p1 |
232 |
%patch7 -p1 |
233 |
%patch8 -p1 |
234 |
%patch9 -p1 |
235 |
|
236 |
%build |
237 |
perl createlinks |
238 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
239 |
|
240 |
%install |
241 |
rm -rf $RPM_BUILD_ROOT |
242 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
243 |
rm -f %{name}-%{version}-filelist |
244 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
245 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
246 |
|
247 |
%clean |
248 |
rm -rf $RPM_BUILD_ROOT |
249 |
|
250 |
%files -f %{name}-%{version}-filelist |
251 |
%defattr(-,root,root) |