]> git.pld-linux.org Git - packages/httping.git/blob - httping.spec
7b554e35fd74b359eca073291edbcc510b378258
[packages/httping.git] / httping.spec
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:        2.3.4
5 Release:        1
6 License:        GPL v2
7 Group:          Networking/Utilities
8 Source0:        http://www.vanheusden.com/httping/%{name}-%{version}.tgz
9 # Source0-md5:  7a71ed513f9f22fe331b783a3d36767e
10 URL:            http://www.vanheusden.com/httping/
11 BuildRequires:  fftw3-devel
12 BuildRequires:  ncurses-devel
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
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
27 statystycznych.
28
29 %prep
30 %setup -q
31
32 %build
33 cat << EOF > makefile.inc
34 SSL=yes
35 NC=yes
36 FW=yes
37 EOF
38
39 %{__make} \
40         CC="%{__cc}" \
41         DEBUG="" \
42         OFLAGS="%{rpmcflags} -I/usr/include/ncurses"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %find_lang httping
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files -f httping.lang
56 %defattr(644,root,root,755)
57 %doc readme.txt
58 %attr(755,root,root) %{_bindir}/httping
59 %{_mandir}/man1/httping.1*
60 %{_mandir}/nl/man1/httping-nl.1*
This page took 0.100839 seconds and 2 git commands to generate.