1 |
jpp |
1.1 |
%define name smeserver-shellinabox |
2 |
jcrisp |
1.3 |
%define version 0.0.8 |
3 |
jcrisp |
1.5 |
%define release 3 |
4 |
jpp |
1.1 |
Summary: shellinabox is an ajax webbase terminal |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
Distribution: SME Server |
9 |
|
|
License: GNU GPL version 2 |
10 |
|
|
Group: SMEserver/addon |
11 |
|
|
Source: smeserver-shellinabox-%{version}.tar.gz |
12 |
jcrisp |
1.3 |
|
13 |
jcrisp |
1.4 |
Patch0: smeserver-shellinabox-0.0.8-locale-2023-07-13.patch |
14 |
jcrisp |
1.5 |
Patch1: smeserver-shellinabox-0.0.8-fix-services.patch |
15 |
jcrisp |
1.3 |
|
16 |
jpp |
1.1 |
BuildArchitectures: noarch |
17 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
18 |
|
|
BuildRequires: e-smith-devtools |
19 |
jcrisp |
1.4 |
Requires: e-smith-release >= 10.0 |
20 |
jpp |
1.1 |
Requires: shellinabox >= 2.14 |
21 |
|
|
AutoReqProv: no |
22 |
|
|
|
23 |
|
|
%description |
24 |
|
|
shellinabox is an ajax web based terminal |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
jcrisp |
1.5 |
* Mon Jul 24 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-3.sme |
28 |
|
|
- remove service in bootstrap-console-save [SME: 12376] |
29 |
|
|
- comment out unrequired shellinabox-action script |
30 |
|
|
|
31 |
jcrisp |
1.4 |
* Thu Jul 13 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-2.sme |
32 |
|
|
- add locale 2023-07-13 patch |
33 |
|
|
|
34 |
jcrisp |
1.3 |
* Tue Jul 11 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-1.sme |
35 |
jcrisp |
1.4 |
- add systemd control and smeserver-shellinabox update [SME: 12376] |
36 |
jcrisp |
1.3 |
|
37 |
jpp |
1.2 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.7-3.sme |
38 |
|
|
- apply locale 2022-11-11 patch |
39 |
|
|
|
40 |
jpp |
1.1 |
* Sun Jan 10 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.7-1.sme |
41 |
|
|
- Restrict the deamon to localhost and disable ssl |
42 |
|
|
|
43 |
jcrisp |
1.3 |
* Tue Jun 25 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.6-1.sme |
44 |
jpp |
1.1 |
- initial release |
45 |
|
|
|
46 |
|
|
%prep |
47 |
|
|
%setup |
48 |
jcrisp |
1.4 |
%patch0 -p1 |
49 |
jcrisp |
1.5 |
%patch1 -p1 |
50 |
jpp |
1.1 |
|
51 |
|
|
%build |
52 |
|
|
perl createlinks |
53 |
|
|
|
54 |
|
|
%install |
55 |
|
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
57 |
|
|
rm -f %{name}-%{version}-filelist |
58 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
59 |
|
|
> %{name}-%{version}-filelist |
60 |
|
|
|
61 |
|
|
%clean |
62 |
|
|
rm -rf $RPM_BUILD_ROOT |
63 |
|
|
|
64 |
|
|
%files -f %{name}-%{version}-filelist |
65 |
|
|
%defattr(-,root,root) |
66 |
|
|
|
67 |
|
|
%pre |
68 |
|
|
|
69 |
|
|
%post |
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|