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