2009-03-18 08:28:43 +00:00
|
|
|
Summary: System performance benchmark
|
|
|
|
Name: sysbench
|
2010-07-19 01:11:17 +00:00
|
|
|
Version: 0.4.12
|
|
|
|
Release: 1%{?dist}
|
2009-03-18 08:30:29 +00:00
|
|
|
License: GPLv2+
|
2009-03-18 08:28:43 +00:00
|
|
|
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
|
2010-07-19 01:11:17 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2009-03-18 08:28:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%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
|
2010-07-19 01:11:17 +00:00
|
|
|
touch NEWS AUTHORS
|
|
|
|
autoreconf -vif
|
2009-03-18 08:28:43 +00:00
|
|
|
%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
|
2010-07-19 01:11:17 +00:00
|
|
|
* Tue Jul 07 2010 Xavier Bachelot <xavier@bachelot.org> 0.4.12-1
|
|
|
|
- Update to 0.4.12.
|
|
|
|
|
2009-08-21 16:03:20 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.4.10-5
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-27 05:18:55 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-18 08:32:42 +00:00
|
|
|
* Wed Mar 18 2009 Xavier Bachelot <xavier@bachelot.org> 0.4.10-3
|
|
|
|
- License is GPLv2+, not GPLv2.
|
|
|
|
|
2009-03-18 08:28:43 +00:00
|
|
|
* 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.
|