summaryrefslogtreecommitdiff
path: root/pen.spec
blob: d6ca4f6b30cf414aedebe02d10f7918cc492a114 (plain)
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
Summary:	Pound - load-balancer
Name:		pen
Version:	0.17.1
Release:	0.1
License:	GPL
Group:		Networking/Daemons
Source0:	ftp://siag.nu/pub/pen/%{name}-%{version}.tar.gz
# Source0-md5:	62548155d3bf42aea05b32227e132331
URL:		http://siag.nu/pen/
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
This is pen, a load balancer for "simple" tcp based protocols such as
http or smtp. It allows several servers to appear as one to the
outside and automatically detects servers that are down and
distributes clients among the available servers. This gives high
availability and scalable performance.

%prep
%setup -q

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

rm -rf $RPM_BUILD_ROOT%{_prefix}/doc

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog HOWTO README penstats
%attr(755,root,root) %{_bindir}/mergelogs
%attr(755,root,root) %{_bindir}/pen
%attr(755,root,root) %{_bindir}/penctl
%attr(755,root,root) %{_bindir}/penlog
%attr(755,root,root) %{_bindir}/penlogd
%{_mandir}/man1/mergelogs.1*
%{_mandir}/man1/pen.1*
%{_mandir}/man1/penctl.1*
%{_mandir}/man1/penlog.1*
%{_mandir}/man1/penlogd.1*