/[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.3 - (show annotations) (download)
Wed Dec 24 09:08:46 2014 UTC (9 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-3_el6_sme
Changes since 1.2: +7 -2 lines
*  Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme
- Fix multiline matching [SME: 8741]

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

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