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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 197812 - (show annotations) (download)
Wed Jan 18 11:39:38 2012 UTC (8 years, 6 months ago) by nelg
File size: 1594 byte(s)
Copying release 0.10-1.mga2 to pristine/ directory.
1 Summary: A web based terminal
2 Name: ajaxterm
3 Version: 0.10
4 Release: %mkrel 1
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 Requires(preun): rpm-helper
15 Requires(post): rpm-helper
16 Requires: python
17 BuildRequires: python
18 BuildArch: noarch
19 Suggests: apache-mod_proxy
20
21 %description
22 Ajaxterm is a web based terminal. It was totally inspired and works almost
23 exactly like http://anyterm.org/ except it's much easier to install.
24
25 Ajaxterm written in python (and some AJAX javascript for client side) and
26 depends only on python2.3 or better.
27
28 %prep
29 %setup -q -n Ajaxterm-%{version}
30 %patch1 -p2
31
32 %build
33 ./configure --prefix=%{buildroot}/%_prefix/
34 perl -pi -e 's/.*ajaxterm.initd.*//' Makefile
35 perl -pi -e 's|bin/python2.3|bin/python|' qweb.py
36
37 %install
38 %{__rm} -rf %{buildroot}
39 make install
40
41 mkdir -p %{buildroot}/%_initrddir/
42 mkdir -p %{buildroot}/%_sysconfdir/sysconfig
43
44 cp %SOURCE1 %{buildroot}/%_initrddir/%{name}
45 cp %SOURCE2 %{buildroot}/%_sysconfdir/sysconfig/%name
46
47 chmod 755 %{buildroot}/%_initrddir/%{name}
48 perl -pi -e 's|%{buildroot}/||g' %{buildroot}/%{_bindir}/ajaxterm
49
50 %files
51 %defattr(-, root, root, 0755)
52 %doc README.txt
53 %{_bindir}/*
54 %{_datadir}/%name/
55 %{_mandir}/man1/*
56 %config(noreplace) %{_initrddir}/%{name}
57 %config(noreplace) %_sysconfdir/sysconfig/%{name}
58
59 %post
60 %_post_service %{name}
61
62 %preun
63 %_preun_service %{name}
64
65

  ViewVC Help
Powered by ViewVC 1.1.28