1 |
|
# $Id: smeserver-remoteuseraccess.spec,v 1.14 2008/09/28 02:45:49 dungog Exp $ |
2 |
|
# Authority: dungog |
3 |
|
# Name: Stephen Noble |
4 |
|
|
5 |
Summary: Smeserver module to configure Shell and FTP access for individual users |
Summary: Smeserver module to configure Shell and FTP access for individual users |
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 16 |
%define release 27 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
16 |
Patch0: smeserver-remoteuseraccess-fr.patch |
Patch0: smeserver-remoteuseraccess-fr.patch |
17 |
Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch |
Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch |
18 |
Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch |
Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch |
19 |
|
Patch3: smeserver-remoteuseraccess-1.2-pootle.patch |
20 |
|
Patch4: smeserver-remoteuseraccess-1.2-locale-2008-03-11.patch |
21 |
|
Patch5: smeserver-remoteuseraccess-1.2-locale-2008-04-01.patch |
22 |
|
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 |
|
Patch12: smeserver-remoteuseraccess-1.2-locale-2008-10-14.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: perl-CGI-FormMagick >= 0.92-08 |
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 |
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-27 |
54 |
|
- Apply 14 Oct 2008 locale patch |
55 |
|
|
56 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26 |
57 |
|
- Apply locale patch |
58 |
|
|
59 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25 |
60 |
|
- Apply 1 July 2008 locale patch |
61 |
|
|
62 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24 |
63 |
|
- Apply 21 May 2008 locale patch |
64 |
|
|
65 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23 |
66 |
|
- Apply 5 May 2008 locale patch |
67 |
|
|
68 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22 |
69 |
|
- Add common <base> tags to e-smith-formmagick's general |
70 |
|
|
71 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21 |
72 |
|
- Forgot to apply patch |
73 |
|
|
74 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20 |
75 |
|
- Apply 22 April 2008 locale patch |
76 |
|
|
77 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19 |
78 |
|
- Update to UTF-8 translations |
79 |
|
|
80 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18 |
81 |
|
- update locale 2008-03-11 |
82 |
|
|
83 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17 |
84 |
|
- prepare en lexicons for pootle translations |
85 |
|
|
86 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
87 |
- remove duplicate event rssh.conf [SME 3470] |
- remove duplicate event rssh.conf [SME 3470] |
88 |
|
|
197 |
%patch0 -p1 |
%patch0 -p1 |
198 |
%patch1 -p1 |
%patch1 -p1 |
199 |
%patch2 -p1 |
%patch2 -p1 |
200 |
|
%patch3 -p1 |
201 |
|
%patch4 -p1 |
202 |
|
%patch5 -p1 |
203 |
|
%patch6 -p1 |
204 |
|
%patch7 -p1 |
205 |
|
%patch8 -p1 |
206 |
|
%patch9 -p1 |
207 |
|
%patch10 -p1 |
208 |
|
%patch11 -p1 |
209 |
|
%patch12 -p1 |
210 |
|
|
211 |
%build |
%build |
212 |
perl createlinks |
perl createlinks |
218 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
219 |
done |
done |
220 |
|
|
221 |
#todo, it |
LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///') |
222 |
for LINK in en-us fr de es sv |
for link in $LINKS |
223 |
do |
do |
224 |
/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 |
225 |
done |
done |
226 |
|
|
227 |
%install |
%install |