1 |
Summary: ajaxterm is a web-based terminal |
2 |
%define realname smeserver-ajaxterm |
3 |
%define version 1.0.5 |
4 |
%define release 2 |
5 |
Name: %{realname} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
BuildArch: noarch |
9 |
License: GPL |
10 |
Group: System Environment/Libraries |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
Source1: Ajaxterm-0.10.tar.gz |
13 |
Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch |
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
15 |
URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm |
16 |
Requires: smeserver-release > 7.1.3 |
17 |
BuildRequires: e-smith-devtools |
18 |
|
19 |
%changelog |
20 |
* Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2 |
21 |
- Moved documentation from spec file |
22 |
- Changed description (copied from ) |
23 |
- Fixed whitelines in changelog between entries |
24 |
|
25 |
* Fri Feb 29 2008 Michael Weinberger <mweinber@neddix.de> 1.0.5-1 |
26 |
Fix spec file |
27 |
|
28 |
* Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de> |
29 |
Version 1.0.5 |
30 |
Bug fix: SysV start: do not fall back do user root if user ajaxterm does not exist |
31 |
added config properties 'width' and 'height' |
32 |
|
33 |
* Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de> |
34 |
Version 1.0.4 |
35 |
added config property basicAuthUsers |
36 |
|
37 |
* Wed Nov 14 2007 Michael Weinberger <mweinber@neddix.de> |
38 |
Version 1.0.3 |
39 |
added config properties allowOnlyLocalhost and servicePort |
40 |
login with 'su' when localhost, otherwise with ssh |
41 |
Promtps for SSHPort at ssh login |
42 |
|
43 |
%description |
44 |
Ajaxterm is a web based terminal. It was totally inspired and works almost exactly like http://anyterm.org/ except it's much easier to install (see comparaison with anyterm below). |
45 |
|
46 |
%prep |
47 |
%setup -n %{realname}-%{version} |
48 |
%patch0 -p1 |
49 |
|
50 |
%build |
51 |
|
52 |
%install |
53 |
rm -rf $RPM_BUILD_ROOT |
54 |
tar xzvf $RPM_SOURCE_DIR/Ajaxterm-0.10.tar.gz |
55 |
mv Ajaxterm-0.10/* root/opt/ajaxterm |
56 |
ls root/opt/ajaxterm |
57 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
58 |
rm -f %{name}-%{version}-filelist |
59 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
60 |
--dir /opt/ajaxterm 'attr(0750,ajaxterm,www)' \ |
61 |
--file /opt/ajaxterm/ 'attr(0640,ajaxterm,www)' \ |
62 |
--file /opt/ajaxterm/ajaxterm.py 'attr(0550,ajaxterm,www)' \ |
63 |
--file /opt/ajaxterm/login.pl 'attr(0550,ajaxterm,www)' \ |
64 |
>> %{name}-%{version}-filelist |
65 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
66 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
67 |
|
68 |
%clean |
69 |
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT |
70 |
|
71 |
%files -f %{name}-%{version}-filelist |
72 |
%defattr(-,root,root) |
73 |
%attr(0755,root,root) %doc %dir /usr/share/doc/smeserver-ajaxterm-1.0.5/ |