"Fossies" - the Fresh Open Source Software Archive

Member "balance-3.57/balance.spec" (28 Apr 2015, 1838 Bytes) of package /linux/privat/balance-3.57.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Summary: TCP load-balancing proxy server
    2 Name: balance
    3 Version: 3.54
    4 Release: 1
    5 Group: Networking/Daemons
    6 Source: http://www.inlab.de/%{name}-%{version}.tar.gz
    7 Copyright: Proprietary
    8 BuildRoot: %{_tmppath}/%{name}-buildroot
    9 
   10 %define strip_binaries 1
   11 %define gzip_man 1
   12 %define  __prefix /usr
   13 
   14 Prefix: %{__prefix}
   15 
   16 %description
   17 Balance is a simple but powerful generic tcp proxy with round robin
   18 load balancing and failover mechanisms.  The program behaviour can
   19 be controlled at runtime using a simple command line syntax. 
   20 
   21 %prep
   22 %setup 
   23 %build
   24 
   25 make CFLAGS="$RPM_OPT_FLAGS"
   26     
   27 %install
   28 [ "${RPM_BUILD_ROOT}" != "/" ] && /bin/rm -rf ${RPM_BUILD_ROOT}
   29 mkdir -p $RPM_BUILD_ROOT/usr/sbin
   30 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
   31 mkdir -p $RPM_BUILD_ROOT/var/run/balance
   32 chmod 1777 $RPM_BUILD_ROOT/var/run/balance
   33 install -m 755 -s balance $RPM_BUILD_ROOT/usr/sbin/balance
   34 install -m 644 balance.1 $RPM_BUILD_ROOT%{_mandir}/man1/balance.1
   35 
   36 %if %{strip_binaries}
   37 { cd $RPM_BUILD_ROOT
   38   strip .%{__prefix}/sbin/balance || /bin/true
   39 }
   40 %if %{gzip_man}
   41 { cd $RPM_BUILD_ROOT
   42   gzip .%{_mandir}/man1/balance.1
   43 }
   44 %endif
   45 
   46 %clean
   47 [ "${RPM_BUILD_ROOT}" != "/" ] && /bin/rm -rf ${RPM_BUILD_ROOT}
   48 
   49 %files
   50 %defattr(-,root,root)
   51 %doc README COPYING
   52 %{__prefix}/sbin/balance
   53 %{_mandir}/man1/balance.1.gz
   54 %dir /var/run/balance
   55 
   56 %changelog
   57 * Fri Dec 03 2010 T.Obermair > 3.54 
   58 - update version
   59 
   60 * Tue Apr 08 2008 T.Obermair > 3.42 
   61 - update version
   62 
   63 * Sat Nov 24 2007 T.Obermair > 3.40 
   64 - update version
   65 
   66 * Mon Jan 15 2007 T.Obermair > 3.35 
   67 - update version
   68 
   69 * Sat Mar 18 2006 T.Obermair > 3.34 
   70 - update version
   71 
   72 * Wed Oct 19 2005 T.Obermair > 3.28 
   73 - update version
   74 
   75 * Fri Oct 31 2003 Bojan Smojver <bojan at rexursive dot com> 3.11-1 
   76 - update version
   77 
   78 * Mon Sep  22 2003 Thomas Steudten <thomas at steudten dot com> 3.10-2 
   79 - rebuild
   80 - fix/expand specfile