/[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.16 - (show annotations) (download)
Thu Jul 7 12:55:51 2016 UTC (7 years, 10 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-15_el6_sme
Changes since 1.15: +6 -3 lines
* Wed Jul 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-15.sme
- Add translation smeserver-vacation-1.1-locale-2016-07-07.patch
- Add translation smeserver-vacation-1.1-locale-2016-07-06.patch
- delegate the vacation messages by group permissions [SME: 9657]

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

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