1 |
# $Id: smeserver-remoteuseraccess.spec,v 1.6 2008/04/22 09:11:45 snetram Exp $ |
# $Id: smeserver-remoteuseraccess.spec,v 1.13 2008/09/27 10:30:01 dungog 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 21 |
%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 |
20 |
Patch4: smeserver-remoteuseraccess-1.2-locale-2008-03-11.patch |
Patch4: smeserver-remoteuseraccess-1.2-locale-2008-03-11.patch |
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 |
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-locale-2008-09-27.patch |
28 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
29 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
31 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
32 |
Requires: e-smith-proftpd >= 1.12.0-6 |
Requires: e-smith-proftpd >= 1.12.0-6 |
33 |
Requires: e-smith-openssh >= 1.11.0-24 |
Requires: e-smith-openssh >= 1.11.0-24 |
34 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-12 |
35 |
Obsoletes: dungog-proftpd-chroot |
Obsoletes: dungog-proftpd-chroot |
36 |
Obsoletes: e-smith-usershellaccess |
Obsoletes: e-smith-usershellaccess |
37 |
Obsoletes: smeserver-sshkeys |
Obsoletes: smeserver-sshkeys |
49 |
and allows you to enter ssh keys |
and allows you to enter ssh keys |
50 |
|
|
51 |
%changelog |
%changelog |
52 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26 |
53 |
|
- Apply locale patch |
54 |
|
|
55 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25 |
56 |
|
- Apply 1 July 2008 locale patch |
57 |
|
|
58 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24 |
59 |
|
- Apply 21 May 2008 locale patch |
60 |
|
|
61 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23 |
62 |
|
- Apply 5 May 2008 locale patch |
63 |
|
|
64 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22 |
65 |
|
- Add common <base> tags to e-smith-formmagick's general |
66 |
|
|
67 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21 |
68 |
- Forgot to apply patch |
- Forgot to apply patch |
69 |
|
|
197 |
%patch4 -p1 |
%patch4 -p1 |
198 |
%patch5 -p1 |
%patch5 -p1 |
199 |
%patch6 -p1 |
%patch6 -p1 |
200 |
|
%patch7 -p1 |
201 |
|
%patch8 -p1 |
202 |
|
%patch9 -p1 |
203 |
|
%patch10 -p1 |
204 |
|
%patch11 -p1 |
205 |
|
|
206 |
%build |
%build |
207 |
perl createlinks |
perl createlinks |
213 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
214 |
done |
done |
215 |
|
|
216 |
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\///') |
217 |
for link in $LINKS |
for link in $LINKS |
218 |
do |
do |
219 |
/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 |