/[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.21 - (show annotations) (download)
Fri Jul 15 17:29:26 2016 UTC (8 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-20_el6_sme
Changes since 1.20: +8 -2 lines
* Fri Jul 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-20.sme
- Translation patch added
- Added smeserver-vacation-1.1-locale-2016-07-15.patch

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

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