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