source: projects/specs/trunk/i/ipvsadm/ipvsadm-vl.spec @ 6030

Revision 6030, 5.3 KB checked in by daisuke, 12 years ago (diff)

update to 1.26

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