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