forked from ralphlange/procServ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
procServ.spec
68 lines (52 loc) · 2.08 KB
/
procServ.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Summary: Process server with telnet console and log access
Name: procServ
Version: 2.6.0
Release: 1%{?dist}
License: GPLv3
Group: Applications/System
URL: http://sourceforge.net/projects/procserv
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://sourceforge.net/projects/procserv/files/%{version}/procServ-%{version}.tar.gz
BuildRequires: libtelnet-devel
%description
procServ is a wrapper that starts an arbitrary command as a child process in
the background, connecting its standard input and output to a TCP port for
telnet access. It supports logging, child restart (manual or automatic on
exit), and more.
procServ does not have the rich feature set of the screen utility,
but is intended to provide running a command in a system service style,
in a small, robust way.
Handling multiple users, authorization, authentication, central logging
is done best on a higher level, using a package like conserver.
For security reasons, procServ only accepts connections from localhost.
%prep
%setup -q
%build
%configure --docdir=%{_defaultdocdir}/%{name}-%{version}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README procServ.html procServ.pdf procServ.txt
%{_bindir}/procServ
%{_mandir}/man1/procServ.*
%changelog
* Fri Apr 13 2012 Ralph Lange <[email protected]> 2.6.0-1
- New upstream version
- Added libtelnet dependency
* Tue Mar 23 2010 Ralph Lange <[email protected]> 2.5.1-1
- New upstream version
* Fri Jan 15 2010 Ralph Lange <[email protected]> 2.5.0-4
- Improved description
* Sat Dec 26 2009 Ralph Lange <[email protected]> 2.5.0-3
- Spec clean-up suggested by Fabian Affolter:
Removed autotools requirement, removed attr for binary,
added --docdir to configure, added flags for parallel make
* Thu Dec 24 2009 Ralph Lange <[email protected]> 2.5.0-2
- Fixed rpmlint issue by breaking description into multiple lines
* Thu Dec 03 2009 Matthieu Bec <[email protected]> 2.5.0-1
- first spec