1 |
|
# $Id: smeserver-vacation.spec,v 1.9 2008/04/02 15:04:00 slords Exp $ |
2 |
|
# Authority: dungog |
3 |
|
# 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 15 |
%define release 22 |
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} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-vacation-1.0-frMenuSplit.patch |
Patch0: smeserver-vacation-1.0-frMenuSplit.patch |
17 |
Patch1: smeserver-vacation-1.0-esLocale2.patch |
Patch1: smeserver-vacation-1.0-pootle.patch |
18 |
Patch2: smeserver-vacation-1.0-pootle.patch |
Patch2: smeserver-vacation-1.0-locale-2008-03-11.patch |
19 |
|
Patch3: smeserver-vacation-1.0-locale-2008-03-14.patch |
20 |
|
Patch4: smeserver-vacation-1.0-locale-2008-04-01.patch |
21 |
|
Patch5: smeserver-vacation-1.0-locale-2008-04-22.patch |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
24 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
25 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
32 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22 |
36 |
|
- Apply 22 April 2008 locale patch |
37 |
|
|
38 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21 |
39 |
|
- Update to UTF-8 translations |
40 |
|
|
41 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20 |
42 |
|
- update locale 2008-03-14, removed -13 |
43 |
|
|
44 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19 |
45 |
|
- update locale 2008-03-13 |
46 |
|
|
47 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18 |
48 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
49 |
|
|
50 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17 |
51 |
|
- remove dud es patch |
52 |
|
|
53 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
54 |
|
- update locale 2008-03-11 |
55 |
|
|
56 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
57 |
- prepare en lexicons for pootle translations |
- prepare en lexicons for pootle translations |
58 |
|
|
168 |
%patch0 -p1 |
%patch0 -p1 |
169 |
%patch1 -p1 |
%patch1 -p1 |
170 |
%patch2 -p1 |
%patch2 -p1 |
171 |
|
%patch3 -p1 |
172 |
|
%patch4 -p1 |
173 |
|
%patch5 -p1 |
174 |
|
|
175 |
%build |
%build |
176 |
perl createlinks |
perl createlinks |
177 |
|
|
178 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
|
|
|
179 |
for lexicon in $LEXICONS |
for lexicon in $LEXICONS |
180 |
do |
do |
181 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
182 |
done |
done |
183 |
|
|
184 |
#todo it sv |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
185 |
for LINK in en-us fr de es |
for link in $LINKS |
186 |
do |
do |
187 |
/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 |
188 |
done |
done |
189 |
|
|
190 |
%install |
%install |