]> git.pld-linux.org Git - packages/fping.git/blame - fping.spec
Up to 5.1
[packages/fping.git] / fping.spec
CommitLineData
045ee9c2 1Summary: fping - pings multiple hosts at once
49c02e98
ER
2Summary(pl.UTF-8): fping - ping sprawdzający wiele hostów naraz
3Summary(pt_BR.UTF-8): Ferramenta para enviar pings para várias máquinas de uma só vez
e6c31632 4Name: fping
4c047fbd 5Version: 5.1
c591d99b 6Release: 1
367cfd2e 7License: distributable
6d0e413d 8Group: Networking/Utilities
c779059e 9Source0: http://fping.org/dist/%{name}-%{version}.tar.gz
4c047fbd 10# Source0-md5: d91adddd7108c26ef58c1cd0a2fd718d
c779059e 11URL: http://fping.org/
d2f8e28b
JB
12BuildRequires: autoconf
13BuildRequires: automake
e6c31632
PG
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17fping is a ping(1) like program which uses the Internet Control
18Message Protocol (ICMP) echo request to determine if a host is up.
19fping is different from ping in that you can specify any number of
20hosts on the command line, or specify a file containing the lists of
21hosts to ping. Instead of trying one host until it timeouts or
22replies, fping will send out a ping packet and move on to the next
23host in a round-robin fashion. If a host replies, it is noted and
24removed from the list of hosts to check. If a host does not respond
25within a certain time limit and/or retry limit it will be considered
26unreachable.
27
476df42c
JR
28%description -l pl.UTF-8
29fping to program podobny do ping(1), używającego żądania echo
30(echo-request) protokołu ICMP do stwierdzenia, czy host działa. fping
31różni się od ping tym, że można podać dowolną liczbę hostów z linii
32poleceń lub podać plik zawierający listę hostów do sprawdzenia.
33Zamiast sprawdzania pojedynczego hosta do upłynięcia limitu czasu lub
34odpowiedzi, fping wysyła pakiet pinga i przesuwa się do następnego
35hosta w trybie Round-Robin. Jeżeli host odpowiada, jest on zapisywany
36i usuwany z listy do sprawdzenia. Jeżeli nie odpowiada przez pewien
37czas lub pewną liczbę prób, jest traktowany jako niedostępny.
e6c31632 38
476df42c
JR
39%description -l pt_BR.UTF-8
40O fping é um programa que utiliza a requisição de eco do Internet
41Control Message Protocol (ICMP) para determinar se uma máquina alvo
42está respondendo. O fping difere do ping na medida que se pode
43especificar qualquer número de alvos na linha de comando, ou
ea48facb 44especificar um arquivo contendo as listas de alvos a enviar ping. Ao
476df42c
JR
45invés de enviar para um alvo até que expire o tempo máximo ou ele
46responda, o fping enviará um pacote de ping para cada alvo ao mesmo
ea48facb 47tempo.
48
49%prep
71b60a34 50%setup -q
e6c31632
PG
51
52%build
d2f8e28b 53%{__aclocal}
3ad9750b 54%{__autoconf}
55%{__automake}
c779059e 56%configure --enable-ipv4 --enable-ipv6
7f2898c2 57%{__make}
e6c31632
PG
58
59%install
60rm -rf $RPM_BUILD_ROOT
9b51c533
TP
61install -d $RPM_BUILD_ROOT%{_sbindir}
62
cfbed43e 63%{__make} install \
9b51c533 64 sbindir=%{_bindir} \
cfbed43e 65 DESTDIR=$RPM_BUILD_ROOT
e6c31632 66
9b51c533 67ln -s %{_bindir}/fping $RPM_BUILD_ROOT%{_sbindir}
e6c31632
PG
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
c591d99b 74%doc CHANGELOG.md doc/CHANGELOG* doc/README*
4fa4d59e 75%attr(4754,root,icmp) %{_bindir}/fping
4fa4d59e 76%attr(4754,root,icmp) %{_sbindir}/fping
4fa4d59e 77%{_mandir}/man8/fping*.8*
This page took 0.117364 seconds and 4 git commands to generate.