/[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.26 - (hide annotations) (download)
Mon Apr 27 16:11:21 2009 UTC (15 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.25: +7 -2 lines
Apply locale changes

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

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