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