]> git.pld-linux.org Git - packages/net-tools.git/blob - net-tools.spec
- removed slattach from Obsoletes.
[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.60
5 Release:        2
6 License:        GPL
7 Group:          Networking/Admin
8 Group(de):      Netzwerkwesen/Administration
9 Group(pl):      Sieciowe/Administacyjne
10 Source0:        http://www.tazenda.demon.co.uk/phil/net-tools/%{name}-%{version}.tar.bz2
11 Source1:        ifconfig.8.pl
12 Source2:        netstat.8.pl
13 Patch0:         %{name}-config.patch
14 Patch1:         %{name}-man.patch
15 Patch2:         %{name}-ipvs.patch
16 URL:            http://www.tazenda.demon.co.uk/phil/net-tools/
17 BuildRequires:  gettext-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This is a collection of the basic tools necessary for setting up
22 networking on a Linux machine. It includes ifconfig, route, netstat,
23 rarp, and some other minor tools.
24
25 %description -l pl
26 Pakiet ten zawiera zbiór podstawowych narzêdzi do konfigurowania
27 sieci. Znajduj± siê tutaj: ifconfig, route, netstat, rarp oraz inne -
28 mniej wa¿ne aplikacje.
29
30 %package -n slattach
31 Summary:        slattach - attach a network interface to a serial line
32 Summary(pl):    slattach - do³±cz interfejs sieciowy do lini szeregowej
33 Group:          Networking/Admin
34 Group(de):      Netzwerkwesen/Administration
35 Group(pl):      Sieciowe/Administacyjne
36 Requires:       %{name} = %{version}
37
38 %description -n slattach
39 Slattach is a tiny little program that can be used to put a normal
40 terminal ("serial") line into one of several "network" modes, thus
41 allowing you to use it for point-to-point links to other computers.
42
43 %description -n slattach -l pl
44 Slattach jest prostym programem, który umo¿liwia zamianê zwyk³ej lini
45 terminala ("szeregowej") w jednen z kilku trybów "sieciowych" przez co
46 umo¿liwia na po³±czenia point-to-point z innym komputerem.
47
48 %package -n plipconfig
49 Summary:        plipconfig - fine tune PLIP device parameters
50 Summary(pl):    plipconfig - dostrajanie parametrów urz±dzenia PLIP
51 Group:          Networking/Admin
52 Group(de):      Netzwerkwesen/Administration
53 Group(pl):      Sieciowe/Administacyjne
54 Requires:       %{name} = %{version}
55
56 %description -n plipconfig
57 Plipconfig is used to (hopefully) improve PLIP performance by changing
58 the default timing parameters used by the PLIP protocol. Results are
59 dependent on the parallel port hardware, cable, and the CPU speed of
60 each machine on each end of the PLIP link.
61
62 If the single interface argument is given, plipconfig displays the
63 status of the given interface only. Otherwise, it will try to set the
64 options.
65
66 %description -n plipconfig -l pl
67 Plipconfig jest u¿ywany do poprawienia wydajno¶ci PLIP poprzez zmianê
68 domy¶lnych czasowych parametrów u¿ywanych w protokole PLIP. Rezultaty
69 zale¿± od hardware portu równoleg³ego, kabla, szybko¶ci CPU ka¿dej
70 maszyny po³±czonej poprzez PLIP.
71
72 %prep
73 %setup  -q 
74 %patch0 -p1
75 %patch1 -p1
76 %patch2 -p1
77
78 %build
79 %{__make} COPTS="%{rpmcflags} -Wall" I18N=1
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man8
84
85 %{__make} install \
86         BASEDIR=$RPM_BUILD_ROOT \
87         INSTALL="%{_bindir}/install" \
88         mandir=%{_mandir} \
89         I18N=1
90
91 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man8/ifconfig.8
92 install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man8/netstat.8
93
94 # standardize localized man dirs
95 (cd $RPM_BUILD_ROOT%{_mandir}
96 mv -f de_DE de
97 mv -f fr_FR fr
98 )
99
100 gzip -9nf READ*
101
102 %find_lang %{name}
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files -f %{name}.lang
108 %defattr(644,root,root,755)
109 %doc *.gz
110 %attr(755,root,root) /bin/*
111 %attr(755,root,root) /sbin/arp
112 %attr(755,root,root) /sbin/ifconfig
113 %attr(755,root,root) /sbin/mii-tool
114 %attr(755,root,root) /sbin/rarp
115 %attr(755,root,root) /sbin/route
116
117 %lang(de) %{_mandir}/de/man[15]/*
118 %lang(de) %{_mandir}/de/man8/arp.8*
119 %lang(de) %{_mandir}/de/man8/ifconfig.8*
120 %lang(de) %{_mandir}/de/man8/netstat.8*
121 %lang(de) %{_mandir}/de/man8/rarp.8*
122 %lang(de) %{_mandir}/de/man8/route.8*
123 %lang(fr) %{_mandir}/fr/man[15]/*
124 %lang(fr) %{_mandir}/fr/man8/arp.8*
125 %lang(fr) %{_mandir}/fr/man8/ifconfig.8*
126 %lang(fr) %{_mandir}/fr/man8/netstat.8*
127 %lang(fr) %{_mandir}/fr/man8/rarp.8*
128 %lang(fr) %{_mandir}/fr/man8/route.8*
129 %lang(pt_BR) %{_mandir}/pt_BR/man*/*
130 %lang(pl) %{_mandir}/pl/man*/*
131
132 %{_mandir}/man[15]/*
133 %{_mandir}/man8/arp.8*
134 %{_mandir}/man8/ifconfig.8*
135 %{_mandir}/man8/netstat.8*
136 %{_mandir}/man8/mii-tool.8*
137 %{_mandir}/man8/rarp.8*
138 %{_mandir}/man8/route.8*
139
140 %files -n slattach
141 %defattr(644,root,root,755)
142 %attr(755,root,root) /sbin/slattach
143 %lang(de) %{_mandir}/de/man8/slattach.8*
144 %lang(fr) %{_mandir}/fr/man8/slattach.8*
145 %{_mandir}/man8/slattach.8*
146
147 %files -n plipconfig
148 %defattr(644,root,root,755)
149 %attr(755,root,root) /sbin/plipconfig
150 %lang(de) %{_mandir}/de/man8/plipconfig.8*
151 %lang(fr) %{_mandir}/fr/man8/plipconfig.8*
152 %{_mandir}/man8/plipconfig.8*
This page took 0.731759 seconds and 3 git commands to generate.