/[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.4 - (show annotations) (download)
Mon Jan 5 23:33:15 2015 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-4_el6_sme
Changes since 1.3: +8 -2 lines
* Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme
- Updated instructions to use virtual sender domain for vacation message
- Created by Mats Schuh m.schuh@neckargeo.net

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

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