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