1 |
# $Id: smeserver-vacation.spec,v 1.12 2008/04/28 23:21:45 slords Exp $ |
# $Id: smeserver-vacation.spec,v 1.25 2009/03/01 19:31:27 snetram Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-vacation |
%define name smeserver-vacation |
6 |
%define version 1.0 |
%define version 1.0 |
7 |
%define release 24 |
%define release 33 |
8 |
Summary: SME Server enhancement to enable vacation messages for users. |
Summary: SME Server enhancement to enable vacation messages for users. |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
21 |
Patch5: smeserver-vacation-1.0-locale-2008-04-22.patch |
Patch5: smeserver-vacation-1.0-locale-2008-04-22.patch |
22 |
Patch6: smeserver-vacation-1.0-add2general.patch |
Patch6: smeserver-vacation-1.0-add2general.patch |
23 |
Patch7: smeserver-vacation-1.0-dos2unix.patch |
Patch7: smeserver-vacation-1.0-dos2unix.patch |
24 |
|
Patch8: smeserver-vacation-1.0-locale-2008-07-01.patch |
25 |
|
Patch9: smeserver-vacation-1.0-Locale.patch |
26 |
|
Patch10: smeserver-vacation-1.0-addPrecedenceList.patch |
27 |
|
Patch11: smeserver-vacation-1.0-locale-2008-09-27.patch |
28 |
|
Patch12: smeserver-vacation-1.0-74vacationMessage.patch |
29 |
|
Patch13: smeserver-vacation-1.0-locale-2008-10-14.patch |
30 |
|
Patch14: smeserver-vacation-1.0-locale-2009-01-01.patch |
31 |
|
Patch15: smeserver-vacation-1.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-vacation-1.0-locale-2009-04-27.patch |
33 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
35 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
43 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-33.sme |
47 |
|
- apply locale 2009-04-27 patch |
48 |
|
|
49 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-32 |
50 |
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
51 |
|
|
52 |
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-31 |
53 |
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
54 |
|
|
55 |
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-30 |
56 |
|
- Apply 14 Oct 2008 locale patch |
57 |
|
|
58 |
|
* 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 |
|
* 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 |
|
* Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27 |
67 |
|
- Fix Locale to read vacation panel correctly. [SME: 4311] |
68 |
|
|
69 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26 |
70 |
|
- Apply 1 July 2008 locale patch |
71 |
|
|
72 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25 |
73 |
|
- Apply 5 May 2008 locale patch |
74 |
|
|
75 |
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24 |
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24 |
76 |
- Convert dos line endings to unix |
- Convert dos line endings to unix |
77 |
|
|
219 |
%patch5 -p1 |
%patch5 -p1 |
220 |
%patch6 -p1 |
%patch6 -p1 |
221 |
%patch7 -p1 |
%patch7 -p1 |
222 |
|
%patch8 -p1 |
223 |
|
%patch9 -p1 |
224 |
|
%patch10 -p1 |
225 |
|
%patch11 -p1 |
226 |
|
%patch12 -p1 |
227 |
|
%patch13 -p1 |
228 |
|
%patch14 -p1 |
229 |
|
%patch15 -p1 |
230 |
|
%patch16 -p1 |
231 |
|
|
232 |
%build |
%build |
233 |
perl createlinks |
perl createlinks |
238 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
239 |
done |
done |
240 |
|
|
241 |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///') |
242 |
for link in $LINKS |
for link in $LINKS |
243 |
do |
do |
244 |
/bin/ln -s uservacations root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-vacation |
/bin/ln -s uservacations root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-vacation |