1 |
%define name smeserver-shellinabox |
2 |
%define version 0.0.8 |
3 |
%define release 4 |
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 |
Patch2: smeserver-shellinabox-0.0.8-locale-2024-09-06.patch |
16 |
|
17 |
BuildArchitectures: noarch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
19 |
BuildRequires: e-smith-devtools |
20 |
Requires: e-smith-release >= 10.0 |
21 |
Requires: shellinabox >= 2.14 |
22 |
AutoReqProv: no |
23 |
|
24 |
%description |
25 |
shellinabox is an ajax web based terminal |
26 |
|
27 |
%changelog |
28 |
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 0.0.8-4.sme |
29 |
- add locale 2024-09-06.patch |
30 |
|
31 |
* Mon Jul 24 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-3.sme |
32 |
- remove service in bootstrap-console-save [SME: 12376] |
33 |
- comment out unrequired shellinabox-action script |
34 |
|
35 |
* Thu Jul 13 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-2.sme |
36 |
- add locale 2023-07-13 patch |
37 |
|
38 |
* Tue Jul 11 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-1.sme |
39 |
- add systemd control and smeserver-shellinabox update [SME: 12376] |
40 |
|
41 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.7-3.sme |
42 |
- apply locale 2022-11-11 patch |
43 |
|
44 |
* Sun Jan 10 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.7-1.sme |
45 |
- Restrict the deamon to localhost and disable ssl |
46 |
|
47 |
* Tue Jun 25 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.6-1.sme |
48 |
- initial release |
49 |
|
50 |
%prep |
51 |
%setup |
52 |
%patch0 -p1 |
53 |
%patch1 -p1 |
54 |
%patch2 -p1 |
55 |
|
56 |
%build |
57 |
perl createlinks |
58 |
|
59 |
%install |
60 |
rm -rf $RPM_BUILD_ROOT |
61 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
62 |
rm -f %{name}-%{version}-filelist |
63 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
64 |
> %{name}-%{version}-filelist |
65 |
|
66 |
%clean |
67 |
rm -rf $RPM_BUILD_ROOT |
68 |
|
69 |
%files -f %{name}-%{version}-filelist |
70 |
%defattr(-,root,root) |
71 |
|
72 |
%pre |
73 |
|
74 |
%post |
75 |
|
76 |
|
77 |
|