1 |
|
# $Id: smeserver-vacation.spec,v 1.15 2008/06/27 20:05:31 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 14 |
%define release 26 |
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-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 |
|
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 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
27 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
28 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
35 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26 |
39 |
|
- Apply 1 July 2008 locale patch |
40 |
|
|
41 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25 |
42 |
|
- Apply 5 May 2008 locale patch |
43 |
|
|
44 |
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24 |
45 |
|
- Convert dos line endings to unix |
46 |
|
|
47 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23 |
48 |
|
- Add common <base> tags to e-smith-formmagick's general |
49 |
|
|
50 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22 |
51 |
|
- Apply 22 April 2008 locale patch |
52 |
|
|
53 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21 |
54 |
|
- Update to UTF-8 translations |
55 |
|
|
56 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20 |
57 |
|
- update locale 2008-03-14, removed -13 |
58 |
|
|
59 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19 |
60 |
|
- update locale 2008-03-13 |
61 |
|
|
62 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18 |
63 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
64 |
|
|
65 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17 |
66 |
|
- remove dud es patch |
67 |
|
|
68 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
69 |
|
- update locale 2008-03-11 |
70 |
|
|
71 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
72 |
|
- prepare en lexicons for pootle translations |
73 |
|
|
74 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
75 |
- fix spanish translation |
- fix spanish translation |
76 |
|
|
181 |
%prep |
%prep |
182 |
%setup |
%setup |
183 |
%patch0 -p1 |
%patch0 -p1 |
184 |
%patch1 -p2 |
%patch1 -p1 |
185 |
|
%patch2 -p1 |
186 |
|
%patch3 -p1 |
187 |
|
%patch4 -p1 |
188 |
|
%patch5 -p1 |
189 |
|
%patch6 -p1 |
190 |
|
%patch7 -p1 |
191 |
|
%patch8 -p1 |
192 |
|
|
193 |
%build |
%build |
194 |
perl createlinks |
perl createlinks |
195 |
|
|
196 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
|
|
|
197 |
for lexicon in $LEXICONS |
for lexicon in $LEXICONS |
198 |
do |
do |
199 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
200 |
done |
done |
201 |
|
|
202 |
#todo it sv |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
203 |
for LINK in en-us fr de es |
for link in $LINKS |
204 |
do |
do |
205 |
/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 |
206 |
done |
done |
207 |
|
|
208 |
%install |
%install |