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 15 |
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 |
|
Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch |
15 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
and allows you to enter ssh keys |
and allows you to enter ssh keys |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-15 |
40 |
|
- remove duplicate event rssh.conf [SME 3470] |
41 |
|
|
42 |
|
* Thu Dec 20 2007 Stephen Noble <support@dungog.net> |
43 |
|
- french menu fix 1.2-14 |
44 |
|
|
45 |
* Thu Dec 20 2007 Stephen Noble <support@dungog.net> |
* Thu Dec 20 2007 Stephen Noble <support@dungog.net> |
46 |
- french translation, thanks Sylvain 1.2-13 |
- french translation, thanks Sylvain 1.2-13 |
47 |
|
|
148 |
%prep |
%prep |
149 |
%setup |
%setup |
150 |
%patch0 -p1 |
%patch0 -p1 |
151 |
|
%patch1 -p1 |
152 |
|
%patch2 -p1 |
153 |
|
|
154 |
%build |
%build |
155 |
perl createlinks |
perl createlinks |
156 |
|
|
157 |
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 ) |
|
158 |
|
|
159 |
for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3 |
for lexicon in $LEXICONS |
160 |
do |
do |
161 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
162 |
done |
done |
163 |
|
|
164 |
#de en-us es fr it |
#todo, it |
165 |
for LINK in en-us fr de es sv |
for LINK in en-us fr de es sv |
166 |
do |
do |
167 |
/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 |
|
168 |
done |
done |
169 |
|
|
170 |
%install |
%install |