/[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.6 - (hide annotations) (download)
Wed Apr 2 15:03:56 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.5: +4 -0 lines
Add Id, Authority, Name

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