]>
Commit | Line | Data |
---|---|---|
1 | Summary: Ping-like tool for HTTP requests | |
2 | Summary(pl.UTF-8): Narzędzie do "pingowania" poprzez protokół HTTP | |
3 | Name: httping | |
4 | Version: 1.5.7 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Networking/Utilities | |
8 | Source0: http://www.vanheusden.com/httping/%{name}-%{version}.tgz | |
9 | # Source0-md5: 8b250e67ac72750feefffa45da499da8 | |
10 | URL: http://www.vanheusden.com/httping/ | |
11 | BuildRequires: openssl-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | httping is a "ping"-like tool for HTTP requests. Give it a URL and it | |
16 | will show how long it takes to connect, send a request, and retrieve | |
17 | the reply (only the headers). It can be used for monitoring or | |
18 | statistical purposes (measuring latency). | |
19 | ||
20 | %description -l pl.UTF-8 | |
21 | httping jest narzędziem podobnym do pinga, służącym do wysyłania | |
22 | zapytań HTTP. Po podaniu URL-a httping pokazuje jak wiele czasu | |
23 | zajmuje połączenie, wysłanie zapytania i otrzymanie odpowiedzi (tylko | |
24 | nagłówki). Httping może być używany do monitorowania lub do celów | |
25 | statystycznych. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
32 | CC="%{__cc}" \ | |
33 | DEBUG="" \ | |
34 | OFLAGS="%{rpmcflags}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc readme.txt | |
49 | %attr(755,root,root) %{_bindir}/httping | |
50 | %{_mandir}/man1/httping* |