1 |
# $Id: smeserver-remoteuseraccess.spec,v 1.11 2008/05/21 20:24:15 snetram Exp $ |
# $Id: smeserver-remoteuseraccess.spec,v 1.12 2008/07/01 20:08:41 snetram Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
6 |
%define name smeserver-remoteuseraccess |
%define name smeserver-remoteuseraccess |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.2 |
%define version 1.2 |
9 |
%define release 25 |
%define release 26 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
24 |
Patch8: smeserver-remoteuseraccess-1.2-locale-2008-05-05.patch |
Patch8: smeserver-remoteuseraccess-1.2-locale-2008-05-05.patch |
25 |
Patch9: smeserver-remoteuseraccess-1.2-locale-2008-05-21.patch |
Patch9: smeserver-remoteuseraccess-1.2-locale-2008-05-21.patch |
26 |
Patch10: smeserver-remoteuseraccess-1.2-locale-2008-07-01.patch |
Patch10: smeserver-remoteuseraccess-1.2-locale-2008-07-01.patch |
27 |
|
Patch11: smeserver-remoteuseraccess-1.2-remove-ptbr.patch |
28 |
|
Patch12: smeserver-remoteuseraccess-1.2-locale-2008-09-27.patch |
29 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
30 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
50 |
and allows you to enter ssh keys |
and allows you to enter ssh keys |
51 |
|
|
52 |
%changelog |
%changelog |
53 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26 |
54 |
|
- Apply locale patch |
55 |
|
|
56 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25 |
57 |
- Apply 1 July 2008 locale patch |
- Apply 1 July 2008 locale patch |
58 |
|
|
202 |
%patch8 -p1 |
%patch8 -p1 |
203 |
%patch9 -p1 |
%patch9 -p1 |
204 |
%patch10 -p1 |
%patch10 -p1 |
205 |
|
%patch11 -p1 |
206 |
|
%patch12 -p1 |
207 |
|
|
208 |
%build |
%build |
209 |
perl createlinks |
perl createlinks |
215 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
216 |
done |
done |
217 |
|
|
218 |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///') |
219 |
for link in $LINKS |
for link in $LINKS |
220 |
do |
do |
221 |
/bin/ln -s remoteuseraccess root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-sshkeys |
/bin/ln -s remoteuseraccess root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-sshkeys |