diff --git a/.cvsignore b/.cvsignore index e69de29..9632ce1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +http_ping_03apr2002.tar.gz diff --git a/http_ping.spec b/http_ping.spec new file mode 100644 index 0000000..d0482a2 --- /dev/null +++ b/http_ping.spec @@ -0,0 +1,52 @@ +Name: http_ping +Version: 0.0 +Release: 0.fdr.2.20020403.rh90 +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. diff --git a/sources b/sources index e69de29..3879916 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a90fda389a2e1048d666afa54eb85385 http_ping_03apr2002.tar.gz