1 |
%define name smeserver-vacation |
%define name smeserver-vacation |
2 |
%define version 1.0 |
%define version 1.0 |
3 |
%define release 15 |
%define release 17 |
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} |
10 |
Group: SMEserver/addon |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
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-pootle.patch |
14 |
Patch2: smeserver-vacation-1.0-pootle.patch |
Patch2: smeserver-vacation-1.0-locale-2008-03-11.patch |
15 |
|
|
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
25 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17 |
29 |
|
- remove dud es patch |
30 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
31 |
|
- update locale 2008-03-11 |
32 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
33 |
- prepare en lexicons for pootle translations |
- prepare en lexicons for pootle translations |
|
|
|
34 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
35 |
- fix spanish translation |
- fix spanish translation |
|
|
|
36 |
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13 |
* Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13 |
37 |
- add spanish translation, thanks Normando Hall [SME 3503] |
- add spanish translation, thanks Normando Hall [SME 3503] |
|
|
|
38 |
* Thu Jun 14 2007 Stephen Noble <support@dungog.net> |
* Thu Jun 14 2007 Stephen Noble <support@dungog.net> |
39 |
- apply updates up to -11 |
- apply updates up to -11 |
40 |
|
|
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 |