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