Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d01bae497 | ||
|
|
f7e1342d6b | ||
|
|
4ed084b894 | ||
|
|
689cd2a77b | ||
|
|
ab8aada02b |
5 changed files with 56 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
abgraph-1.1.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: abgraph
|
|
||||||
# $Id$
|
|
||||||
NAME := abgraph
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
54
abgraph.spec
Normal file
54
abgraph.spec
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
Name: abgraph
|
||||||
|
Version: 1.1
|
||||||
|
Release: 2%{?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
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Fri Nov 7 2008 Marek Mahut <mmahut@fedoraproject.org> - 1.1-2
|
||||||
|
- Ab command is in httpd package (RHBZ#463015)
|
||||||
|
|
||||||
|
* 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
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
7b9f2cc980e25b5e2bf8cb13b34a7e77 abgraph-1.1.tar.gz
|
||||||
Reference in a new issue