]> git.pld-linux.org Git - packages/balance.git/blob - balance.spec
- release 2
[packages/balance.git] / balance.spec
1 Summary:        TCP proxy with load balancing
2 Summary(pl.UTF-8):      Proxy TCP z load balancingiem
3 Name:           balance
4 Version:        3.54
5 Release:        2
6 License:        GPL v2
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)
13
14 %description
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.
19
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.
24
25 %prep
26 %setup -q
27
28 %build
29 %{__make} balance \
30         CC="%{__cc}" \
31         CFLAGS="%{rpmcflags}"
32
33 %install
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
37
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
41
42 %clean
43 rm -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
50 /usr/lib/tmpfiles.d/%{name}.conf
51 %{_mandir}/man1/*
This page took 0.078237 seconds and 3 git commands to generate.