1 |
%define name smeserver-vacation |
%define name smeserver-vacation |
2 |
%define version 1.0 |
%define version 1.0 |
3 |
%define release 15 |
%define release 16 |
4 |
Summary: SME Server enhancement to enable vacation messages for users. |
Summary: SME Server enhancement to enable vacation messages for users. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
12 |
Patch0: smeserver-vacation-1.0-frMenuSplit.patch |
Patch0: smeserver-vacation-1.0-frMenuSplit.patch |
13 |
Patch1: smeserver-vacation-1.0-esLocale2.patch |
Patch1: smeserver-vacation-1.0-esLocale2.patch |
14 |
Patch2: smeserver-vacation-1.0-pootle.patch |
Patch2: smeserver-vacation-1.0-pootle.patch |
15 |
|
Patch3: smeserver-vacation-1.0-locale-2008-03-11.patch |
16 |
|
|
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
19 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
26 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
30 |
|
- update locale 2008-03-11 |
31 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
32 |
- prepare en lexicons for pootle translations |
- prepare en lexicons for pootle translations |
|
|
|
33 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
34 |
- fix spanish translation |
- fix spanish translation |
|
|
|
35 |
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13 |
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13 |
36 |
- add spanish translation, thanks Normando Hall [SME 3503] |
- add spanish translation, thanks Normando Hall [SME 3503] |
|
|
|
37 |
* Thu Jun 14 2007 Stephen Noble <support@dungog.net> |
* Thu Jun 14 2007 Stephen Noble <support@dungog.net> |
38 |
- apply updates up to -11 |
- apply updates up to -11 |
39 |
|
|
140 |
%patch0 -p1 |
%patch0 -p1 |
141 |
%patch1 -p1 |
%patch1 -p1 |
142 |
%patch2 -p1 |
%patch2 -p1 |
143 |
|
%patch3 -p1 |
144 |
|
|
145 |
%build |
%build |
146 |
perl createlinks |
perl createlinks |
147 |
|
|
148 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
|
|
|
149 |
for lexicon in $LEXICONS |
for lexicon in $LEXICONS |
150 |
do |
do |
151 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
152 |
done |
done |
153 |
|
|
154 |
#todo it sv |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
155 |
for LINK in en-us fr de es |
for link in $LINKS |
156 |
do |
do |
157 |
/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 |
158 |
done |
done |
159 |
|
|
160 |
%install |
%install |