diff --git a/http_load.spec b/http_load.spec new file mode 100644 index 0000000..22fa823 --- /dev/null +++ b/http_load.spec @@ -0,0 +1,44 @@ +%global debug_package %{nil} + +Name: http_load +Version: 09Mar2016 +Release: 1 +Summary: multiprocessing http test client +License: BSD +URL: http://www.acme.com/software +Source0: http://www.acme.com/software/http_load/%{name}-%{version}.tar.gz + +Patch0: http_load-fix-install-path-issue.patch + +BuildRequires: gcc + +%description +http_load runs multiple http fetches in parallel, to test the throughput of a web server. However unlike most such test clients, it runs in a single process, so it doesn't bog down the client machine. It can be configured to do https fetches as well + +%prep +%setup -q -n %{name}-%{version}/ + +%patch0 -p1 + +%build +make + +%install +%{__make} install PREFIX="%{buildroot}" + +%pre +%preun +%post +%postun + +%check + +%files +%doc README +%{_bindir}/* +%{_mandir}/* + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init +