1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/Tools
11 url = https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
13 summary = Advanced IP routing and network device configuration tools.
16 The iproute package contains networking utilities (ip and rtmon, for
17 example) which are designed to use the advanced networking
18 capabilities of the Linux 2.4.x and 2.6.x kernel.
21 source_dl = https://kernel.org/pub/linux/utils/net/iproute2/
22 sources = %{thisapp}.tar.xz
30 linux-atm-devel >= 2.5.1
33 export RPM_OPT_FLAGS = %{CFLAGS} %{LDFLAGS}
34 export LIBDIR = %{libdir}
35 export SBINDIR = %{sbindir}
36 export IPT_LIB_DIR = %{libdir}/xtables
40 install -v -m 644 include/libnetlink.h %{BUILDROOT}%{includedir}
41 install -v -m 644 lib/libnetlink.a %{BUILDROOT}%{libdir}
46 %{libdir}/libnetlink.a
54 configfiles = %{sysconfdir}/iproute2
61 package %{name}-debuginfo