1 |
# $Id: smeserver-vacation.spec,v 1.10 2008/04/22 09:06:22 snetram Exp $ |
# $Id: smeserver-vacation.spec,v 1.19 2008/09/27 09:26:49 dungog 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 23 |
%define release 29 |
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} |
20 |
Patch4: smeserver-vacation-1.0-locale-2008-04-01.patch |
Patch4: smeserver-vacation-1.0-locale-2008-04-01.patch |
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 |
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 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
30 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
31 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
32 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-12 |
33 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
34 |
AutoReqProv: no |
AutoReqProv: no |
35 |
|
|
39 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29 |
43 |
|
- move .qmail fragment after SME forwarding [SME: 4603] |
44 |
|
- Apply 27 August 2008 locale patch |
45 |
|
|
46 |
|
* Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28 |
47 |
|
- Add precedence list to ignore functions to ignore, for instance, |
48 |
|
mail from contribs.org mailinglists [SME: 4549] |
49 |
|
|
50 |
|
* Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27 |
51 |
|
- Fix Locale to read vacation panel correctly. [SME: 4311] |
52 |
|
|
53 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26 |
54 |
|
- Apply 1 July 2008 locale patch |
55 |
|
|
56 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25 |
57 |
|
- Apply 5 May 2008 locale patch |
58 |
|
|
59 |
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24 |
60 |
|
- Convert dos line endings to unix |
61 |
|
|
62 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23 |
63 |
- Add common <base> tags to e-smith-formmagick's general |
- Add common <base> tags to e-smith-formmagick's general |
64 |
|
|
202 |
%patch4 -p1 |
%patch4 -p1 |
203 |
%patch5 -p1 |
%patch5 -p1 |
204 |
%patch6 -p1 |
%patch6 -p1 |
205 |
|
%patch7 -p1 |
206 |
|
%patch8 -p1 |
207 |
|
%patch9 -p1 |
208 |
|
%patch10 -p1 |
209 |
|
%patch11 -p1 |
210 |
|
%patch12 -p1 |
211 |
|
|
212 |
%build |
%build |
213 |
perl createlinks |
perl createlinks |
218 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
219 |
done |
done |
220 |
|
|
221 |
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\///') |
222 |
for link in $LINKS |
for link in $LINKS |
223 |
do |
do |
224 |
/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 |