ipvsadm-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. Summary: Utility to administer the Linux Virtual Server
  2. Summary(ja): Linux Virtual Server を管理するためのユーティリティ
  3. Name: ipvsadm
  4. Version: 1.24
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. URL: http://www.LinuxVirtualServer.org/
  8. Group: Applications/System
  9. Buildroot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-buildroot
  10. Provides: %{name}-%{version}
  11. PreReq: chkconfig
  12. Source0: http://www.LinuxVirtualServer.org/software/ipvsadm-%{version}.tar.gz
  13. patch0: ipvsadm-1.24-kernhdr-1.2.0.patch
  14. %description
  15. ipvsadm is a utility to administer the IP Virtual Server services
  16. offered by the Linux kernel.
  17. %prep
  18. %setup -n %{name}-%{version}
  19. %patch0 -p1
  20. %build
  21. CFLAGS="${RPM_OPT_FLAGS}" %__make
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. mkdir -p ${RPM_BUILD_ROOT}/{sbin,%{_mandir}/man8,etc/rc.d/init.d}
  25. %__make install BUILD_ROOT=${RPM_BUILD_ROOT} MANDIR=%{_mandir}
  26. %files
  27. %defattr(-,root,root)
  28. %doc README
  29. %config /etc/rc.d/init.d/ipvsadm
  30. /sbin/ipvsadm*
  31. %{_mandir}/man8/ipvsadm*
  32. %post
  33. /sbin/chkconfig --add ipvsadm
  34. %preun
  35. /sbin/chkconfig --del ipvsadm
  36. %clean
  37. rm -rf $RPM_BUILD_DIR/%{name}
  38. rm -rf $RPM_BUILD_ROOT
  39. %changelog
  40. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.24-1vl5
  41. - applied new versioning policy, spec in utf-8
  42. * Sun Oct 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.24-0vl1
  43. - initial build for Vine Linux
  44. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.24-8.1
  45. - rebuild
  46. * Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com> - 1.24-8
  47. - Added missing prereq to chkconfig
  48. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.24-7.2.1
  49. - bump again for double-long bug on ppc(64)
  50. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.24-7.2
  51. - rebuilt for new gcc4.1 snapshot and glibc changes
  52. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  53. - rebuilt
  54. * Mon Mar 14 2005 Lon Hohberger <lhh@redhat.com> 1.24-7
  55. - rebuilt
  56. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  57. - rebuilt
  58. * Tue Mar 16 2004 Mike McLean <mikem@redhat.com> 1.24-4.2.ipvs120
  59. - bump release
  60. * Tue Mar 02 2004 Mike McLean <mikem@redhat.com> 1.24-4.1.ipvs120
  61. - update to new version for 2.6 kernel
  62. * Thu Jan 08 2004 Mike McLean <mikem@redhat.com> 1.21-10.ipvs108
  63. - fixing a minor bug/typo in output format processing
  64. * Wed Aug 06 2003 Mike McLean <mikem@redhat.com> 1.21-9.ipvs108
  65. - Dropping kernel-source BuildRequires and including a local copy of
  66. net/ip_vs.h to compensate.
  67. - Incorporating some upstream changes, most notably the --sort option.
  68. * Fri Jun 13 2003 Mike McLean <mikem@redhat.com> 1.21-8
  69. - dropping ppc from excluded arches
  70. * Thu Apr 4 2003 Mike McLean <mikem@redhat.com> 1.21-7
  71. - changing %%ExcludeArch
  72. * Thu Apr 4 2003 Mike McLean <mikem@redhat.com> 1.21-6
  73. - added BuildRequires: kernel-source
  74. - escaped all %% characters in %%changelog
  75. * Mon Dec 2 2002 Mike McLean <mikem@redhat.com> 1.21-5
  76. - Improved the description in the ipvsadm initscript.
  77. - fixed Buildroot to use _tmppath
  78. * Wed Aug 21 2002 Philip Copeland <bryce@redhat.com> 1.21-4
  79. - Argh,.. %%docdir was defined which overrode what I'd
  80. intended to happen
  81. * Tue Aug 1 2002 Philip Copeland <bryce@redhat.com>
  82. - Ah... the manuals were being pushed into /usr/man
  83. instead of /usr/share/man. Fixed.
  84. * Tue Jul 16 2002 Philip Copeland <bryce@redhat.com>
  85. - Minor Makefile tweak so that we do a minimal hunt for to find
  86. the ip_vs.h file location
  87. * Thu Dec 16 2001 Wensong Zhang <wensong@linuxvirtualserver.org>
  88. - Changed to install ipvsadm man pages according to the %%{_mandir}
  89. * Thu Dec 30 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
  90. - update the %%file section
  91. * Thu Dec 17 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
  92. - Added a if-condition to keep both new or old rpm utility building
  93. the package happily.
  94. * Tue Dec 12 2000 P.opeland <bryce@redhat.com>
  95. - Small modifications to make the compiler happy in RH7 and the Alpha
  96. - Fixed the documentation file that got missed off in building
  97. the rpm
  98. - Made a number of -pedantic mods though popt will not compile with
  99. -pedantic
  100. * Wed Aug 9 2000 Horms <horms@vergenet.net>
  101. - Removed Obseletes tag as ipvsadm is back in /sbin where it belongs
  102. as it is more or less analogous to both route and ipchains both of
  103. which reside in /sbin.
  104. - Create directory to install init script into. Init scripts won't install
  105. into build directory unless this is done
  106. * Thu Jul 6 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
  107. - Changed to build rpms on the ipvsadm tar ball directly
  108. * Wed Jun 21 2000 P.Copeland <copeland@redhat.com>
  109. - fixed silly install permission settings
  110. * Mon Jun 19 2000 P.Copeland <copeland@redhat.com>
  111. - Added 'dist' and 'rpms' to the Makefile
  112. - Added Obsoletes tag since there were early versions
  113. of ipvsadm-*.rpm that installed in /sbin
  114. - Obsolete tag was a bit vicious re: piranha
  115. * Mon Apr 10 2000 Horms <horms@vergenet.net>
  116. - created for version 1.9