/[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.6 - (hide annotations) (download)
Thu Jan 8 08:47:33 2015 UTC (9 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-6_el6_sme
Changes since 1.5: +7 -2 lines
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777]

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

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