51 lines
1.1 KiB
RPMSpec
51 lines
1.1 KiB
RPMSpec
Name: abgraph
|
|
Version: 1.1
|
|
Release: 1%{?dist}
|
|
|
|
Summary: ABGraph is a simple tool to benchmark webservers
|
|
|
|
License: GPLv3+
|
|
Group: Applications/Productivity
|
|
URL: http://sourceforge.net/projects/abgraph
|
|
Source: http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
Requires: gnuplot, httpd-tools
|
|
|
|
%description
|
|
ABGraph is a simple tool to benchmark webservers.
|
|
The program uses ab (apache benchmark) to actually
|
|
benchmark the selected remote host. A graph in PNG format
|
|
is generated with gnuplot and saved to the selected path/file.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
install -Dpm 755 abgraph.sh $RPM_BUILD_ROOT%{_bindir}/abgraph
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING
|
|
%{_bindir}/abgraph
|
|
|
|
|
|
%changelog
|
|
* Wed Jun 25 2008 Marek Mahut <mmahut@fedoraproject.org> - 1.1-1
|
|
- Upstream release
|
|
|
|
* Tue May 29 2008 Marek Mahut <mmahut@fedoraproject.org> - 1.0-2
|
|
- Insecure temporary file fix
|
|
- Minor script modifications
|
|
|
|
* Tue May 20 2008 Marek Mahut <mmahut@fedoraproject.org> - 1.0-1
|
|
- First build
|