/[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.1 - (show annotations) (download)
Wed Nov 13 10:43:03 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-1_el6_sme
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme
- Rebuild for SME9

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

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