1 |
|
# $Id: smeserver-remoteuseraccess.spec,v 1.5 2008/04/02 15:03:59 slords 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 20 |
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 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
27 |
Requires: e-smith-proftpd >= 1.12.0-6 |
Requires: e-smith-proftpd >= 1.12.0-6 |
28 |
Requires: e-smith-openssh >= 1.11.0-24 |
Requires: e-smith-openssh >= 1.11.0-24 |
29 |
Requires: perl-CGI-FormMagick >= 0.92-08 |
Requires: e-smith-formmagick >= 1.4.0-10 |
30 |
Obsoletes: dungog-proftpd-chroot |
Obsoletes: dungog-proftpd-chroot |
31 |
Obsoletes: e-smith-usershellaccess |
Obsoletes: e-smith-usershellaccess |
32 |
Obsoletes: smeserver-sshkeys |
Obsoletes: smeserver-sshkeys |
44 |
and allows you to enter ssh keys |
and allows you to enter ssh keys |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20 |
48 |
|
- Apply 22 April 2008 locale patch |
49 |
|
|
50 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19 |
51 |
|
- Update to UTF-8 translations |
52 |
|
|
53 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18 |
54 |
|
- update locale 2008-03-11 |
55 |
|
|
56 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17 |
57 |
|
- prepare en lexicons for pootle translations |
58 |
|
|
59 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
60 |
- remove duplicate event rssh.conf [SME 3470] |
- remove duplicate event rssh.conf [SME 3470] |
61 |
|
|
170 |
%patch0 -p1 |
%patch0 -p1 |
171 |
%patch1 -p1 |
%patch1 -p1 |
172 |
%patch2 -p1 |
%patch2 -p1 |
173 |
|
%patch3 -p1 |
174 |
|
%patch4 -p1 |
175 |
|
%patch5 -p1 |
176 |
|
|
177 |
%build |
%build |
178 |
perl createlinks |
perl createlinks |
184 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
185 |
done |
done |
186 |
|
|
187 |
#todo, it |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
188 |
for LINK in en-us fr de es sv |
for link in $LINKS |
189 |
do |
do |
190 |
/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 |
191 |
done |
done |
192 |
|
|
193 |
%install |
%install |