1 |
# $Id: smeserver-remoteuseraccess.spec,v 1.7 2008/04/22 09:29:41 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 22 |
%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 |
21 |
Patch5: smeserver-remoteuseraccess-1.2-locale-2008-04-01.patch |
Patch5: smeserver-remoteuseraccess-1.2-locale-2008-04-01.patch |
22 |
Patch6: smeserver-remoteuseraccess-1.2-locale-2008-04-22.patch |
Patch6: smeserver-remoteuseraccess-1.2-locale-2008-04-22.patch |
23 |
Patch7: smeserver-remoteuseraccess-1.2-add2general.patch |
Patch7: smeserver-remoteuseraccess-1.2-add2general.patch |
24 |
|
Patch8: smeserver-remoteuseraccess-1.2-locale-2008-05-05.patch |
25 |
|
Patch9: smeserver-remoteuseraccess-1.2-locale-2008-05-21.patch |
26 |
|
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 |
32 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
33 |
Requires: e-smith-proftpd >= 1.12.0-6 |
Requires: e-smith-proftpd >= 1.12.0-6 |
34 |
Requires: e-smith-openssh >= 1.11.0-24 |
Requires: e-smith-openssh >= 1.11.0-24 |
35 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-12 |
36 |
Obsoletes: dungog-proftpd-chroot |
Obsoletes: dungog-proftpd-chroot |
37 |
Obsoletes: e-smith-usershellaccess |
Obsoletes: e-smith-usershellaccess |
38 |
Obsoletes: smeserver-sshkeys |
Obsoletes: smeserver-sshkeys |
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 |
57 |
|
- Apply 1 July 2008 locale patch |
58 |
|
|
59 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24 |
60 |
|
- Apply 21 May 2008 locale patch |
61 |
|
|
62 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23 |
63 |
|
- Apply 5 May 2008 locale patch |
64 |
|
|
65 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22 |
66 |
- Add common <base> tags to e-smith-formmagick's general |
- Add common <base> tags to e-smith-formmagick's general |
67 |
|
|
199 |
%patch5 -p1 |
%patch5 -p1 |
200 |
%patch6 -p1 |
%patch6 -p1 |
201 |
%patch7 -p1 |
%patch7 -p1 |
202 |
|
%patch8 -p1 |
203 |
|
%patch9 -p1 |
204 |
|
%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 |