/[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.30 - (hide annotations) (download)
Mon Aug 24 17:58:13 2009 UTC (15 years, 3 months ago) by slords
Branch: MAIN
Changes since 1.29: +7 -2 lines
Translation updates

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

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