/[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.17 - (hide annotations) (download)
Sun Jul 10 15:01:51 2016 UTC (8 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-16_el6_sme
Changes since 1.16: +8 -2 lines
* Sun Jul 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-16.sme
- Fixed the auto enabled and disable vacation message
- Added smeserver-vacation-1.1.9661.fix_auto_enable_disable_vacation.patch

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

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