]> git.pld-linux.org Git - packages/httping.git/blob - httping.spec
- 1.2.7
[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:        1.2.7
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://www.vanheusden.com/httping/%{name}-%{version}.tgz
9 # Source0-md5:  f95141f40dc6d4332e8605e5187fe90f
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.UTF-8
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 %patch0 -p1
31
32 %build
33 %{__make} \
34         CC="%{__cc}" \
35         DEBUG="" \
36         CFLAGS="%{rpmcflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc readme.txt
51 %attr(755,root,root) %{_bindir}/httping
52 %{_mandir}/man1/httping*
This page took 0.084178 seconds and 3 git commands to generate.