1 Summary: Basic Networking Tools
2 Summary(pl): Podstawowe narzêdzia do obs³ugi i konfiguracji sieci
7 Group: Networking/Admin
8 Group(pl): Sieciowe/Administracyjne
9 Source0: http://www.tazenda.demon.co.uk/phil/net-tools/%{name}-%{version}.tar.bz2
10 Source1: ifconfig.8.pl
12 Patch0: net-tools-config.patch
13 Patch1: net-tools-man.patch
14 Patch2: net-tools-mandir.patch
15 URL: http://www.tazenda.demon.co.uk/phil/net-tools/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This is a collection of the basic tools necessary for setting up
21 networking on a Linux machine. It includes ifconfig, route, netstat,
22 rarp, and some other minor tools.
25 Pakiet ten zawiera zbiór podstawowych narzêdzi do konfigurowania
26 sieci. Znajduj± siê tutaj: ifconfig, route, netstat, rarp oraz inne -
27 mniej wa¿ne aplikacje.
30 Summary: slattach - attach a network interface to a serial line
31 Group: Networking/Admin
32 Group(pl): Sieciowe/Administracyjne
33 Requires: %{name} = %{version}
35 %description -n slattach
36 Slattach is a tiny little program that can be used to put a normal
37 terminal ("serial") line into one of several "network" modes, thus
38 allowing you to use it for point-to-point links to other computers.
40 %package -n plipconfig
41 Summary: plipconfig - fine tune PLIP device parameters
42 Group: Networking/Admin
43 Group(pl): Sieciowe/Administracyjne
44 Requires: %{name} = %{version}
46 %description -n plipconfig
47 Plipconfig is used to (hopefully) improve PLIP performance by
48 changing the default timing parameters used by the PLIP protocol.
49 Results are dependent on the parallel port hardware, cable, and
50 the CPU speed of each machine on each end of the PLIP link.
52 If the single interface argument is given, plipconfig displays
53 the status of the given interface only. Otherwise, it will try
63 %{__make} COPTS="$RPM_OPT_FLAGS -Wall" I18N=1
66 rm -rf $RPM_BUILD_ROOT
69 BASEDIR=$RPM_BUILD_ROOT \
70 INSTALL="%{_bindir}/install" \
74 strip $RPM_BUILD_ROOT/{bin/*,sbin/*}
76 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man8
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man8/ifconfig.8
78 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man8/netstat.8
80 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man{1,5,8}/*,*/man*/*} \
86 rm -rf $RPM_BUILD_ROOT
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
92 %attr(755,root,root) /bin/*
93 %attr(755,root,root) /sbin/arp
94 %attr(755,root,root) /sbin/ifconfig
95 %attr(755,root,root) /sbin/mii-tool
96 %attr(755,root,root) /sbin/rarp
97 %attr(755,root,root) /sbin/route
99 %lang(de) %{_mandir}/de_DE/man[15]/*
100 %lang(de) %{_mandir}/de_DE/man8/arp.8*
101 %lang(de) %{_mandir}/de_DE/man8/ifconfig.8*
102 %lang(de) %{_mandir}/de_DE/man8/netstat.8*
103 %lang(de) %{_mandir}/de_DE/man8/rarp.8*
104 %lang(de) %{_mandir}/de_DE/man8/route.8*
105 %lang(fr) %{_mandir}/fr_FR/man[15]/*
106 %lang(fr) %{_mandir}/fr_FR/man8/arp.8*
107 %lang(fr) %{_mandir}/fr_FR/man8/ifconfig.8*
108 %lang(fr) %{_mandir}/fr_FR/man8/netstat.8*
109 %lang(fr) %{_mandir}/fr_FR/man8/rarp.8*
110 %lang(fr) %{_mandir}/fr_FR/man8/route.8*
111 %lang(pt) %{_mandir}/pt_BR/man*/*
112 %lang(pl) %{_mandir}/pl/man*/*
115 %{_mandir}/man8/arp.8*
116 %{_mandir}/man8/ifconfig.8*
117 %{_mandir}/man8/netstat.8*
118 %{_mandir}/man8/mii-tool.8*
119 %{_mandir}/man8/rarp.8*
120 %{_mandir}/man8/route.8*
123 %defattr(644,root,root,755)
124 %attr(755,root,root) /sbin/slattach
125 %lang(de) %{_mandir}/de_DE/man8/slattach.8*
126 %lang(fr) %{_mandir}/fr_FR/man8/slattach.8*
127 %{_mandir}/man8/slattach.8*
130 %defattr(644,root,root,755)
131 %attr(755,root,root) /sbin/plipconfig
132 %lang(de) %{_mandir}/de_DE/man8/plipconfig.8*
133 %lang(fr) %{_mandir}/fr_FR/man8/plipconfig.8*
134 %{_mandir}/man8/plipconfig.8*