/[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.10 - (show annotations) (download)
Sat Sep 12 09:01:17 2015 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-9_el6_sme
Changes since 1.9: +3 -3 lines
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme
- Added smeserver-vacation-1.1-locale-2015-09-12.patch

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

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