/[smecontribs]/rpms/smeserver-ajaxterm/contribs7/smeserver-ajaxterm.spec
ViewVC logotype

Diff of /rpms/smeserver-ajaxterm/contribs7/smeserver-ajaxterm.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by mweinber, Fri Feb 29 10:20:01 2008 UTC Revision 1.4 by snetram, Sat Mar 1 12:17:07 2008 UTC
# Line 1  Line 1 
1  Summary: ajaxterm is a web-based terminal  Summary: ajaxterm is a web-based terminal
2  %define realname smeserver-ajaxterm  %define realname smeserver-ajaxterm
3  %define version 1.0.5  %define version 1.0.5
4  %define release 1  %define release 2
5  Name: %{realname}  Name: %{realname}
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
# Line 10  License: GPL Line 10  License: GPL
10  Group: System Environment/Libraries  Group: System Environment/Libraries
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Source1: Ajaxterm-0.10.tar.gz  Source1: Ajaxterm-0.10.tar.gz
13    Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch
14  BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot  BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
15  URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm  URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
16  Requires: smeserver-release > 7.1.3  Requires: smeserver-release > 7.1.3
17  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
18    
19  %changelog  %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  * Fri Feb 29 2008 Michael Weinberger <mweinber@neddix.de> 1.0.5-1
26    Fix spec file    Fix spec file
27    
28  * Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de>  * Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de>
29    Version 1.0.5    Version 1.0.5
30    Bug fix: SysV start: do not fall back do user root if user ajaxterm does not exist    Bug fix: SysV start: do not fall back do user root if user ajaxterm does not exist
# Line 34  BuildRequires: e-smith-devtools Line 41  BuildRequires: e-smith-devtools
41    Promtps for SSHPort at ssh login    Promtps for SSHPort at ssh login
42    
43  %description  %description
44  see http://wiki.contribs.org/Ajaxterm  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).
   
 Usage: https://yourdomain.com/ajaxterm/index.html  
   
 Configuration  
 1) To allow only local login on localhost:  
 config setprop Ajaxterm allowOnlyLocalhost yes  
 service ajaxterm restart  
   
 2) To allow ssh login on all hosts:  
 config setprop Ajaxterm allowOnlyLocalhost no  
 service ajaxterm restart  
   
 3) Terminal size (default is 80 x 25)  
 config setprop Ajaxterm width NEWWIDTH  
 config setprop Ajaxterm height NEWHEIGHT  
 service ajaxterm restart  
   
 4) Basic Auth Users (Browser login)  
 config setprop Ajaxterm basicAuthUsers "user [user] ..."  
 expand-template /etc/httpd/conf/httpd.conf  
 service httpd-e-smith restart  
   
 5) Web alias (default: ajaxterm)  
 config setprop Ajaxterm webAlias NEWALIAS  
 expand-template /etc/httpd/conf/httpd.conf  
 service httpd-e-smith restart  
   
 6) Changing the ajaxterm service port (default is 8022):  
 config setprop Ajaxterm servicePort NEWPORT  
 expand-template /etc/httpd/conf/httpd.conf  
 service httpd-e-smith restart  
 service ajaxterm restart  
   
45    
46  %prep  %prep
47  %setup -n %{realname}-%{version}  %setup -n %{realname}-%{version}
48    %patch0 -p1
49    
50  %build  %build
51    
   
52  %install  %install
53  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
54  tar xzvf $RPM_SOURCE_DIR/Ajaxterm-0.10.tar.gz  tar xzvf $RPM_SOURCE_DIR/Ajaxterm-0.10.tar.gz
# Line 92  rm -f %{name}-%{version}-filelist Line 65  rm -f %{name}-%{version}-filelist
65  find $RPM_BUILD_ROOT -depth -type l -print |\  find $RPM_BUILD_ROOT -depth -type l -print |\
66   sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist   sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
67    
   
68  %clean  %clean
69  [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT  [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
70    
   
71  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
72  %defattr(-,root,root)  %defattr(-,root,root)
73    %attr(0755,root,root)    %doc %dir          /usr/share/doc/smeserver-ajaxterm-1.0.5/


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed