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

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

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


Revision 1.2 - (show annotations) (download)
Wed Feb 6 16:19:42 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ajaxterm-1_0_5-3_el5_sme
Changes since 1.1: +19 -5 lines
* Tue Feb 05 2013 JP Pialasse <tests@pialasse.com> 1.0.5-3
- import into SME8 tree [SME: 7309]
- fix brp-python in spec file

1 # $Id: smeserver-ajaxterm.spec,v 1.1 2013/02/05 21:44:30 unnilennium 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 3
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 BuildRequires: python2-devel python-setuptools
23
24 %changelog
25 * Tue Feb 05 2013 JP Pialasse <tests@pialasse.com> 1.0.5-3
26 - import into SME8 tree [SME: 7309]
27 - fix brp-python in spec file
28
29 * Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2
30 - Moved documentation from spec file
31 - Changed description (copied from http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm)
32 - Fixed whitelines in changelog between entries
33
34 * Fri Feb 29 2008 Michael Weinberger <mweinber@neddix.de> 1.0.5-1
35 Fix spec file
36
37 * Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de>
38 Version 1.0.5
39 Bug fix: SysV start: do not fall back do user root if user ajaxterm does not exist
40 added config properties 'width' and 'height'
41
42 * Thu Nov 15 2007 Michael Weinberger <mweinber@neddix.de>
43 Version 1.0.4
44 added config property basicAuthUsers
45
46 * Wed Nov 14 2007 Michael Weinberger <mweinber@neddix.de>
47 Version 1.0.3
48 added config properties allowOnlyLocalhost and servicePort
49 login with 'su' when localhost, otherwise with ssh
50 Promtps for SSHPort at ssh login
51
52 %description
53 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).
54
55 %prep
56 %setup -n %{realname}-%{version}
57 %patch0 -p1
58
59 %build
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 tar xzvf $RPM_SOURCE_DIR/Ajaxterm-0.10.tar.gz
64 mv Ajaxterm-0.10/* root/opt/ajaxterm
65 rm -rf Ajaxterm-0.10
66 ls root/opt/ajaxterm
67 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
68 rm -f %{name}-%{version}-filelist
69 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
70 --dir /opt/ajaxterm 'attr(0750,ajaxterm,www)' \
71 --file /opt/ajaxterm/ 'attr(0640,ajaxterm,www)' \
72 --file /opt/ajaxterm/ajaxterm.py 'attr(0550,ajaxterm,www)' \
73 --file /opt/ajaxterm/login.pl 'attr(0550,ajaxterm,www)' \
74 --dir /usr/share/doc/smeserver-ajaxterm-1.0.5 'attr(0755,root,root)' \
75 >> %{name}-%{version}-filelist
76 find $RPM_BUILD_ROOT -depth -type l -print
77 # following make 4 files listed twice, and show no more
78 #find $RPM_BUILD_ROOT -depth -type l -print |\
79 # sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
80 cat %{name}-%{version}-filelist
81 /usr/lib/rpm/brp-python-bytecompile
82
83 %clean
84 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}-%{version}-filelist
87 %defattr(-,root,root)
88 #following make folder listed twice
89 #%attr(0755,root,root) %doc %dir /usr/share/doc/smeserver-ajaxterm-1.0.5/
90
91

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