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

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

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


Revision 1.23 - (hide annotations) (download)
Sat Jul 16 06:19:59 2016 UTC (8 years, 3 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-22_el6_sme
Changes since 1.22: +5 -2 lines
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-22.sme
- Added a capital to subject : Subject [SME: 8772]

1 stephdl 1.23 # $Id: smeserver-vacation.spec,v 1.22 2016/07/15 18:22:13 stephdl Exp $
2 vip-ire 1.1 # Authority: dungog
3     # Name: Stephen Noble
4    
5     %define name smeserver-vacation
6     %define version 1.1
7 stephdl 1.23 %define release 22
8 vip-ire 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.xz
16 vip-ire 1.2 Patch0: smeserver-vacation-1.1-fix_dbmopen.patch
17 vip-ire 1.3 Patch1: smeserver-vacation-1.1-multiline_matching.patch
18 stephdl 1.4 Patch2: smeserver-vacation-1.1-explain_better_virtual_sender_domain.patch
19 vip-ire 1.5 Patch3: smeserver-vacation-1.1-do_not_localize_from_header.patch
20 vip-ire 1.6 Patch4: smeserver-vacation-1.1-subject_match_case_insensitive.patch
21 stephdl 1.7 Patch5: smeserver-vacation-1.1-auto_enable_disable_vacation.patch
22 stephdl 1.9 Patch6: smeserver-vacation-1.1-locale-2015-09-12.patch
23 mats-ng 1.11 Patch7: smeserver-vacation-1.1-suppress_cron_mail.patch
24 mats-ng 1.12 Patch8: smeserver-vacation-1.1-locale-2015-09-29.patch
25 unnilennium 1.13 Patch9: smeserver-vacation-1.1-locale-2016-03-08.patch
26 stephdl 1.14 Patch10: smeserver-vacation-1.1.auto_enable_disable_vacation_userpanel.patch
27     Patch11: smeserver-vacation-1.1-locale-2016-06-21.patch
28 stephdl 1.15 Patch12: smeserver-vacation-1.1.delegate_vacation_message_by_groups.patch
29     Patch13: smeserver-vacation-1.1-locale-2016-07-06.patch
30 stephdl 1.16 Patch14: smeserver-vacation-1.1-locale-2016-07-07.patch
31 stephdl 1.18 Patch15: smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch
32     Patch16: smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
33 stephdl 1.21 Patch17: smeserver-vacation-1.1-locale-2016-07-15.patch
34 vip-ire 1.1 BuildArchitectures: noarch
35     BuildRoot: /var/tmp/%{name}-%{version}
36 stephdl 1.9 Requires: e-smith-release >= 9.0,
37 vip-ire 1.1 Requires: e-smith-formmagick >= 1.4.0-12
38     BuildRequires: e-smith-devtools >= 1.13.1-03
39     AutoReqProv: no
40    
41     %description
42     SME Server enhancement to enable vacation messages for users.
43     Optionally provides a user-manager panel where users can
44     enable vacation for themselves and to modify their own message
45    
46     %changelog
47 stephdl 1.23 * Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-22.sme
48     - Added a capital to subject : Subject [SME: 8772]
49    
50 stephdl 1.22 * Fri Jul 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-21.sme
51 stephdl 1.21 - Translation patch added
52     - Added smeserver-vacation-1.1-locale-2016-07-15.patch
53 stephdl 1.22 - Added a signature in the email body
54     - modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
55 stephdl 1.21
56 stephdl 1.20 * Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-19.sme
57 stephdl 1.19 - corrected the object email issue [SME: 8772]
58     - modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
59    
60 stephdl 1.18 * Sun Jul 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-17.sme
61     - Fixed the auto enabled and disable vacation message [SME: 9661]
62     - Added smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch
63     - Fixed the translation of the vacation message [SME: 8772]
64     - Added smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
65 stephdl 1.17
66 stephdl 1.16 * Wed Jul 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-15.sme
67     - Add translation smeserver-vacation-1.1-locale-2016-07-07.patch
68 stephdl 1.15 - Add translation smeserver-vacation-1.1-locale-2016-07-06.patch
69     - delegate the vacation messages by group permissions [SME: 9657]
70    
71 stephdl 1.14 * Wed Jun 22 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-13.sme
72     - Add the automated and disabling user vacations on given date in the user panel.
73     - Add translation smeserver-vacation-1.1-locale-2016-06-21.patch
74    
75 unnilennium 1.13 * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.1-12.sme
76     - Added smeserver-vacation-1.1-locale-2016-03-08.patch
77    
78 mats-ng 1.12 * Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme
79     - Added smeserver-vacation-1.1-locale-2015-09-29.patch
80    
81 mats-ng 1.11 * Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme
82     - suppress the mail output from the cron job [SME: 9065]
83    
84 stephdl 1.10 * Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme
85 stephdl 1.9 - Added smeserver-vacation-1.1-locale-2015-09-12.patch
86    
87 stephdl 1.7 * Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme
88     - code done by Mats Schuh <m.schuh@neckargeo.net>
89     - Allow automated enabling and disabling of user vacations on given dates [SME: 7555]
90     - Above functionality provided by additional db accounts entries and a cron script
91    
92 vip-ire 1.6 * Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme
93     - Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777]
94    
95 vip-ire 1.5 * Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme
96     - Do not localize From header (patch from Mats Schuh) [SME: 8776]
97    
98 stephdl 1.4 * Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme
99     - Updated instructions to use virtual sender domain for vacation message
100     - Created by Mats Schuh m.schuh@neckargeo.net
101    
102 vip-ire 1.5 * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme
103 vip-ire 1.3 - Fix multiline matching [SME: 8741]
104    
105 vip-ire 1.2 * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme
106     - Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741]
107    
108 vip-ire 1.1 * Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme
109     - Rebuild for SME9
110    
111     * Mon Jul 15 2013 JP Pialasse <tests@pialasse.com> 1.0-41.sme
112     - apply locale 2013-07-15 patch
113    
114     * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0-40.sme
115     - apply locale 2011-03-06 patch
116    
117     * Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0-39.sme
118     - apply locale 2010-05-23 patch
119    
120     * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0-38.sme
121     - apply locale 2009-10-27 patch
122    
123     * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0-37.sme
124     - apply locale 2009-08-24 patch
125    
126     * Thu Jun 11 2009 Stephen Noble <support@dungog.net> - 1.0-36
127     - send vacation mail in utf8 [SME 4389]
128    
129     * Sat Jun 06 2009 Stephen Noble <support@dungog.net> - 1.0-35
130     - cp .qmail fragment before SME filtering with filterorder prop [SME: 5327]
131    
132     * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0-34.sme
133     - apply locale 2009-05-20 patch
134    
135     * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-33.sme
136     - apply locale 2009-04-27 patch
137    
138     * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-32
139     - Apply 1 Mar 2009 locale patch [SME: 5018]
140    
141     * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-31
142     - Apply 1 Jan 2009 locale patch [SME: 4900]
143    
144     * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-30
145     - Apply 14 Oct 2008 locale patch
146    
147     * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29
148     - move .qmail fragment after SME forwarding [SME: 4603]
149     - Apply 27 August 2008 locale patch
150    
151     * Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28
152     - Add precedence list to ignore functions to ignore, for instance,
153     mail from contribs.org mailinglists [SME: 4549]
154    
155     * Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27
156     - Fix Locale to read vacation panel correctly. [SME: 4311]
157    
158     * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26
159     - Apply 1 July 2008 locale patch
160    
161     * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25
162     - Apply 5 May 2008 locale patch
163    
164     * Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24
165     - Convert dos line endings to unix
166    
167     * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
168     - Add common <base> tags to e-smith-formmagick's general
169    
170     * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
171     - Apply 22 April 2008 locale patch
172    
173     * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21
174     - Update to UTF-8 translations
175    
176     * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20
177     - update locale 2008-03-14, removed -13
178    
179     * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19
180     - update locale 2008-03-13
181    
182     * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18
183     - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
184    
185     * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17
186     - remove dud es patch
187    
188     * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16
189     - update locale 2008-03-11
190    
191     * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15
192     - prepare en lexicons for pootle translations
193    
194     * Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14
195     - fix spanish translation
196    
197     * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13
198     - add spanish translation, thanks Normando Hall [SME 3503]
199    
200     * Thu Jun 14 2007 Stephen Noble <support@dungog.net>
201     - apply updates up to -11
202    
203     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
204     - Clean up spec so package can be built by koji/plague
205    
206     * Fri Dec 29 2006 Stephen Noble <support@dungog.net>
207     - display Vacation status correctly on modify page in server-manager [sme 2200]
208     - [1.0-11]
209    
210     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
211     - Update to new release naming. No functional changes.
212     - Make Packager generic
213    
214     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
215     - display description unshaded *
216     - german lexicon fix
217     - cosmetic log error fixed [sme 1992]
218     - [1.0-10]
219    
220     * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
221     - now finds corrects vacation text when used under userpanel.
222     - german translation [sme 1101]
223     - [1.0-9]
224    
225     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
226     - suppress description if no users [contribs 1243]
227     - [1.0-8]
228    
229     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
230     - say no users if none exist [contribs 1243]
231     - display DomainName in email address [contribs 1242]
232     - [1.0-7]
233    
234     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
235     - unlink .vacation.msg before writing [contribs 1192]
236     - vacation doesn't respond to spam [contribs 1190]
237     - [1.0-6]
238    
239     * Sat Mar 25 2006 Stephen Noble <support@dungog.net>
240     - updated lexicons
241     - removed event
242     - [1.0-5]
243    
244     * Fri Mar 24 2006 Stephen Noble <support@dungog.net>
245     - Change the interval between repeat replies to the same sender
246     - config setprop qmail VacationDelay -t3d, man vacation
247     - reset vacationDB when setting status to no
248     - modified to, Subject: Re: $SUBJECT - Away from my email
249     - updated fr lexicon
250     - [1.0-4]
251    
252     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
253     - updated lexicons
254     - [1.0-3]
255    
256     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
257     - fr lexicon
258     - expand ~/.qmail on uninstall
259     - [1.0-2]
260    
261     * Mon Mar 20 2006 Stephen Noble <support@dungog.net>
262     - FormMagick version
263     - [1.0-1]
264    
265     * Mon Dec 12 2005 Stephen Noble <support@dungog.net>
266     - Strip out DOS Carriage Returns (CR)
267     - thanks to mike sensney
268     - [0.9-2]
269    
270     * Sat Sep 03 2005 Stephen Noble <support@dungog.net>
271     - renamed smeserver-vacation,
272     - contains vacation & userpanel-vacation
273     - [0.9-1]
274    
275     * Sat Sep 03 2005 David Beveridge <davidb@nass.com.au>
276     - [0.3-2]
277     - upgrade to work with AccountsDB on SME 7.0
278    
279     * Mon Dec 31 2001 Daniel van Raay <danielvr@caa.org.au>
280     - [0.2-4]
281     - Added generated 'From:' lines to default reply message
282     - Minor cosmetic cleaning
283    
284     * Fri Nov 23 2001 Daniel van Raay <danielvr@caa.org.au>
285     - [0.2-3]
286     - .vacation.db files are now deleted in the user-modify event
287    
288     * Tue Nov 14 2001 Daniel van Raay <danielvr@caa.org.au>
289     - [0.2-2]
290     - fixed bug in vacation script that delivered multiple bounces to users
291    
292     * Mon Sep 04 2001 Daniel van Raay <danielvr@caa.org.au>
293     - [0.2-1]
294     - added -j option to vacation command line
295     - updated for compatibility with e-smith 4.1
296    
297     * Wed Dec 27 2000 Daniel van Raay <danielvr@caa.org.au>
298     - [0.1-1]
299     - initial release
300    
301     %prep
302     %setup
303 vip-ire 1.2 %patch0 -p1
304 vip-ire 1.3 %patch1 -p1
305 stephdl 1.4 %patch2 -p1
306 vip-ire 1.5 %patch3 -p1
307 vip-ire 1.6 %patch4 -p1
308 stephdl 1.7 %patch5 -p1
309 stephdl 1.9 %patch6 -p1
310 mats-ng 1.11 %patch7 -p1
311 mats-ng 1.12 %patch8 -p1
312 unnilennium 1.13 %patch9 -p1
313 stephdl 1.14 %patch10 -p1
314     %patch11 -p1
315 stephdl 1.15 %patch12 -p1
316     %patch13 -p1
317 stephdl 1.16 %patch14 -p1
318 stephdl 1.17 %patch15 -p1
319 stephdl 1.18 %patch16 -p1
320 stephdl 1.21 %patch17 -p1
321 vip-ire 1.1
322     %build
323     perl createlinks
324    
325     LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
326     for lexicon in $LEXICONS
327     do
328     /sbin/e-smith/validate-lexicon $lexicon
329     done
330    
331     LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///')
332     for link in $LINKS
333     do
334     /bin/ln -s uservacations root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-vacation
335     done
336    
337     %install
338     rm -rf $RPM_BUILD_ROOT
339     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
340     rm -f %{name}-%{version}-filelist
341     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
342     --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \
343 stephdl 1.7 --file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \
344 vip-ire 1.1 > %{name}-%{version}-filelist
345     echo "%doc COPYING" >> %{name}-%{version}-filelist
346    
347     %clean
348     rm -rf $RPM_BUILD_ROOT
349    
350     %pre
351     %preun
352    
353     %post
354     if [ -d /etc/e-smith/events/conf-userpanel ] ; then
355     /sbin/e-smith/signal-event conf-userpanel
356     fi
357    
358     %postun
359     #uninstall
360     if [ $1 = 0 ] ; then
361    
362     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
363     for db in $DBS ; do
364     /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null
365     /sbin/e-smith/db $db delete uservacations 2>/dev/null
366     done
367    
368     #need to expand ~/.qmail for users who are still enabled
369     /etc/e-smith/events/actions/qmail-update-user
370    
371     fi
372    
373    
374     %files -f %{name}-%{version}-filelist
375     %defattr(-,root,root)

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