Name: http_ping Version: 0.0 Release: 0.fdr.2.20020403.1 Epoch: 0 Summary: HTTP latency measuring utility Group: Applications/Internet License: BSD URL: http://www.acme.com/software/http_ping/ Source0: http://www.acme.com/software/http_ping/http_ping_03apr2002.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel, zlib-devel, pkgconfig %description http_ping runs an HTTP fetch every few seconds, timing how long it takes. %prep %setup -q -n %{name} %build make %{?_smp_mflags} \ CFLAGS="$RPM_OPT_FLAGS -DUSE_SSL $(pkg-config openssl --cflags)" \ LDFLAGS="$(pkg-config openssl --libs)" %install rm -rf $RPM_BUILD_ROOT install -Dpm 755 http_ping $RPM_BUILD_ROOT%{_bindir}/http_ping install -Dpm 644 http_ping.1 $RPM_BUILD_ROOT%{_mandir}/man1/http_ping.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{_bindir}/http_ping %{_mandir}/man1/http_ping.1* %changelog * Mon May 3 2004 Ville Skyttä 0:0.0-0.fdr.2.20020403 - BuildRequires pkgconfig (bug 930). * Sat Nov 1 2003 Ville Skyttä 0:0.0-0.fdr.1.20020403 - First build.