!33 update version to 3.32
From: @huyab Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
aff2535665
BIN
fio-3.30.tar.bz2
BIN
fio-3.30.tar.bz2
Binary file not shown.
BIN
fio-3.32.tar.gz
Normal file
BIN
fio-3.32.tar.gz
Normal file
Binary file not shown.
63
fio.spec
63
fio.spec
@ -1,19 +1,37 @@
|
||||
Name: fio
|
||||
Version: 3.30
|
||||
Release: 1
|
||||
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
|
||||
BuildRequires: libaio-devel python3-devel zlib-devel librbd1-devel numactl-devel librdmacm-devel gcc
|
||||
Name: fio
|
||||
Version: 3.32
|
||||
Release: 1
|
||||
Summary: Multithreaded IO generation tool
|
||||
|
||||
%ifarch x86_64
|
||||
BuildRequires: libpmem-devel libpmemblk-devel
|
||||
License: GPLv2
|
||||
URL: http://git.kernel.dk/?p=fio.git;a=summary
|
||||
Source0: https://github.com/axboe/fio/archive/refs/tags/fio-3.32.tar.gz
|
||||
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: openssl-devel
|
||||
%ifarch x86_64 ppc64le
|
||||
BuildRequires: libpmem-devel
|
||||
BuildRequires: libpmemblk-devel
|
||||
%endif
|
||||
|
||||
BuildRequires: make
|
||||
|
||||
%global __provides_exclude_from ^%{_libdir}/fio/
|
||||
|
||||
|
||||
%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.
|
||||
fio is an I/O 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 help
|
||||
Summary: Help document for the fio
|
||||
@ -31,25 +49,36 @@ pathfix.py -i %{__python3} -pn \
|
||||
tools/plot/fio2gnuplot \
|
||||
t/steadystate_tests.py
|
||||
|
||||
# Edit /usr/local/lib path in os/os-linux.h to match Fedora conventions.
|
||||
sed -e 's,/usr/local/lib/,%{_libdir}/,g' -i os/os-linux.h
|
||||
|
||||
%build
|
||||
./configure --disable-optimizations
|
||||
export EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
%make_build V=1
|
||||
./configure --disable-optimizations --dynamic-libengines
|
||||
|
||||
EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make V=1 %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install prefix=%{_prefix} mandir=%{_mandir}
|
||||
make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc COPYING
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_bindir}/*
|
||||
%{_datadir}/%{name}/*
|
||||
%{_libdir}/fio/*.so
|
||||
|
||||
%files help
|
||||
%doc REPORTING-BUGS examples MORAL-LICENSE GFIO-TODO SERVER-TODO STEADYSTATE-TODO
|
||||
%{_mandir}/man1/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Nov 6 2022 huyab<1229981468@qq.com> - 3.32-1
|
||||
- update version to 3.32-1
|
||||
|
||||
* Sun Aug 14 2022 tianlijing <tianlijing@kylinos.cn> - 3.30-1
|
||||
- upgrade to 3.30
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user