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