1 |
%define name smeserver-shellinabox |
2 |
%define version 0.0.8 |
3 |
%define release 3 |
4 |
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 |
|
13 |
Patch0: smeserver-shellinabox-0.0.8-locale-2023-07-13.patch |
14 |
Patch1: smeserver-shellinabox-0.0.8-fix-services.patch |
15 |
|
16 |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
18 |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 10.0 |
20 |
Requires: shellinabox >= 2.14 |
21 |
AutoReqProv: no |
22 |
|
23 |
%description |
24 |
shellinabox is an ajax web based terminal |
25 |
|
26 |
%changelog |
27 |
* 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 |
* Thu Jul 13 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-2.sme |
32 |
- add locale 2023-07-13 patch |
33 |
|
34 |
* Tue Jul 11 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-1.sme |
35 |
- add systemd control and smeserver-shellinabox update [SME: 12376] |
36 |
|
37 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.7-3.sme |
38 |
- apply locale 2022-11-11 patch |
39 |
|
40 |
* 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 |
* Tue Jun 25 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.6-1.sme |
44 |
- initial release |
45 |
|
46 |
%prep |
47 |
%setup |
48 |
%patch0 -p1 |
49 |
%patch1 -p1 |
50 |
|
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 |
|