]> git.pld-linux.org Git - packages/rusers.git/blame - rusers.spec
- release 30 (by relup.sh)
[packages/rusers.git] / rusers.spec
CommitLineData
e14ceeee 1Summary: Displays the users logged into machines on the local network
16443996
ER
2Summary(de.UTF-8): Anzeige von Login-Infos für entfernte Computer
3Summary(es.UTF-8): El cliente rusers
4Summary(fr.UTF-8): Affiche des informations de login pour les machines distantes
5Summary(pl.UTF-8): Wyświetla listę użytkowników zalogowanych na komputerach w sieci lokalnej
6Summary(pt_BR.UTF-8): Mostra a informação de login para máquinas remotas
7Summary(tr.UTF-8): Ağ üzerindeki makinalardaki kullanıcıları sorgular
c95cd824 8Name: rusers
bff403be 9Version: 0.17
07beb611 10Release: 30
e14ceeee 11License: BSD
f84b3574 12Group: Networking
bff403be 13Source0: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
34271a7f 14# Source0-md5: dc99a80b9fde2ab427c874f88f1c1602
e14ceeee 15Source1: %{name}d.init
c95cd824
JR
16Source2: rstatd.init
17Source3: rstatd.tar.gz
34271a7f 18# Source3-md5: 75c1f4b3df318cf509593af1ee1d52e5
e14ceeee 19Patch0: netkit-%{name}-numusers.patch
7558bde2 20Patch1: rstatd-jbj.patch
fe535b78 21Patch2: netkit-%{name}-droppriv-later.patch
e0456508 22Patch3: netkit-%{name}-includes.patch
496476e7 23BuildRequires: procps-devel >= 1:3.2.5-3
2d891d9b 24BuildRequires: rpmbuild(macros) >= 1.268
b8dfc48f 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46bb0ac2
JR
26
27%description
e14ceeee 28The rusers program allows users to find out who is logged into various
29machines on the local network. The rusers command produces output
30similar to who, but for the specified list of hosts or for all
31machines on the local network.
46bb0ac2 32
215f6d36 33%description -l de.UTF-8
989e56fc 34Mit Hilfe des rusers-Server und Client (beide Teil dieses Pakets) kann
35man herausfinden, welche Benutzer an welchen Rechnern im lokalen
36Netwerk angemeldet sind.
37
215f6d36 38%description -l fr.UTF-8
989e56fc 39Le client et le serveur rusers, tous deux inclus dans ce package,
40permettent aux utilisateurs de trouver quels utilisateurs sont
215f6d36 41connectés sur les différentes machines du réseau local.
989e56fc 42
215f6d36
JR
43%description -l pl.UTF-8
44Program rusers pozwala użytkownikom sprawdzić kto jest zalogowany na
45różnych maszynach w sieci lokalnej. Wynik komendy rusers jest podobne
46do komendy who, ale dla określonej listy komputerów lub wszystkich
b10e720b
JB
47maszyn z sieci lokalnej.
48
215f6d36
JR
49%description -l pt_BR.UTF-8
50O programa rusers permite descobrir quem está em várias máquinas na
51rede. O comando rusers fornece uma saída similar a do comando who para
52a lista de máquinas especificada ou para todas as máquinas da rede
a9f25f81 53local.
54
215f6d36
JR
55%description -l tr.UTF-8
56Bu pakette yer alan rusers sunucusu ve istemcisi ile bir kullanıcı ağ
57üzerinde bu hizmeti sunan diğer makinalardaki kullanıcıları
989e56fc 58sorgulayabilir.
59
f84b3574 60%package -n rusersd
61Summary: Server for the rusers protocol
16443996
ER
62Summary(es.UTF-8): El servidor rusers
63Summary(pl.UTF-8): Serwer protokołu rusers
64Summary(pt_BR.UTF-8): Servidor para o protocolo rusers
f84b3574 65Group: Networking/Daemons
abcae938 66Requires(post,preun): /sbin/chkconfig
2d891d9b 67Requires: rc-scripts
f84b3574 68Obsoletes: rusers-server
f84b3574 69
70%description -n rusersd
b10e720b
JB
71The rusersd package contains the server for responding to rusers
72requests.
73
215f6d36 74%description -n rusersd -l es.UTF-8
d6f8c5a1 75El servidor rusers incluido en este paquete, permiten ver cual de los
215f6d36 76usuarios están "logados" en otras máquinas de la red.
a9f25f81 77
215f6d36
JR
78%description -n rusersd -l pl.UTF-8
79Pakiet rusersd zawiera serwer odpowiadający na zapytania rusers.
f84b3574 80
215f6d36 81%description -n rusersd -l pt_BR.UTF-8
d6f8c5a1 82Servidor para o protocolo rusers.
a9f25f81 83
f84b3574 84%package -n rup
85Summary: rstatd client
16443996 86Summary(pl.UTF-8): Klient rstatd
f84b3574 87Group: Networking
f84b3574 88
89%description -n rup
90rup displays a summary of the current system status of a particular
91host or all hosts on the local network. The output shows the current
92time of day, how long the system has been up, and the load averages.
93The load average numbers give the number of jobs in the run queue
94averaged over 1, 5 and 15 minutes.
95
215f6d36
JR
96%description -n rup -l pl.UTF-8
97rup wyświetla podsumowanie aktualnego stanu systemu dla określonego
98komputera lub wszystkich z sieci lokalnej. Wyjście zawiera aktualny
99czas, jak długo system jest włączony i obciążenie. Obciążenie podawane
100jest jako ilość procesów w kolejce średnio w 1, 5 i 15 minut.
b10e720b 101
f84b3574 102%package -n rstatd
103Summary: kernel statistics server
16443996 104Summary(pl.UTF-8): Serwer rstatd
f84b3574 105Group: Networking/Daemons
abcae938 106Requires(post,preun): /sbin/chkconfig
2d891d9b 107Requires: rc-scripts
f84b3574 108
109%description -n rstatd
110rpc.rstatd is a server which returns performance statistics obtained
111from the kernel. These statistics are usually read using the rup(1)
112command.
46bb0ac2 113
215f6d36
JR
114%description -n rstatd -l pl.UTF-8
115rpc.rstatd to serwer podający statystyki wydajności pobrane od jądra.
116Statystyki te zwykle są czytane komendą rup(1).
b10e720b 117
46bb0ac2 118%prep
2d891d9b 119%setup -q -n netkit-%{name}-%{version} -a3
46bb0ac2
JR
120%patch0 -p1
121%patch1 -p1
fe535b78 122%patch2 -p1
e0456508 123%patch3 -p1
46bb0ac2
JR
124
125%build
7558bde2
JR
126./configure
127
eacc882f
JB
128%{__make} \
129 CC="%{__cc}" \
72ccc365 130 CFLAGS="%{rpmcflags} -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME"
f84b3574 131
eacc882f
JB
132%{__make} -C rpc.rstatd \
133 CC="%{__cc}" \
134 CFLAGS="%{rpmcflags}" \
62537b6f 135 LIBS="-lprocps"
46bb0ac2
JR
136
137%install
138rm -rf $RPM_BUILD_ROOT
e14ceeee 139install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}} \
140 $RPM_BUILD_ROOT/etc/rc.d/init.d
46bb0ac2 141
58f261bd 142%{__make} install \
7558bde2
JR
143 INSTALLROOT=$RPM_BUILD_ROOT \
144 MANDIR=%{_mandir}
145
58f261bd 146%{__make} install install -C rpc.rstatd \
7558bde2
JR
147 INSTALLROOT=$RPM_BUILD_ROOT \
148 MANDIR=%{_mandir}
46bb0ac2 149
c95cd824
JR
150install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rusersd
151install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rstatd
152
7558bde2
JR
153rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{rstatd,rusersd}.8
154
155echo ".so rpc.rstatd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rstatd.8
156echo ".so rpc.rusersd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rusersd.8
157
46bb0ac2
JR
158%clean
159rm -rf $RPM_BUILD_ROOT
160
f84b3574 161%post -n rusersd
c72e4d55 162/sbin/chkconfig --add rusersd
2d891d9b 163%service rusersd restart "rusersd server"
cd1b8041 164
7758eeb0 165%preun -n rusersd
c72e4d55 166if [ "$1" = "0" ]; then
2d891d9b 167 %service rusersd stop
c72e4d55 168 /sbin/chkconfig --del rusersd
169fi
f84b3574 170
171%post -n rstatd
c72e4d55 172/sbin/chkconfig --add rstatd
2d891d9b 173%service rstatd restart "rstatd server"
cd1b8041 174
7758eeb0 175%preun -n rstatd
c72e4d55 176if [ "$1" = "0" ]; then
2d891d9b 177 %service rstatd stop
c72e4d55 178 /sbin/chkconfig --del rstatd
179fi
46bb0ac2
JR
180
181%files
c95cd824 182%defattr(644,root,root,755)
c95cd824 183%attr(755,root,root) %{_bindir}/rusers
f84b3574 184%{_mandir}/man1/rusers.1*
185
186%files -n rusersd
187%defattr(644,root,root,755)
188%attr(754,root,root) %config /etc/rc.d/init.d/rusersd
c95cd824 189%attr(755,root,root) %{_sbindir}/rpc.rusersd
f84b3574 190%{_mandir}/man8/rpc.rusersd.8*
191%{_mandir}/man8/rusersd.8*
192
193%files -n rup
194%defattr(644,root,root,755)
195%attr(755,root,root) %{_bindir}/rup
c95cd824 196%{_mandir}/man1/rup.1*
f84b3574 197
198%files -n rstatd
199%defattr(644,root,root,755)
200%attr(754,root,root) %config /etc/rc.d/init.d/rstatd
201%attr(755,root,root) %{_sbindir}/rpc.rstatd
c95cd824 202%{_mandir}/man8/rpc.rstatd.8*
7558bde2 203%{_mandir}/man8/rstatd.8*
This page took 0.127417 seconds and 4 git commands to generate.