/[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.8 by slords, Tue Nov 25 16:20:18 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-ajaxterm.spec,v 1.6 2008/04/02 15:03:56 slords Exp $
2    # Authority: mweinber
3    # Name: Michael Weinberger
4    
5  Summary: ajaxterm is a web-based terminal  Summary: ajaxterm is a web-based terminal
6  %define realname smeserver-ajaxterm  %define realname smeserver-ajaxterm
7  %define version 1.0.5  %define version 1.0.5
8  %define release 1  %define release 2
9  Name: %{realname}  Name: %{realname}
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
# Line 10  License: GPL Line 14  License: GPL
14  Group: System Environment/Libraries  Group: System Environment/Libraries
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  Source1: Ajaxterm-0.10.tar.gz  Source1: Ajaxterm-0.10.tar.gz
17    Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch
18  BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot  BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
19  URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm  URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
20  Requires: smeserver-release > 7.1.3  Requires: smeserver-release > 7.1.3
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
22    
23  %changelog  %changelog
24    * Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2
25    - Moved documentation from spec file
26    - Changed description (copied from http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm)
27    - Fixed whitelines in changelog between entries
28    
29  * 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
30    Fix spec file    Fix spec file
31    
32  * Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de>  * Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de>
33    Version 1.0.5    Version 1.0.5
34    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 45  BuildRequires: e-smith-devtools
45    Promtps for SSHPort at ssh login    Promtps for SSHPort at ssh login
46    
47  %description  %description
48  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  
   
49    
50  %prep  %prep
51  %setup -n %{realname}-%{version}  %setup -n %{realname}-%{version}
52    %patch0 -p1
53    
54  %build  %build
55    
   
56  %install  %install
57  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
58  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 69  rm -f %{name}-%{version}-filelist
69  find $RPM_BUILD_ROOT -depth -type l -print |\  find $RPM_BUILD_ROOT -depth -type l -print |\
70   sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist   sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
71    
   
72  %clean  %clean
73  [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT  [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
74    
   
75  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
76  %defattr(-,root,root)  %defattr(-,root,root)
77    %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