]> git.pld-linux.org Git - packages/sysbench.git/blame - sysbench.spec
- drop mysqlclient_r hackery (no such library anymore)
[packages/sysbench.git] / sysbench.spec
CommitLineData
22448fb5
AM
1Summary: a system performance benchmark
2Name: sysbench
36cb2d83 3Version: 0.4.12
9b878495 4Release: 4
22448fb5
AM
5License: GPL
6Group: Applications/System
36cb2d83 7Source0: http://downloads.sourceforge.net/sysbench/%{name}-%{version}.tar.gz
8# Source0-md5: 3a6d54fdd3fe002328e4458206392b9d
9b878495 9Patch0: no-mysqlclient_r.patch
22448fb5 10URL: http://sysbench.sourceforge.net/
36cb2d83 11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libtool
22448fb5
AM
14BuildRequires: mysql-devel
15BuildRequires: postgresql-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19SysBench is a modular, cross-platform and multi-threaded benchmark
20tool for evaluating OS parameters that are important for a system
21running a database under intensive load.
22
23The idea of this benchmark suite is to quickly get an impression about
24system performance without setting up complex database benchmarks or
25even without installing a database at all. Current features allow to
26test the following system parameters:
27- file I/O performance
28- scheduler performance
29- memory allocation and transfer speed
30- POSIX threads implementation performance
31- database server performance (OLTP benchmark)
32
33Primarily written for MySQL server benchmarking, SysBench will be
34further extended to support multiple database backends, distributed
35benchmarks and third-party plug-in modules.
36
37%prep
38%setup -q
9b878495 39%patch0 -p1
22448fb5
AM
40
41%build
36cb2d83 42%{__libtoolize}
43%{__aclocal}
44%{__autoconf}
45%{__autoheader}
46%{__automake}
22448fb5
AM
47%configure \
48 --with-mysql \
49 --with-pgsql
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc ChangeLog README TODO doc/manual.html
36cb2d83 64%attr(755,root,root) %{_bindir}/%{name}
This page took 0.082032 seconds and 4 git commands to generate.