]> git.pld-linux.org Git - packages/ipvsadm.git/blob - ipvsadm.spec
f0d16fa01be955fada3bfaf5fce80c945698d560
[packages/ipvsadm.git] / ipvsadm.spec
1 # TODO: PLDify init script
2 Summary:        Utility to administer the Linux Virtual Server
3 Summary(pl.UTF-8):      Narzędzie do administracji wirtualnymi serwerami
4 Name:           ipvsadm
5 Version:        1.28
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications/System
9 Source0:        https://www.kernel.org/pub/linux/utils/kernel/ipvsadm/%{name}-%{version}.tar.xz
10 # Source0-md5:  b2c8fa302d5a9e9ebd4f60dd34aecd83
11 Patch0:         %{name}-make.patch
12 URL:            http://www.LinuxVirtualServer.org/
13 BuildRequires:  libnl-devel >= 3.2
14 BuildRequires:  popt-devel
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xz
17 Conflicts:      ipvsadm24
18 Conflicts:      piranha <= 0.4.14
19 Requires:       uname(release) >= 2.6
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _sbindir        /sbin
23
24 %description
25 ipvsadm is a utility to administer the IP virtual server services
26 offered by the Linux kernel augmented with the virtual server modules
27 (available as patch for long time, merged into kernel since 2.4.23).
28 This version supports Linux 2.6.x series.
29
30 %description -l pl.UTF-8
31 ipvsadm jest narzędziem do administracji wirtualnymi serwerami, co
32 umożliwia jądro Linuksa z modułami IPVS (dostępnymi jako łata od
33 dłuższego czasu, włączonymi do jądra od 2.4.23). Ta wersja obsługuje
34 wersje Linuksa 2.6.x.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__make} -j1 \
42         CC="%{__cc}" \
43         OPT="%{rpmcflags}"
44
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         BUILD_ROOT=$RPM_BUILD_ROOT \
51         MANDIR=%{_mandir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc MAINTAINERS README
59 %attr(755,root,root) %{_sbindir}/ipvsadm
60 %attr(755,root,root) %{_sbindir}/ipvsadm-save
61 %attr(755,root,root) %{_sbindir}/ipvsadm-restore
62 #%attr(754,root,root) /etc/rc.d/init.d/ipvsadm
63 #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ipvsadm
64 %{_mandir}/man8/ipvsadm.8*
65 %{_mandir}/man8/ipvsadm-save.8*
66 %{_mandir}/man8/ipvsadm-restore.8*
This page took 0.123603 seconds and 2 git commands to generate.