]> git.pld-linux.org Git - packages/ifenslave.git/blame_incremental - ifenslave.spec
Fix build with -Werror=format-security
[packages/ifenslave.git] / ifenslave.spec
... / ...
CommitLineData
1Summary: Configure network interfaces for parallel routing
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
4Name: ifenslave
5Version: 1.1.0
6Release: 2
7License: GPL
8Group: Networking
9Source0: %{name}.c
10Patch0: %{name}-debian.patch
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%define _sbindir /sbin
14
15%description
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.
22
23%description -l pl.UTF-8
24ifenslave konfiguruje interfejsy sieciowe dla równoległego routingu.
25
26%description -l pt_BR.UTF-8
27ifenslave configura interfaces de rede para roteamento paralelo.
28
29%prep
30%setup -Tc -q
31install %{SOURCE0} .
32%patch0 -p1
33
34
35%build
36%{__cc} %{rpmcflags} -o %{name} %{name}.c
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
41
42install %{name} $RPM_BUILD_ROOT%{_sbindir}
43install ifenslave.8 $RPM_BUILD_ROOT%{_mandir}/man8
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%attr(755,root,root) %{_sbindir}/%{name}
51%{_mandir}/man8/*.8*
This page took 0.071608 seconds and 4 git commands to generate.