/[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.2 - (show annotations) (download)
Wed Dec 24 09:02:26 2014 UTC (9 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-2_el6_sme
Changes since 1.1: +7 -2 lines
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme
- Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741]

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

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