Blob Blame History Raw
Name:           httping
Version:        1.2.9
Release:        3%{?dist}
Summary:        Ping alike tool for http requests

Group:          Applications/Internet
License:        GPL+ and OpenSSL
URL:            http://www.vanheusden.com/httping/
Source0:        http://www.vanheusden.com/%{name}/%{name}-%{version}.tgz
Patch0:         %{name}-strndup.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  openssl-devel


%description
Httping is like 'ping' but for http-requests.  Give it an url, and it'll 
show you how long it takes to connect, send a request and retrieve the
reply (only the headers). Be aware that the transmission across the network
also takes time.


%prep
%setup -q
%patch0 -p1 -b .strndup

%build
CFLAGS="%{optflags}" make %{?_smp_mflags} DEBUG=""


%install
rm -rf %{buildroot}
make install INSTALL="install -Dp" DESTDIR=%{buildroot}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc license.txt license.OpenSSL readme.txt
%{_mandir}/man*/%{name}*.*
%{_bindir}/%{name}


%changelog
* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.2.9-3
- Changed license to GPL+

* Tue Dec 30 2008 manuel "lonely wolf" wolfshant <wolfy@fedoraproject.org> - 1.2.9-2
- remove duplicate definition of string functions
- fix Makefile and use "make install"

* Mon Dec 29 2008 Fabian Affolter <fabian@bernewireless.net> - 1.2.9-1
- Initial spec for Fedora