58 lines
1.3 KiB
RPMSpec
58 lines
1.3 KiB
RPMSpec
|
|
Name: blktrace
|
||
|
|
Version: 1.2.0
|
||
|
|
Release: 9
|
||
|
|
Summary: Block IO tracer in the Linux kernel
|
||
|
|
License: GPLv2+
|
||
|
|
Source: http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
|
||
|
|
Url: http://brick.kernel.dk/snaps
|
||
|
|
|
||
|
|
BuildRequires: gcc, git, xz, libaio-devel, python2, librsvg2-devel blktrace sysstat theora-tools
|
||
|
|
Provides: iowatcher
|
||
|
|
Obsoletes: iowatcher
|
||
|
|
Requires: python2
|
||
|
|
|
||
|
|
Patch0: blktrace-fix-btt-overflow.patch
|
||
|
|
|
||
|
|
%description
|
||
|
|
blktrace is a block layer IO tracing mechanism which provides detailed
|
||
|
|
information about request queue operations up to user space. This is
|
||
|
|
valuable for diagnosing and fixing performance or application problems
|
||
|
|
relating to block layer io.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Including man files for blktrace
|
||
|
|
Requires: man
|
||
|
|
|
||
|
|
%description help
|
||
|
|
This contains man files for the using of blktrace.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -Sgit -n %{name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%make_build all
|
||
|
|
|
||
|
|
%install
|
||
|
|
make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_mandir} install
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc README COPYING
|
||
|
|
%{_bindir}/*
|
||
|
|
%{_bindir}/iowatcher
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/man1/*
|
||
|
|
%{_mandir}/man8/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Fri Aug 30 2019 zoujing<zoujing13@huawei.com> - 1.2.0-10
|
||
|
|
- Type:enhancemnet
|
||
|
|
- ID:NA
|
||
|
|
- SUG:restart
|
||
|
|
- DESCi:openEuler Debranding
|
||
|
|
|
||
|
|
* Thu Aug 15 2019 Buildteam <buildteam@openeuler.org> - 1.2.0-9
|
||
|
|
- Package Initialization
|
||
|
|
|