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

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

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


Revision 1.28 - (hide annotations) (download)
Sat Jun 6 00:58:19 2009 UTC (15 years, 5 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-35_el4_sme
Changes since 1.27: +7 -2 lines
* Sat Jun 06 2009 Stephen Noble <support@dungog.net> - 1.0-35
- cp .qmail fragment before SME filtering with filterorder prop [SME: 5327]

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

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