]> git.pld-linux.org Git - packages/balance.git/blame - balance.spec
- release 2
[packages/balance.git] / balance.spec
CommitLineData
648b35ac 1Summary: TCP proxy with load balancing
ef2dfeea 2Summary(pl.UTF-8): Proxy TCP z load balancingiem
648b35ac 3Name: balance
047e3106 4Version: 3.54
e06c2e75 5Release: 2
648b35ac 6License: GPL v2
7Group: Networking/Utilities
8Source0: http://www.inlab.de/%{name}-%{version}.tar.gz
047e3106 9# Source0-md5: 99854615cc58ceb2c5bbf29e35d18018
7b724dbc 10Source1: %{name}.tmpfiles
648b35ac 11URL: http://www.inlab.de/balance.html
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Balance is our suprisingly successful load balancing solution being a
1f0dd5e2 16simple but powerful generic TCP proxy with round robin load balancing
648b35ac 17and failover mechanisms. Its behaviour can be controlled at runtime
18using a simple command line syntax.
19
54bf088b 20%description -l pl.UTF-8
1f0dd5e2 21Balance jest prostym, ale bardzo skutecznym proxy TCP z load
54bf088b
JR
22balancingiem. Jego zachowanie w czasie działania może być kontrolowane
23z linii poleceń, przy użyciu prostej składni.
648b35ac 24
25%prep
26%setup -q
27
28%build
a368d823 29%{__make} balance \
648b35ac 30 CC="%{__cc}" \
31 CFLAGS="%{rpmcflags}"
32
33%install
34rm -rf $RPM_BUILD_ROOT
7b724dbc
JR
35install -d $RPM_BUILD_ROOT{%{_sbindir},/var/run/balance,%{_mandir}/man1} \
36 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
648b35ac 37
38install balance $RPM_BUILD_ROOT%{_sbindir}
39install balance.1 $RPM_BUILD_ROOT%{_mandir}/man1
7b724dbc 40install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
648b35ac 41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc README
48%dir %attr(700,root,root) /var/run/balance
49%attr(755,root,root) %{_sbindir}/balance
7b724dbc 50/usr/lib/tmpfiles.d/%{name}.conf
648b35ac 51%{_mandir}/man1/*
This page took 0.080584 seconds and 4 git commands to generate.