1 Summary: TCP proxy with load balancing
2 Summary(pl.UTF-8): Proxy TCP z load balancingiem
7 Group: Networking/Utilities
8 Source0: http://www.inlab.de/%{name}-%{version}.tar.gz
9 # Source0-md5: 99854615cc58ceb2c5bbf29e35d18018
10 Source1: %{name}.tmpfiles
11 URL: http://www.inlab.de/balance.html
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Balance is our suprisingly successful load balancing solution being a
16 simple but powerful generic TCP proxy with round robin load balancing
17 and failover mechanisms. Its behaviour can be controlled at runtime
18 using a simple command line syntax.
20 %description -l pl.UTF-8
21 Balance jest prostym, ale bardzo skutecznym proxy TCP z load
22 balancingiem. Jego zachowanie w czasie działania może być kontrolowane
23 z linii poleceń, przy użyciu prostej składni.
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sbindir},/var/run/balance,%{_mandir}/man1} \
36 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
38 install balance $RPM_BUILD_ROOT%{_sbindir}
39 install balance.1 $RPM_BUILD_ROOT%{_mandir}/man1
40 install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %dir %attr(700,root,root) /var/run/balance
49 %attr(755,root,root) %{_sbindir}/balance
50 /usr/lib/tmpfiles.d/%{name}.conf