/[smecontribs]/rpms/smeserver-vacation/contribs9/smeserver-vacation.spec
ViewVC logotype

Contents of /rpms/smeserver-vacation/contribs9/smeserver-vacation.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Thu Jan 8 08:41:12 2015 UTC (9 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-5_el6_sme
Changes since 1.4: +8 -3 lines
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme
- Do not localize From header (patch from Mats Schuh) [SME: 8776]

1 # $Id: smeserver-vacation.spec,v 1.4 2015/01/05 23:33:15 stephdl Exp $
2 # Authority: dungog
3 # Name: Stephen Noble
4
5 %define name smeserver-vacation
6 %define version 1.1
7 %define release 5
8 Summary: SME Server enhancement to enable vacation messages for users.
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GNU GPL version 2
13 URL: http://www.dungog.net/sme
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.xz
16 Patch0: smeserver-vacation-1.1-fix_dbmopen.patch
17 Patch1: smeserver-vacation-1.1-multiline_matching.patch
18 Patch2: smeserver-vacation-1.1-explain_better_virtual_sender_domain.patch
19 Patch3: smeserver-vacation-1.1-do_not_localize_from_header.patch
20 BuildArchitectures: noarch
21 BuildRoot: /var/tmp/%{name}-%{version}
22 Requires: e-smith-release >= 7.0,
23 Requires: e-smith-formmagick >= 1.4.0-12
24 BuildRequires: e-smith-devtools >= 1.13.1-03
25 AutoReqProv: no
26
27 %description
28 SME Server enhancement to enable vacation messages for users.
29 Optionally provides a user-manager panel where users can
30 enable vacation for themselves and to modify their own message
31
32 %changelog
33 * Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme
34 - Do not localize From header (patch from Mats Schuh) [SME: 8776]
35
36 * Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme
37 - Updated instructions to use virtual sender domain for vacation message
38 - Created by Mats Schuh m.schuh@neckargeo.net
39
40 * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme
41 - Fix multiline matching [SME: 8741]
42
43 * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme
44 - Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741]
45
46 * Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme
47 - Rebuild for SME9
48
49 * Mon Jul 15 2013 JP Pialasse <tests@pialasse.com> 1.0-41.sme
50 - apply locale 2013-07-15 patch
51
52 * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0-40.sme
53 - apply locale 2011-03-06 patch
54
55 * Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0-39.sme
56 - apply locale 2010-05-23 patch
57
58 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0-38.sme
59 - apply locale 2009-10-27 patch
60
61 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0-37.sme
62 - apply locale 2009-08-24 patch
63
64 * Thu Jun 11 2009 Stephen Noble <support@dungog.net> - 1.0-36
65 - send vacation mail in utf8 [SME 4389]
66
67 * Sat Jun 06 2009 Stephen Noble <support@dungog.net> - 1.0-35
68 - cp .qmail fragment before SME filtering with filterorder prop [SME: 5327]
69
70 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0-34.sme
71 - apply locale 2009-05-20 patch
72
73 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-33.sme
74 - apply locale 2009-04-27 patch
75
76 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-32
77 - Apply 1 Mar 2009 locale patch [SME: 5018]
78
79 * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-31
80 - Apply 1 Jan 2009 locale patch [SME: 4900]
81
82 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-30
83 - Apply 14 Oct 2008 locale patch
84
85 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29
86 - move .qmail fragment after SME forwarding [SME: 4603]
87 - Apply 27 August 2008 locale patch
88
89 * Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28
90 - Add precedence list to ignore functions to ignore, for instance,
91 mail from contribs.org mailinglists [SME: 4549]
92
93 * Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27
94 - Fix Locale to read vacation panel correctly. [SME: 4311]
95
96 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26
97 - Apply 1 July 2008 locale patch
98
99 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25
100 - Apply 5 May 2008 locale patch
101
102 * Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24
103 - Convert dos line endings to unix
104
105 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
106 - Add common <base> tags to e-smith-formmagick's general
107
108 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
109 - Apply 22 April 2008 locale patch
110
111 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21
112 - Update to UTF-8 translations
113
114 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20
115 - update locale 2008-03-14, removed -13
116
117 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19
118 - update locale 2008-03-13
119
120 * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18
121 - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
122
123 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17
124 - remove dud es patch
125
126 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16
127 - update locale 2008-03-11
128
129 * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15
130 - prepare en lexicons for pootle translations
131
132 * Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14
133 - fix spanish translation
134
135 * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13
136 - add spanish translation, thanks Normando Hall [SME 3503]
137
138 * Thu Jun 14 2007 Stephen Noble <support@dungog.net>
139 - apply updates up to -11
140
141 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
142 - Clean up spec so package can be built by koji/plague
143
144 * Fri Dec 29 2006 Stephen Noble <support@dungog.net>
145 - display Vacation status correctly on modify page in server-manager [sme 2200]
146 - [1.0-11]
147
148 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
149 - Update to new release naming. No functional changes.
150 - Make Packager generic
151
152 * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
153 - display description unshaded *
154 - german lexicon fix
155 - cosmetic log error fixed [sme 1992]
156 - [1.0-10]
157
158 * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
159 - now finds corrects vacation text when used under userpanel.
160 - german translation [sme 1101]
161 - [1.0-9]
162
163 * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
164 - suppress description if no users [contribs 1243]
165 - [1.0-8]
166
167 * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
168 - say no users if none exist [contribs 1243]
169 - display DomainName in email address [contribs 1242]
170 - [1.0-7]
171
172 * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
173 - unlink .vacation.msg before writing [contribs 1192]
174 - vacation doesn't respond to spam [contribs 1190]
175 - [1.0-6]
176
177 * Sat Mar 25 2006 Stephen Noble <support@dungog.net>
178 - updated lexicons
179 - removed event
180 - [1.0-5]
181
182 * Fri Mar 24 2006 Stephen Noble <support@dungog.net>
183 - Change the interval between repeat replies to the same sender
184 - config setprop qmail VacationDelay -t3d, man vacation
185 - reset vacationDB when setting status to no
186 - modified to, Subject: Re: $SUBJECT - Away from my email
187 - updated fr lexicon
188 - [1.0-4]
189
190 * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
191 - updated lexicons
192 - [1.0-3]
193
194 * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
195 - fr lexicon
196 - expand ~/.qmail on uninstall
197 - [1.0-2]
198
199 * Mon Mar 20 2006 Stephen Noble <support@dungog.net>
200 - FormMagick version
201 - [1.0-1]
202
203 * Mon Dec 12 2005 Stephen Noble <support@dungog.net>
204 - Strip out DOS Carriage Returns (CR)
205 - thanks to mike sensney
206 - [0.9-2]
207
208 * Sat Sep 03 2005 Stephen Noble <support@dungog.net>
209 - renamed smeserver-vacation,
210 - contains vacation & userpanel-vacation
211 - [0.9-1]
212
213 * Sat Sep 03 2005 David Beveridge <davidb@nass.com.au>
214 - [0.3-2]
215 - upgrade to work with AccountsDB on SME 7.0
216
217 * Mon Dec 31 2001 Daniel van Raay <danielvr@caa.org.au>
218 - [0.2-4]
219 - Added generated 'From:' lines to default reply message
220 - Minor cosmetic cleaning
221
222 * Fri Nov 23 2001 Daniel van Raay <danielvr@caa.org.au>
223 - [0.2-3]
224 - .vacation.db files are now deleted in the user-modify event
225
226 * Tue Nov 14 2001 Daniel van Raay <danielvr@caa.org.au>
227 - [0.2-2]
228 - fixed bug in vacation script that delivered multiple bounces to users
229
230 * Mon Sep 04 2001 Daniel van Raay <danielvr@caa.org.au>
231 - [0.2-1]
232 - added -j option to vacation command line
233 - updated for compatibility with e-smith 4.1
234
235 * Wed Dec 27 2000 Daniel van Raay <danielvr@caa.org.au>
236 - [0.1-1]
237 - initial release
238
239 %prep
240 %setup
241 %patch0 -p1
242 %patch1 -p1
243 %patch2 -p1
244 %patch3 -p1
245
246 %build
247 perl createlinks
248
249 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
250 for lexicon in $LEXICONS
251 do
252 /sbin/e-smith/validate-lexicon $lexicon
253 done
254
255 LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///')
256 for link in $LINKS
257 do
258 /bin/ln -s uservacations root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-vacation
259 done
260
261 %install
262 rm -rf $RPM_BUILD_ROOT
263 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
264 rm -f %{name}-%{version}-filelist
265 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
266 --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \
267 > %{name}-%{version}-filelist
268 echo "%doc COPYING" >> %{name}-%{version}-filelist
269
270 %clean
271 rm -rf $RPM_BUILD_ROOT
272
273 %pre
274 %preun
275
276 %post
277 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
278 /sbin/e-smith/signal-event conf-userpanel
279 fi
280
281 %postun
282 #uninstall
283 if [ $1 = 0 ] ; then
284
285 DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
286 for db in $DBS ; do
287 /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null
288 /sbin/e-smith/db $db delete uservacations 2>/dev/null
289 done
290
291 #need to expand ~/.qmail for users who are still enabled
292 /etc/e-smith/events/actions/qmail-update-user
293
294 fi
295
296
297 %files -f %{name}-%{version}-filelist
298 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed