View | Details | Raw Unified | Return to bug 34041
Collapse All | Expand All

(-)a/net-tools.spec (-10 / +50 lines)
Lines 82-100 Patch84: net-tools-1.60-deb-large-indexes.patch Link Here
82
82
83
Patch85: net-tools-1.60-alt-iptunnel-includes.patch
83
Patch85: net-tools-1.60-alt-iptunnel-includes.patch
84
84
85
%description
86
This package contains the traditional networking tools. If you
87
for some reason need obsolete tools (like ifconfig), they are
88
in the %name-compat subpackage.
89
90
%package compat
91
Summary: Obsolete networking tools (for pre-2.4 kernels)
92
Group: System/Configuration/Networking
85
# due to hostname
93
# due to hostname
86
Requires: coreutils >= 0:5.3.1-alt0.2
94
Requires: coreutils >= 0:5.3.1-alt0.2
87
88
# due to resolve
95
# due to resolve
89
Requires: hostinfo >= 0:2.2-alt2
96
Requires: hostinfo >= 0:2.2-alt2
90
91
# due to mii-tool and ether-wake
97
# due to mii-tool and ether-wake
92
Requires: ethtool >= 1:2.6.33, etherwake
98
Requires: ethtool >= 1:2.6.33, etherwake
93
99
94
%description
100
%description compat
95
This package contains the traditional tools needed for setting up
101
These tools are obsolete (use iproute2 package for replacement),
96
networking: ethers, route and others.
102
but may still be used by some old systems. Do not install unless
97
Most of them are obsolete.  For replacement check iproute2 package.
103
you really need them.
104
105
%package doc
106
Summary: Documentation for %name
107
Group: System/Configuration/Networking
108
109
%description doc
110
%summary
98
111
99
%prep
112
%prep
100
%setup -q
113
%setup -q
Lines 205-216 rm -r %buildroot%_mandir/*_* Link Here
205
#find_lang --with-man '[a-z-]\+' --output %name.lang
218
#find_lang --with-man '[a-z-]\+' --output %name.lang
206
%find_lang %name
219
%find_lang %name
207
220
208
%files -f %name.lang
221
%files
209
/bin/*
222
/bin/arp
210
/sbin/*
223
/sbin/arp
211
%_mandir/man?/*
224
/bin/netstat
225
%_man5dir/ethers.5*
226
%_man8dir/arp.8*
227
%_man8dir/netstat.8*
228
229
# do we really need these translations?
230
%files doc -f %name.lang
212
%doc README* TODO
231
%doc README* TODO
213
232
233
%files compat
234
/bin/ifconfig
235
/bin/route
236
/sbin/ifconfig
237
/sbin/ipmaddr
238
/sbin/iptunnel
239
/sbin/mii-tool
240
/sbin/nameif
241
/sbin/plipconfig
242
/sbin/route
243
/sbin/slattach
244
%_man8dir/ifconfig.8.xz
245
%_man8dir/ipmaddr.8.xz
246
%_man8dir/iptunnel.8.xz
247
%_man8dir/mii-tool.8.xz
248
%_man8dir/nameif.8.xz
249
%_man8dir/plipconfig.8.xz
250
%_man8dir/route.8.xz
251
%_man8dir/slattach.8.xz
252
253
214
%changelog
254
%changelog
215
* Fri Jun 23 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.60-alt19
255
* Fri Jun 23 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.60-alt19
216
- Update to build with recent glibc headers
256
- Update to build with recent glibc headers

Return to bug 34041