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