forked from pool/autobench
Accepting request 296723 from home:hurhaj
OBS-URL: https://build.opensuse.org/request/show/296723 OBS-URL: https://build.opensuse.org/package/show/benchmark/autobench?expand=0&rev=1
This commit is contained in:
commit
b09781afd4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
autobench-2.1.2.tar.gz
Normal file
3
autobench-2.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8b4d30aaaf652df37dff18ee819d8f42751bc40272d288ee2a5d847eaf0423b
|
||||
size 30413
|
5
autobench.changes
Normal file
5
autobench.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 12:44:41 UTC 2015 - jhura@suse.com
|
||||
|
||||
- initial package for version 2.1.2
|
||||
|
74
autobench.spec
Normal file
74
autobench.spec
Normal file
@ -0,0 +1,74 @@
|
||||
#
|
||||
# spec file for package autobench
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: autobench
|
||||
Version: 2.1.2
|
||||
Release: 0
|
||||
Summary: Simple Perl script for automating the process of benchmarking a web server
|
||||
License: GPL-2.0
|
||||
Group: System/Benchmark
|
||||
Url: http://www.xenoclast.org/autobench
|
||||
Source: http://www.xenoclast.org/autobench/downloads/%{name}-%{version}.tar.gz
|
||||
BuildRequires: perl
|
||||
Requires: gawk
|
||||
Requires: gnuplot
|
||||
Requires: httperf
|
||||
Requires: perl
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Autobench is a simple Perl script for automating the process of benchmarking
|
||||
a web server (or for conducting a comparative test of two different web
|
||||
servers). The script is a wrapper around httperf. Autobench runs httperf a
|
||||
number of times against each host, increasing the number of requested
|
||||
connections per second on each iteration, and extracts the significant data
|
||||
from the httperf output, delivering a CSV or TSV format file which can be
|
||||
imported directly into a spreadsheet for analysis/graphing.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install \
|
||||
PREFIX=%{buildroot} \
|
||||
BINDIR=%{buildroot}%{_bindir} \
|
||||
MANDIR=%{buildroot}%{_mandir}/man1
|
||||
# deleting harcoded path to the build root
|
||||
sed -i 's;/home/abuild/rpmbuild/BUILDROOT/autobench-.*/;/etc/;g' %{buildroot}%{_bindir}/autobench
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README
|
||||
%config %{_sysconfdir}/autobench.conf
|
||||
%{_bindir}/autobench
|
||||
%{_bindir}/autobench_admin
|
||||
%{_bindir}/autobenchd
|
||||
%{_bindir}/bench2graph
|
||||
%{_bindir}/crfile
|
||||
%{_bindir}/sesslog
|
||||
%{_mandir}/man1/autobench.1.gz
|
||||
%{_mandir}/man1/autobench_admin.1.gz
|
||||
%{_mandir}/man1/autobenchd.1.gz
|
||||
%{_mandir}/man1/bench2graph.1.gz
|
||||
%{_mandir}/man1/crfile.1.gz
|
||||
%{_mandir}/man1/sesslog.1.gz
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user