blob: 884e537e152fce9b7e8e7ead63b9e765847a0398 [file] [log] [blame]
%define prefix /usr
Summary: Utility to administer the Linux Virtual Server
Name: ipvsadm
Version: @@VERSION@@
Release: @@RELEASE@@
License: GPL
Group: Applications/System
BuildRoot: /var/tmp/%name-%{PACKAGE_VERSION}-root
Provides: %{name}-%{version}
Conflicts: piranha <= 0.4.14
ipvsadm is a utility to administer the IP Virtual Server services
offered by the latest Linux kernel 2.6.x.
%setup -n %{name}-%{version}
mkdir -p ${RPM_BUILD_ROOT}/{sbin,%{_mandir}/man8,etc/rc.d/init.d}
make install BUILD_ROOT=${RPM_BUILD_ROOT} MANDIR=%{_mandir}
%config /etc/rc.d/init.d/ipvsadm
/sbin/chkconfig --add ipvsadm
/sbin/chkconfig --del ipvsadm
rm -rf $RPM_BUILD_DIR/%{name}
* Thu Jun 23 2005 Steve Nielsen <>
- Respect rpmmacros that might be set (by using rpm --eval)
* Sat Dec 20 2003 Wensong Zhang <>
- tidy up the description
* Sat Apr 5 2003 Wensong Zhang <>
- Removed the unnecessary Docdir setting.
* Thu Dec 16 2001 Wensong Zhang <>
- Changed to install ipvsadm man pages according to the %{_mandir}
* Thu Dec 30 2000 Wensong Zhang <>
- update the %file section
* Thu Dec 17 2000 Wensong Zhang <>
- Added a if-condition to keep both new or old rpm utility building
the package happily.
* Tue Dec 12 2000 P.Copeland <>
- Small modifications to make the compiler happy in RH7 and the Alpha
- Fixed the documentation file that got missed off in building
the rpm
- Made a number of -pedantic mods though popt will not compile with
* Wed Aug 9 2000 Horms <>
- Removed Obseletes tag as ipvsadm is back in /sbin where it belongs
as it is more or less analogous to both route and ipchains both of
which reside in /sbin.
- Create directory to install init script into. Init scripts won't install
into build directory unless this is done
* Thu Jul 6 2000 Wensong Zhang <>
- Changed to build rpms on the ipvsadm tar ball directly
* Wed Jun 21 2000 P.Copeland <>
- fixed silly install permission settings
* Mon Jun 19 2000 P.Copeland <>
- Added 'dist' and 'rpms' to the Makefile
- Added Obsoletes tag since there were early versions
of ipvsadm-*.rpm that installed in /sbin
- Obsolete tag was a bit vicious re: piranha
* Mon Apr 10 2000 Horms <>
- created for version 1.9