1 |
|
# $Id: smeserver-remoteuseraccess.spec,v 1.6 2008/04/22 09:11:45 snetram 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 21 |
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-21 |
48 |
|
- Forgot to apply patch |
49 |
|
|
50 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20 |
51 |
|
- Apply 22 April 2008 locale patch |
52 |
|
|
53 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19 |
54 |
|
- Update to UTF-8 translations |
55 |
|
|
56 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18 |
57 |
|
- update locale 2008-03-11 |
58 |
|
|
59 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17 |
60 |
|
- prepare en lexicons for pootle translations |
61 |
|
|
62 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
63 |
- remove duplicate event rssh.conf [SME 3470] |
- remove duplicate event rssh.conf [SME 3470] |
64 |
|
|
173 |
%patch0 -p1 |
%patch0 -p1 |
174 |
%patch1 -p1 |
%patch1 -p1 |
175 |
%patch2 -p1 |
%patch2 -p1 |
176 |
|
%patch3 -p1 |
177 |
|
%patch4 -p1 |
178 |
|
%patch5 -p1 |
179 |
|
%patch6 -p1 |
180 |
|
|
181 |
%build |
%build |
182 |
perl createlinks |
perl createlinks |
188 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
189 |
done |
done |
190 |
|
|
191 |
#todo, it |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
192 |
for LINK in en-us fr de es sv |
for link in $LINKS |
193 |
do |
do |
194 |
/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 |
195 |
done |
done |
196 |
|
|
197 |
%install |
%install |