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