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

Annotation of /rpms/smeserver-vacation/contribs8/smeserver-vacation.spec

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


Revision 1.4 - (hide annotations) (download)
Mon Jul 15 23:31:55 2013 UTC (11 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-41_el5_sme
Changes since 1.3: +7 -2 lines
* Mon Jul 15 2013 JP Pialasse <tests@pialasse.com> 1.0-41.sme
- apply locale 2013-07-15 patch

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

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