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

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

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


Revision 1.5 - (hide annotations) (download)
Sat Mar 1 12:18:53 2008 UTC (16 years, 8 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-ajaxterm-1_0_5-2_el4_sme
Changes since 1.4: +1 -1 lines
* Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2
- Moved documentation from spec file
- Changed description (copied from http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm)
- Fixed whitelines in changelog between entries

1 mweinber 1.3 Summary: ajaxterm is a web-based terminal
2 slords 1.1 %define realname smeserver-ajaxterm
3     %define version 1.0.5
4 snetram 1.4 %define release 2
5 slords 1.1 Name: %{realname}
6     Version: %{version}
7 mweinber 1.3 Release: %{release}%{?dist}
8 slords 1.1 BuildArch: noarch
9     License: GPL
10     Group: System Environment/Libraries
11     Source: %{name}-%{version}.tar.gz
12     Source1: Ajaxterm-0.10.tar.gz
13 snetram 1.4 Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch
14 slords 1.1 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
15     URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
16     Requires: smeserver-release > 7.1.3
17 slords 1.2 BuildRequires: e-smith-devtools
18 slords 1.1
19     %changelog
20 snetram 1.4 * Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2
21     - Moved documentation from spec file
22 snetram 1.5 - Changed description (copied from http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm)
23 snetram 1.4 - Fixed whitelines in changelog between entries
24    
25 mweinber 1.3 * Fri Feb 29 2008 Michael Weinberger <mweinber@neddix.de> 1.0.5-1
26     Fix spec file
27 snetram 1.4
28 slords 1.1 * 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 snetram 1.4 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 slords 1.1
46     %prep
47     %setup -n %{realname}-%{version}
48 snetram 1.4 %patch0 -p1
49 slords 1.1
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 snetram 1.4 %attr(0755,root,root) %doc %dir /usr/share/doc/smeserver-ajaxterm-1.0.5/

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