1 |
# $Id: smeserver-ajaxterm.spec,v 1.1 2013/02/05 21:44:30 unnilennium Exp $ |
# $Id: smeserver-ajaxterm.spec,v 1.2 2013/02/06 16:19:42 unnilennium Exp $ |
2 |
# Authority: mweinber |
# Authority: mweinber |
3 |
# Name: Michael Weinberger |
# Name: Michael Weinberger |
4 |
|
|
5 |
Summary: ajaxterm is a web-based terminal |
Summary: ajaxterm is a web-based terminal |
6 |
%define realname smeserver-ajaxterm |
%define realname smeserver-ajaxterm |
7 |
%define version 1.0.5 |
%define version 1.0.5 |
8 |
%define release 3 |
%define release 4 |
9 |
Name: %{realname} |
Name: %{realname} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Source1: Ajaxterm-0.10.tar.gz |
Source1: Ajaxterm-0.10.tar.gz |
17 |
Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch |
Patch0: smeserver-ajaxterm-1.0.5-DocumentationFromSpecFile.patch |
18 |
|
Patch1: smeserver-ajaxterm-1.0.5-patch1.patch |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
20 |
URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm |
URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm |
21 |
Requires: smeserver-release > 7.1.3 |
Requires: smeserver-release > 7.1.3 |
23 |
BuildRequires: python2-devel python-setuptools |
BuildRequires: python2-devel python-setuptools |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Wed Feb 06 2013 JP Pialasse <tests@pialasse.com> 1.0.5-4 |
27 |
|
- fix user ajaxterm [SME: 6442] |
28 |
|
- creating default database |
29 |
|
|
30 |
* Tue Feb 05 2013 JP Pialasse <tests@pialasse.com> 1.0.5-3 |
* Tue Feb 05 2013 JP Pialasse <tests@pialasse.com> 1.0.5-3 |
31 |
- import into SME8 tree [SME: 7309] |
- import into SME8 tree [SME: 7309] |
32 |
- fix brp-python in spec file |
- fix brp-python in spec file |
57 |
%description |
%description |
58 |
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). |
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). |
59 |
|
|
60 |
|
%pre |
61 |
|
if ! /usr/bin/id ajaxterm &>/dev/null; then |
62 |
|
/usr/sbin/useradd -c 'Ajaxterm User' -s /sbin/nologin -r -d /opt/ajaxterm ajaxterm &>/dev/null || \ |
63 |
|
%logmsg "Unexpected error adding user \"ajaxterm\". Abort installation." |
64 |
|
fi |
65 |
|
|
66 |
%prep |
%prep |
67 |
%setup -n %{realname}-%{version} |
%setup -n %{realname}-%{version} |
68 |
%patch0 -p1 |
%patch0 -p1 |
69 |
|
%patch1 -p1 |
70 |
|
|
71 |
%build |
%build |
72 |
|
|