/[packages]/cauldron/ajaxterm/current/SPECS/ajaxterm.spec
ViewVC logotype

Contents of /cauldron/ajaxterm/current/SPECS/ajaxterm.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 345361 - (show annotations) (download)
Fri Jan 11 02:41:01 2013 UTC (7 years, 9 months ago) by umeabot
File size: 1662 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
1 Summary: A web based terminal
2 Name: ajaxterm
3 Version: 0.10
4 Release: %mkrel 3
5
6 # LGPL for the bundled js part
7 License: Public Domain and GPLv2 and LGPLv2
8 Group: System/Servers
9 URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm
10 Source: http://antony.lesuisse.org/qweb/files/Ajaxterm-%{version}.tar.bz2
11 Source1: %{name}.init
12 Source2: %{name}.sysconfig
13 Patch1: %{name}-ff36.patch
14 Patch2: ajaxterm-0.10-CVE-2009-1629.patch
15 Requires(preun): rpm-helper
16 Requires(post): rpm-helper
17 Requires: python
18 BuildRequires: python
19 BuildArch: noarch
20 Suggests: apache-mod_proxy
21
22 %description
23 Ajaxterm is a web based terminal. It was totally inspired and works almost
24 exactly like http://anyterm.org/ except it's much easier to install.
25
26 Ajaxterm written in python (and some AJAX javascript for client side) and
27 depends only on python2.3 or better.
28
29 %prep
30 %setup -q -n Ajaxterm-%{version}
31 %patch1 -p2
32 %patch2 -p1
33
34 %build
35 ./configure --prefix=%{buildroot}/%{_prefix}/
36 perl -pi -e 's/.*ajaxterm.initd.*//' Makefile
37 perl -pi -e 's|bin/python2.3|bin/python|' qweb.py
38
39 %install
40 %{__rm} -rf %{buildroot}
41 make install
42
43 mkdir -p %{buildroot}/%{_initrddir}/
44 mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig
45
46 cp %SOURCE1 %{buildroot}/%_initrddir/%{name}
47 cp %SOURCE2 %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
48
49 chmod 755 %{buildroot}/%{_initrddir}/%{name}
50 perl -pi -e 's|%{buildroot}/||g' %{buildroot}/%{_bindir}/ajaxterm
51
52 %files
53 %defattr(-, root, root, 0755)
54 %doc README.txt
55 %{_bindir}/*
56 %{_datadir}/%{name}/
57 %{_mandir}/man1/*
58 %config(noreplace) %{_initrddir}/%{name}
59 %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
60
61 %post
62 %_post_service %{name}
63
64 %preun
65 %_preun_service %{name}

  ViewVC Help
Powered by ViewVC 1.1.28