diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..3990c88 --- /dev/null +++ b/.cvsignore @@ -0,0 +1 @@ +abgraph-1.1.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fc4b509 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# 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 $$d/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) diff --git a/abgraph.spec b/abgraph.spec new file mode 100644 index 0000000..e00bcd3 --- /dev/null +++ b/abgraph.spec @@ -0,0 +1,57 @@ +Name: abgraph +Version: 1.1 +Release: 3%{?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 +* Fri Jul 24 2009 Fedora Release Engineering - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Feb 23 2009 Fedora Release Engineering - 1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jun 25 2008 Marek Mahut - 1.1-1 +- Upstream release + +* Tue May 29 2008 Marek Mahut - 1.0-2 +- Insecure temporary file fix +- Minor script modifications + +* Tue May 20 2008 Marek Mahut - 1.0-1 +- First build diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/import.log b/import.log new file mode 100644 index 0000000..ed891d4 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +abgraph-1_1-1_fc8:HEAD:abgraph-1.1-1.fc8.src.rpm:1215018559 diff --git a/sources b/sources new file mode 100644 index 0000000..f1bc639 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7b9f2cc980e25b5e2bf8cb13b34a7e77 abgraph-1.1.tar.gz