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