1 |
|
# $Id: smeserver-vacation.spec,v 1.17 2008/08/13 17:11:15 bytegw 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 28 |
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 |
|
Patch9: smeserver-vacation-1.0-Locale.patch |
26 |
|
Patch10: smeserver-vacation-1.0-addPrecedenceList.patch |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
29 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
30 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
31 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
32 |
AutoReqProv: no |
AutoReqProv: no |
33 |
|
|
37 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28 |
41 |
|
- Add precedence list to ignore functions to ignore, for instance, |
42 |
|
mail from contribs.org mailinglists [SME: 4549] |
43 |
|
|
44 |
|
* Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27 |
45 |
|
- Fix Locale to read vacation panel correctly. [SME: 4311] |
46 |
|
|
47 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26 |
48 |
|
- Apply 1 July 2008 locale patch |
49 |
|
|
50 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25 |
51 |
|
- Apply 5 May 2008 locale patch |
52 |
|
|
53 |
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24 |
54 |
|
- Convert dos line endings to unix |
55 |
|
|
56 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23 |
57 |
|
- Add common <base> tags to e-smith-formmagick's general |
58 |
|
|
59 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22 |
60 |
|
- Apply 22 April 2008 locale patch |
61 |
|
|
62 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21 |
63 |
|
- Update to UTF-8 translations |
64 |
|
|
65 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20 |
66 |
|
- update locale 2008-03-14, removed -13 |
67 |
|
|
68 |
|
* Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19 |
69 |
|
- update locale 2008-03-13 |
70 |
|
|
71 |
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18 |
72 |
|
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858] |
73 |
|
|
74 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17 |
75 |
|
- remove dud es patch |
76 |
|
|
77 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
78 |
|
- update locale 2008-03-11 |
79 |
|
|
80 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
81 |
|
- prepare en lexicons for pootle translations |
82 |
|
|
83 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
84 |
- fix spanish translation |
- fix spanish translation |
85 |
|
|
190 |
%prep |
%prep |
191 |
%setup |
%setup |
192 |
%patch0 -p1 |
%patch0 -p1 |
193 |
%patch1 -p2 |
%patch1 -p1 |
194 |
|
%patch2 -p1 |
195 |
|
%patch3 -p1 |
196 |
|
%patch4 -p1 |
197 |
|
%patch5 -p1 |
198 |
|
%patch6 -p1 |
199 |
|
%patch7 -p1 |
200 |
|
%patch8 -p1 |
201 |
|
%patch9 -p1 |
202 |
|
%patch10 -p1 |
203 |
|
|
204 |
%build |
%build |
205 |
perl createlinks |
perl createlinks |
206 |
|
|
207 |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
|
|
|
208 |
for lexicon in $LEXICONS |
for lexicon in $LEXICONS |
209 |
do |
do |
210 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
211 |
done |
done |
212 |
|
|
213 |
#todo it sv |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
214 |
for LINK in en-us fr de es |
for link in $LINKS |
215 |
do |
do |
216 |
/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 |
217 |
done |
done |
218 |
|
|
219 |
%install |
%install |