Name: httping
Version: 1.3.1
Release: 2%{?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
make %{?_smp_mflags} DEBUG="" OFLAGS="%{optflags} -Dhave_strndup"
%install
rm -rf %{buildroot}
make install INSTALL="install -Dp" STRIP=/bin/true DESTDIR=%{buildroot}
rm -rf %{buildroot}%{_prefix}/doc
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc license.txt license.OpenSSL readme.txt
%{_mandir}/man*/%{name}*.*
%{_bindir}/%{name}
%changelog
* Wed Sep 2 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.3.1-2
- Fix -debuginfo (let rpmbuild strip the binary) - #520852
* Mon Aug 31 2009 Dan Horák <dan[at]danny.cz> - 1.3.1-1
- Updated to new upstream version 1.3.1
- Updated the strndup patch
* Thu Jul 16 2009 Fabian Affolter <fabian@bernewireless.net> - 1.3.0-1
- Updated to new upstream version
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* 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