* build/CI/packaging: Add arm64 to Travis CI matrix (#358) * build/CI/packaging: add Ubuntu Focal * build/CI/packaging: remove Fedora Rawhide from CI matrix * build/CI/packaging: fix regression tests to work with MySQL 8.0.19+ * build/CI/packaging: fix macOS builds in Travis * build/CI/packaging: remove Ubuntu Disco (EOL) OBS-URL: https://build.opensuse.org/package/show/benchmark/sysbench?expand=0&rev=73
77 lines
2.0 KiB
RPMSpec
77 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package sysbench
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: sysbench
|
|
Version: 1.0.20
|
|
Release: 0
|
|
Summary: A MySQL benchmarking tool
|
|
License: GPL-2.0-only
|
|
Group: System/Benchmark
|
|
URL: https://github.com/akopytov/sysbench
|
|
Source0: https://github.com/akopytov/sysbench/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: docbook
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
BuildRequires: libaio-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libxslt-tools
|
|
BuildRequires: mysql-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: postgresql-devel
|
|
BuildRequires: zlib-devel
|
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
|
|
BuildRequires: postgresql-server-devel
|
|
%endif
|
|
%if 0%{?is_opensuse}
|
|
BuildRequires: pkgconfig(ck)
|
|
BuildRequires: pkgconfig(luajit)
|
|
%endif
|
|
|
|
%description
|
|
This benchmark was designed for identifying basic system parameters, as
|
|
they are important for systems using MySQL (w Innodb) under intensive
|
|
load.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--without-gcc-arch \
|
|
%if 0%{?is_opensuse}
|
|
--with-system-ck \
|
|
--with-system-luajit \
|
|
%endif
|
|
--with-pgsql
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf %{buildroot}%{_datadir}/doc/sysbench
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc ChangeLog README.md doc/manual.html
|
|
%{_bindir}/sysbench
|
|
%{_datadir}/sysbench
|
|
|
|
%changelog
|