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

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

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


Revision 1.9 - (show annotations) (download)
Thu Jun 20 20:51:27 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -1 lines
Prep for import

1 # $Id: smeserver-ajaxterm.spec,v 1.8 2008/11/25 16:20:18 slords Exp $
2 # Authority: mweinber
3 # Name: Michael Weinberger
4
5 Summary: ajaxterm is a web-based terminal
6 %define realname smeserver-ajaxterm
7 %define version 1.0.5
8 %define release 2
9 Name: %{realname}
10 Version: %{version}
11 Release: %{release}%{?dist}
12 BuildArch: noarch
13 License: GPL
14 Group: System Environment/Libraries
15 Source: %{name}-%{version}.tar.gz
16 Source1: Ajaxterm-0.10.tar.gz
17 Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch
18 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
19 URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
20 Requires: smeserver-release > 7.1.3
21 BuildRequires: e-smith-devtools
22
23 %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
30 Fix spec file
31
32 * 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 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
50 %prep
51 %setup -n %{realname}-%{version}
52 %patch0 -p1
53
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 /usr/lib/rpm/brp-python-bytecompile
72
73 %clean
74 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
75
76 %files -f %{name}-%{version}-filelist
77 %defattr(-,root,root)
78 %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