/[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.8 - (hide annotations) (download)
Sat Sep 5 07:17:18 2015 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-8_el6_sme
Changes since 1.7: +2 -2 lines
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme
- code done by Mats Schuh <m.schuh@neckargeo.net>
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555]
- Above functionality provided by additional db accounts entries and a cron script

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

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