/[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.31 - (hide annotations) (download)
Tue Oct 27 17:43:52 2009 UTC (15 years, 1 month ago) by slords
Branch: MAIN
Changes since 1.30: +7 -2 lines
Translation updates

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

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