]>
Commit | Line | Data |
---|---|---|
ff81cd06 | 1 | Summary: Configure network interfaces for parallel routing |
619a0ddc ER |
2 | Summary(pl.UTF-8): Konfiguracja interfejsów sieciowych dla równoległego routingu |
3 | Summary(pt_BR.UTF-8): Configura interfaces de rede para roteamento paralelo | |
771cba1f | 4 | Name: ifenslave |
26238160 | 5 | Version: 1.1.0 |
94117732 | 6 | Release: 2 |
771cba1f | 7 | License: GPL |
771cba1f | 8 | Group: Networking |
26238160 | 9 | Source0: %{name}.c |
94117732 | 10 | Patch0: %{name}-debian.patch |
771cba1f | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
9213d1b7 | 13 | %define _sbindir /sbin |
14 | ||
771cba1f | 15 | %description |
94117732 PG |
16 | Attach and detach slave interfaces to a bonding device. This is a tool to |
17 | attach and detach slave network interfaces to a bonding device. A bonding | |
18 | device will act like a normal Ethernet network device to the kernel, but | |
19 | will send out the packets via the slave devices using a simple round-robin | |
20 | scheduler. This allows for simple load-balancing, identical to "channel | |
21 | bonding" or "trunking" techniques used in switches. | |
771cba1f | 22 | |
183145a7 JR |
23 | %description -l pl.UTF-8 |
24 | ifenslave konfiguruje interfejsy sieciowe dla równoległego routingu. | |
771cba1f | 25 | |
183145a7 | 26 | %description -l pt_BR.UTF-8 |
ff81cd06 | 27 | ifenslave configura interfaces de rede para roteamento paralelo. |
771cba1f | 28 | |
46a1ebfe | 29 | %prep |
94117732 PG |
30 | %setup -Tc -q |
31 | install %{SOURCE0} . | |
32 | %patch0 -p1 | |
33 | ||
46a1ebfe | 34 | |
771cba1f | 35 | %build |
94117732 | 36 | %{__cc} %{rpmcflags} -o %{name} %{name}.c |
771cba1f | 37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
94117732 PG |
40 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} |
41 | ||
42 | install %{name} $RPM_BUILD_ROOT%{_sbindir} | |
43 | install ifenslave.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
771cba1f | 44 | |
45 | %clean | |
b94b90da | 46 | rm -rf $RPM_BUILD_ROOT |
771cba1f | 47 | |
48 | %files | |
49 | %defattr(644,root,root,755) | |
94117732 PG |
50 | %attr(755,root,root) %{_sbindir}/%{name} |
51 | %{_mandir}/man8/*.8* |