45 lines
848 B
RPMSpec
45 lines
848 B
RPMSpec
|
|
%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 <myeuler@163.com>
|
||
|
|
- Package init
|
||
|
|
|