2 |
%define name smeserver-remoteuseraccess |
%define name smeserver-remoteuseraccess |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.2 |
%define version 1.2 |
5 |
%define release 13 |
%define release 14 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
|
Distribution: SME Server |
|
8 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
9 |
URL: http://www.dungog.net/sme |
URL: http://www.dungog.net/sme |
10 |
Group: Networking/Daemons |
Group: Networking/Daemons |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
Patch0: smeserver-remoteuseraccess-fr.patch |
Patch0: smeserver-remoteuseraccess-fr.patch |
13 |
|
Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch |
14 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
15 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
* Thu Dec 20 2007 Stephen Noble <support@dungog.net> |
* Thu Dec 20 2007 Stephen Noble <support@dungog.net> |
39 |
|
- french menu fix 1.2-14 |
40 |
|
|
41 |
|
* Thu Dec 20 2007 Stephen Noble <support@dungog.net> |
42 |
- french translation, thanks Sylvain 1.2-13 |
- french translation, thanks Sylvain 1.2-13 |
43 |
|
|
44 |
* Wed Jun 13 2007 Stephen Noble <support@dungog.net> |
* Wed Jun 13 2007 Stephen Noble <support@dungog.net> |
144 |
%prep |
%prep |
145 |
%setup |
%setup |
146 |
%patch0 -p1 |
%patch0 -p1 |
147 |
|
%patch1 -p1 |
148 |
|
|
149 |
%build |
%build |
150 |
perl createlinks |
perl createlinks |
151 |
|
|
152 |
LEXICONS1=$(find root/etc/e-smith/locale/ -type f ) |
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f ) |
|
LEXICONS2=$(find root/etc/e-smith/web/functions/remoteuseraccess -type f ) |
|
|
LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-sshkeys -type f ) |
|
153 |
|
|
154 |
for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3 |
for lexicon in $LEXICONS |
155 |
do |
do |
156 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
157 |
done |
done |
158 |
|
|
159 |
#de en-us es fr it |
#todo, it |
160 |
for LINK in en-us fr de es sv |
for LINK in en-us fr de es sv |
161 |
do |
do |
162 |
/bin/ln -s remoteuseraccess \ |
/bin/ln -s remoteuseraccess root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-sshkeys |
|
root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-sshkeys |
|
163 |
done |
done |
164 |
|
|
165 |
%install |
%install |