fio/fio.spec
cenhuilin f2b41fe2b7 fix disk stats issue
(cherry picked from commit 37503b835c41944c7f5731580f8301682c44366d)
2024-05-27 17:43:09 +08:00

72 lines
1.8 KiB
RPMSpec

Name: fio
Version: 3.7
Release: 8
Summary: Versatile IO workload generator
License: GPLv2
URL: http://git.kernel.dk/?p=fio.git;a=summary
Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
#https://github.com/axboe/fio/pull/1736
Patch0001: 0001-fix-disk-stats-issue.patch
BuildRequires: libaio-devel zlib-devel librbd1-devel numactl-devel librdmacm-devel
%ifarch x86_64
BuildRequires: libpmem-devel libpmemblk-devel
%endif
Requires: fio-help
%description
fio is a tool used to spawn many threads or processes that perform a specific type
of io operation specified by the user.It accepts many global parameters inherited
by threads.Its common method is to simulate jobs that match the specified io load.
%package help
Summary: Help document for the fio
%description help
Help document for the fio.
%prep
%autosetup -p1
%build
./configure --disable-optimizations
export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%make_build V=1
%install
%make_install prefix=%{_prefix} mandir=%{_mandir}
%files
%doc README COPYING
%dir %{_datadir}/%{name}
%{_bindir}/*
%{_datadir}/%{name}/*
%files help
%doc REPORTING-BUGS HOWTO examples MORAL-LICENSE GFIO-TODO SERVER-TODO STEADYSTATE-TODO
%{_mandir}/man1/*
%changelog
* Mon May 27 2024 cenhuilin <cenhuilin@kylinos.cn> - 3.7-8
- iolog: fix disk stats issue
* Wed Jul 21 2021 lingsheng <lingsheng@huawei.com> - 3.7-7
- Remove unnecessary buildrequire gdb
* Mon Nov 09 2020 huanghaitao <huanghaitao8@huawei.com> -3.7-6
- Make help package required by fio
* Tue Aug 18 2020 senlin<xiasenlin1@huawei.com> -3.7-5
- add release for update
* Sat Mar 21 2020 huzunhao<huzunhao@huawei.com> - 3.7-4
- Type: NA
- ID: NA
- SUG: NA
- DESC: add buildrequire gdb
* Wed Nov 27 2019 likexin<likexin4@huawei.com> - 3.7-3
- Package init