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

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

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


Revision 1.31 - (show annotations) (download)
Tue Oct 27 17:43:52 2009 UTC (15 years ago) by slords
Branch: MAIN
Changes since 1.30: +7 -2 lines
Translation updates

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

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