1 |
jpp |
1.1 |
%define name smeserver-shellinabox |
2 |
jcrisp |
1.3 |
%define version 0.0.8 |
3 |
terryfage |
1.6 |
%define release 4 |
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 |
terryfage |
1.6 |
Patch2: smeserver-shellinabox-0.0.8-locale-2024-09-06.patch |
16 |
jcrisp |
1.3 |
|
17 |
jpp |
1.1 |
BuildArchitectures: noarch |
18 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
19 |
|
|
BuildRequires: e-smith-devtools |
20 |
jcrisp |
1.4 |
Requires: e-smith-release >= 10.0 |
21 |
jpp |
1.1 |
Requires: shellinabox >= 2.14 |
22 |
|
|
AutoReqProv: no |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
shellinabox is an ajax web based terminal |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
terryfage |
1.6 |
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 0.0.8-4.sme |
29 |
|
|
- add locale 2024-09-06.patch |
30 |
|
|
|
31 |
jcrisp |
1.5 |
* 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 |
jcrisp |
1.4 |
* Thu Jul 13 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-2.sme |
36 |
|
|
- add locale 2023-07-13 patch |
37 |
|
|
|
38 |
jcrisp |
1.3 |
* Tue Jul 11 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.0.8-1.sme |
39 |
jcrisp |
1.4 |
- add systemd control and smeserver-shellinabox update [SME: 12376] |
40 |
jcrisp |
1.3 |
|
41 |
jpp |
1.2 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.7-3.sme |
42 |
|
|
- apply locale 2022-11-11 patch |
43 |
|
|
|
44 |
jpp |
1.1 |
* 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 |
jcrisp |
1.3 |
* Tue Jun 25 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.6-1.sme |
48 |
jpp |
1.1 |
- initial release |
49 |
|
|
|
50 |
|
|
%prep |
51 |
|
|
%setup |
52 |
jcrisp |
1.4 |
%patch0 -p1 |
53 |
jcrisp |
1.5 |
%patch1 -p1 |
54 |
terryfage |
1.6 |
%patch2 -p1 |
55 |
jpp |
1.1 |
|
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 |
|
|
|