]>
Commit | Line | Data |
---|---|---|
a9d112c3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
a9d112c3 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = iproute2 |
f04116f6 JS |
7 | version = 6.5.0 |
8 | release = 1 | |
a9d112c3 | 9 | |
4bfc4e7c | 10 | groups = Networking/Tools |
b63b4814 | 11 | url = https://git.kernel.org/pub/scm/network/iproute2/iproute2.git |
802ea3af MT |
12 | license = GPLv2+ |
13 | summary = Advanced IP routing and network device configuration tools. | |
a9d112c3 | 14 | |
802ea3af | 15 | description |
094be68a MT |
16 | The iproute package contains networking utilities (ip and rtmon, for |
17 | example) which are designed to use the advanced networking | |
a9d112c3 | 18 | capabilities of the Linux 2.4.x and 2.6.x kernel. |
802ea3af MT |
19 | end |
20 | ||
b63b4814 | 21 | source_dl = https://kernel.org/pub/linux/utils/net/iproute2/ |
d5598cce | 22 | sources = %{thisapp}.tar.xz |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
26 | bison | |
113fe5ef | 27 | elfutils-devel |
802ea3af | 28 | flex |
113fe5ef | 29 | libcap-devel |
e6ec25ad | 30 | libmnl-devel |
113fe5ef | 31 | libtirpc-devel |
802ea3af MT |
32 | end |
33 | ||
f569a8ef | 34 | export RPM_OPT_FLAGS = %{CFLAGS} %{LDFLAGS} |
d5598cce | 35 | export LIBDIR = %{libdir} |
2ea14ff4 | 36 | export SBINDIR = %{sbindir} |
802ea3af MT |
37 | end |
38 | ||
39 | packages | |
40 | package %{name} | |
d5598cce MT |
41 | configfiles = %{sysconfdir}/iproute2 |
42 | end | |
43 | ||
44 | package %{name}-devel | |
45 | template DEVEL | |
802ea3af | 46 | end |
1f9bc2f0 MT |
47 | |
48 | package %{name}-debuginfo | |
49 | template DEBUGINFO | |
50 | end | |
802ea3af | 51 | end |