]> git.pld-linux.org Git - packages/net-tools.git/blob - net-tools.spec
1.57
[packages/net-tools.git] / net-tools.spec
1 Summary:        Basic Networking Tools
2 Summary(pl):    Podstawowe narzêdzia do obs³ugi i konfiguracji sieci
3 Name:           net-tools
4 Version:        1.57
5 Release:        1
6 License:        GPL
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
11 Source2:        netstat.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)
17 Obsoletes:      slattach
18
19 %description
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.
23
24 %description -l pl
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.
28
29 %package -n slattach
30 Summary:        slattach - attach a network interface to a serial line
31 Group:          Networking/Admin
32 Group(pl):      Sieciowe/Administracyjne
33 Requires:       %{name} = %{version}
34
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.
39
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}
45
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.
51
52 If the single interface argument is given, plipconfig displays
53 the status of the given interface only. Otherwise, it will try
54 to set the options.
55
56 %prep
57 %setup  -q 
58 %patch0 -p1
59 %patch1 -p1
60 %patch2 -p1
61
62 %build
63 %{__make} COPTS="$RPM_OPT_FLAGS -Wall" I18N=1
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         BASEDIR=$RPM_BUILD_ROOT \
70         INSTALL="%{_bindir}/install" \
71         mandir=%{_mandir} \
72         I18N=1
73
74 strip $RPM_BUILD_ROOT/{bin/*,sbin/*}
75
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
79
80 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man{1,5,8}/*,*/man*/*} \
81         READ*
82
83 %find_lang %{name}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc READ*.gz
91
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
98
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*/*
113
114 %{_mandir}/man[15]/*
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*
121
122 %files -n slattach
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*
128
129 %files -n plipconfig
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*
This page took 0.060193 seconds and 3 git commands to generate.