Compare commits

...

4 Commits
master ... f9

Author SHA1 Message Date
Fedora Release Engineering 6a1cc219f2 dist-git conversion 2010-07-29 13:32:19 +00:00
Bill Nottingham 1f7b804b35 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:46:59 +00:00
Xavier Bachelot 39cff3ef2c import into F-10,F-9,EL-4,EL-5 2009-03-18 08:40:54 +00:00
Kevin Fenzi a280738181 Initialize branch F-9 for sysbench 2009-03-18 03:35:09 +00:00
4 changed files with 76 additions and 21 deletions

View File

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: sysbench
# $Id$
NAME := sysbench
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)

View File

@ -0,0 +1 @@
0820760bb16783ae51994aed794f952d sysbench-0.4.10.tar.gz

75
sysbench.spec Normal file
View File

@ -0,0 +1,75 @@
Summary: System performance benchmark
Name: sysbench
Version: 0.4.10
Release: 3%{?dist}
License: GPLv2+
Group: Applications/System
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
URL: http://sysbench.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mysql-devel
%if 0%{?rhel} != 4
BuildRequires: postgresql-devel
%endif
%description
SysBench is a modular, cross-platform and multi-threaded benchmark
tool for evaluating OS parameters that are important for a system
running a database under intensive load.
The idea of this benchmark suite is to quickly get an impression about
system performance without setting up complex database benchmarks or
even without installing a database at all. Current features allow to
test the following system parameters:
- file I/O performance
- scheduler performance
- memory allocation and transfer speed
- POSIX threads implementation performance
- database server performance (OLTP benchmark)
Primarily written for MySQL server benchmarking, SysBench will be
further extended to support multiple database backends, distributed
benchmarks and third-party plug-in modules.
%prep
%setup -q
%build
%configure --with-mysql \
%if 0%{?rhel} != 4
--with-pgsql
%endif
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_docdir}/sysbench/manual.html
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING INSTALL README
%{_bindir}/*
%changelog
* Wed Mar 18 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-3
- License is GPLv2+, not GPLv2.
* Sat Mar 14 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-2
- Make postgres support optional, the version in rhel4 is too old.
- Drop TODO and manual.html from %%doc, they are empty.
* Thu Mar 05 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-1
- Adapt original spec file taken from PLD.