Search
j0ke.net Open Build Service
>
Projects
>
ha
>
glb
> glb.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File glb.spec of Package glb (Revision 16)
Currently displaying revision
16
,
show latest
Name: glb Version: 0.9.1 Release: 1 License: GPLv2 Group: Applications/System Summary: Galera Load Balancer Source0: http://www.codership.com/files/glb/%{name}-%{version}.tar.bz2 Patch0: glb-configure-0.7.4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ %description glb is a simple TCP connection balancer made with scalability and performance in mind. It was inspired by pen, but unlike pen its functionality is limited only to balancing generic TCP connections. Features: * list of backend servers is configurable in runtime. * supports server "draining", i.e. does not allocate new connections to server, but does not kill existing ones, waiting for them to end gracefully. * glb is multithreaded, so it can utilize multiple CPU cores. In fact even on a single core CPU two threads may lower latencies a bit. * connections are distributed proportionally to weights assigned to backend servers. Each new connection is routed to the server which is most free (given its weight) at the given moment. %package -n libglb0 Group: System/Libraries Summary: GLB shared library %description -n libglb0 This package includes the glb shared library. %package -n libglb-devel Group: Development/Languages/C and C++ Summary: Development files of glb library Requires: libglb0 = %{version}-%{release} %description -n libglb-devel This package includes development files of the glb shared library. %prep %setup %patch0 %build %configure %__make %install %__make DESTDIR=%{buildroot} install strip %{buildroot}%{_sbindir}/glbd %clean rm -rf %{buildroot} %post -n libglb0 /sbin/ldconfig %postun -n libglb0 /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING README %{_sbindir}/glbd %files -n libglb-devel %defattr(-,root,root) %{_libdir}/libglb.a %{_libdir}/libglb.la %{_libdir}/libglb.so %{_libdir}/libglb.so.0 %files -n libglb0 %defattr(-,root,root) %{_libdir}/libglb.so.0.0.9 %changelog * Tue Feb 16 2010 Carsten Schoene <cs@linux-administrator.com> - 0.7.4-1 - update to release 0.7.4 * Thu Jan 21 2010 Carsten Schoene <cs@linux-administrator.com> - 0.7.3-1 - update to release 0.7.3 * Sat Jun 20 2009 Carsten Schoene <cs@linux-administrator.com> - 0.7.2-1 - update to release 0.7.2 - Management through FIFO didn't work and has been fixed - disabled --enable-stats (didn't compile since 0.7.1) * Sun Apr 19 2009 Carsten Schoene <cs@linux-administrator.com> - 0.7.1-1 - update to release 0.7.1 - reworked configure patch (removes -Werror)