Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
4257a4859c dist-git conversion 2010-07-28 09:31:51 +00:00
Bill Nottingham
c404fed55b Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:24:21 +00:00
Marek Mahut
c08c3030d8 importing abgraph 2008-07-02 17:05:42 +00:00
Kevin Fenzi
18ed09f990 Initialize branch F-8 for abgraph 2008-07-02 16:41:07 +00:00
5 changed files with 53 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
abgraph-1.1.tar.gz

View file

@ -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)

51
abgraph.spec Normal file
View file

@ -0,0 +1,51 @@
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

View file

@ -0,0 +1 @@
7b9f2cc980e25b5e2bf8cb13b34a7e77 abgraph-1.1.tar.gz