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