init package
This commit is contained in:
parent
9ce8193dd0
commit
0ec03ad6ad
44
http_load.spec
Normal file
44
http_load.spec
Normal file
@ -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 <myeuler@163.com>
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user