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