Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041018
en ru br
Репозитории ALT
S:3.35-alt1
5.1: 1.34-alt1
4.1: 1.17.2-alt1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: fio

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%def_enable gfapi
%def_enable gfio
%def_enable http
%def_enable libiscsi
%def_enable numa
%def_enable rdmacm
%ifarch %ix86 %arm %mips32 ppc
%def_disable rbd
%else
%def_enable rbd
%endif

Name: fio
Version: 3.35
Release: alt1
Summary: IO testing tool
License: GPL-2.0
Group: System/Kernel and hardware
Url: https://git.kernel.dk/cgit/fio/

Conflicts: python3-module-fiona

Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: libaio-devel
BuildRequires: libblkio-devel
BuildRequires: zlib-devel
%{?_enable_gfapi:BuildRequires: libglusterfs-devel}
%{?_enable_gfio:BuildRequires: libgtk+2-devel}
%{?_enable_http:BuildRequires: libcurl-devel libssl-devel}
%{?_enable_libiscsi:BuildRequires: libiscsi-devel}
%{?_enable_numa:BuildRequires: libnuma-devel }
%{?_enable_rbd:BuildRequires: ceph-devel}
%{?_enable_rdmacm:BuildRequires: librdmacm-devel}
%ifarch x86_64 aarch64 ppc64le
BuildRequires: libpmem-devel
%endif

%description
fio is a tool that will spawn a number of threads or processes doing a
particular type of io action as specified by the user. fio takes a
number of global parameters, each inherited by the thread unless
otherwise parameters given to them overriding that setting is given.
The typical use of fio is to write a job file matching the io load
one wants to simulate.

%package tools
Summary: Analyze tools for %name
Group: System/Kernel and hardware
Requires: %name = %version-%release

%description tools
fio2gnuplot - analyze a set of fio's log files to turn them into a set of
 graphical traces using gnuplot tool.
fio_generate_plots - Generate plots for Flexible I/O Tester

%package -n gfio
Summary: GTK frontend for %name
Group: System/Kernel and hardware
Requires: %name = %version-%release

%description -n gfio
fio is a tool that will spawn a number of threads or processes doing a
particular type of io action as specified by the user. fio takes a
number of global parameters, each inherited by the thread unless
otherwise parameters given to them overriding that setting is given.
The typical use of fio is to write a job file matching the io load
one wants to simulate.

This package contains GTK frontend for %name.

%prep
%setup

%build
./configure \
--prefix=%_prefix \
--disable-optimizations \
%{subst_enable gfio} \
%{subst_enable libiscsi} \
--extra-cflags="%optflags"
%make_build V=1

%install
%makeinstall_std mandir=%_mandir

%check
%make test
./fio -i

%files
%doc HOWTO* README* REPORTING-BUGS examples
%_bindir/genfio
%_bindir/%name
%_man1dir/%name.1.*

%files tools
%_bindir/*
%_datadir/%name
%_man1dir/*
%exclude %_bindir/gfio
%exclude %_bindir/fio
%exclude %_bindir/genfio
%exclude %_man1dir/%name.1.*

%files -n gfio
%_bindir/gfio

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin