1 |
|
# $Id: smeserver-vacation.spec,v 1.25 2009/03/01 19:31:27 snetram 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 33 |
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 |
|
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 |
|
Patch13: smeserver-vacation-1.0-locale-2008-10-14.patch |
30 |
|
Patch14: smeserver-vacation-1.0-locale-2009-01-01.patch |
31 |
|
Patch15: smeserver-vacation-1.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-vacation-1.0-locale-2009-04-27.patch |
33 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
35 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
36 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
37 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
38 |
AutoReqProv: no |
AutoReqProv: no |
39 |
|
|
43 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-33.sme |
47 |
|
- apply locale 2009-04-27 patch |
48 |
|
|
49 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-32 |
50 |
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
51 |
|
|
52 |
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-31 |
53 |
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
54 |
|
|
55 |
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-30 |
56 |
|
- Apply 14 Oct 2008 locale patch |
57 |
|
|
58 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29 |
59 |
|
- move .qmail fragment after SME forwarding [SME: 4603] |
60 |
|
- Apply 27 August 2008 locale patch |
61 |
|
|
62 |
|
* Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28 |
63 |
|
- Add precedence list to ignore functions to ignore, for instance, |
64 |
|
mail from contribs.org mailinglists [SME: 4549] |
65 |
|
|
66 |
|
* Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27 |
67 |
|
- Fix Locale to read vacation panel correctly. [SME: 4311] |
68 |
|
|
69 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26 |
70 |
|
- Apply 1 July 2008 locale patch |
71 |
|
|
72 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25 |
73 |
|
- Apply 5 May 2008 locale patch |
74 |
|
|
75 |
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24 |
76 |
|
- Convert dos line endings to unix |
77 |
|
|
78 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23 |
79 |
|
- Add common <base> tags to e-smith-formmagick's general |
80 |
|
|
81 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22 |
82 |
|
- Apply 22 April 2008 locale patch |
83 |
|
|
84 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21 |
85 |
|
- Update to UTF-8 translations |
86 |
|
|
87 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20 |
88 |
|
- update locale 2008-03-14, removed -13 |
89 |
|
|
90 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19 |
91 |
|
- update locale 2008-03-13 |
92 |
|
|
93 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18 |
94 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
95 |
|
|
96 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17 |
97 |
|
- remove dud es patch |
98 |
|
|
99 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
100 |
|
- update locale 2008-03-11 |
101 |
|
|
102 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
103 |
- prepare en lexicons for pootle translations |
- prepare en lexicons for pootle translations |
104 |
|
|
214 |
%patch0 -p1 |
%patch0 -p1 |
215 |
%patch1 -p1 |
%patch1 -p1 |
216 |
%patch2 -p1 |
%patch2 -p1 |
217 |
|
%patch3 -p1 |
218 |
|
%patch4 -p1 |
219 |
|
%patch5 -p1 |
220 |
|
%patch6 -p1 |
221 |
|
%patch7 -p1 |
222 |
|
%patch8 -p1 |
223 |
|
%patch9 -p1 |
224 |
|
%patch10 -p1 |
225 |
|
%patch11 -p1 |
226 |
|
%patch12 -p1 |
227 |
|
%patch13 -p1 |
228 |
|
%patch14 -p1 |
229 |
|
%patch15 -p1 |
230 |
|
%patch16 -p1 |
231 |
|
|
232 |
%build |
%build |
233 |
perl createlinks |
perl createlinks |
234 |
|
|
235 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
|
|
|
236 |
for lexicon in $LEXICONS |
for lexicon in $LEXICONS |
237 |
do |
do |
238 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
239 |
done |
done |
240 |
|
|
241 |
#todo it sv |
LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///') |
242 |
for LINK in en-us fr de es |
for link in $LINKS |
243 |
do |
do |
244 |
/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 |
245 |
done |
done |
246 |
|
|
247 |
%install |
%install |