Blame SPECS/blktrace.spec

27fcad
Summary: Utilities for performing block layer IO tracing in the Linux kernel
27fcad
Name: blktrace
27fcad
Version: 1.2.0
7a0273
Release: 10%{?dist}
27fcad
License: GPLv2+
27fcad
Group: Development/System
27fcad
Source:  http://brick.kernel.dk/snaps/blktrace-%{version}.tar.bz2
27fcad
Url: http://brick.kernel.dk/snaps
27fcad
27fcad
BuildRequires: python3-devel
27fcad
BuildRequires: gcc, libaio-devel, librsvg2-devel
27fcad
27fcad
Patch0: blktrace-fix-btt-overflow.patch
27fcad
Patch1: blktrace-python3.patch
27fcad
27fcad
%description
27fcad
blktrace is a block layer IO tracing mechanism which provides detailed
27fcad
information about request queue operations to user space.  This package
27fcad
includes both blktrace, a utility which gathers event traces from the kernel;
27fcad
and blkparse, a utility which formats trace data collected by blktrace.
27fcad
27fcad
You should install the blktrace package if you need to gather detailed
27fcad
information about IO patterns.
27fcad
27fcad
27fcad
%prep
27fcad
%setup -q
27fcad
%patch0 -p1
27fcad
%patch1 -p1
27fcad
27fcad
sed -i '1s=^#!/usr/bin/python3=#!%{__python3}=' \
27fcad
    btt/{btt_plot.py,bno_plot.py}
27fcad
27fcad
%build
27fcad
make CFLAGS="%{optflags} %{build_ldflags}" all
27fcad
27fcad
%install
27fcad
rm -rf %{buildroot}
27fcad
make dest=%{buildroot} prefix=%{buildroot}/%{_prefix} mandir=%{buildroot}/%{_mandir} install
27fcad
27fcad
%files
27fcad
%doc README COPYING
27fcad
%{_bindir}/blkparse
27fcad
%{_bindir}/blkrawverify
27fcad
%{_bindir}/bno_plot.py
27fcad
%{_bindir}/btt
27fcad
%{_bindir}/verify_blkparse
27fcad
%{_bindir}/blkiomon
27fcad
%{_bindir}/blktrace
27fcad
%{_bindir}/btrace
27fcad
%{_bindir}/btrecord
27fcad
%{_bindir}/btreplay
27fcad
%{_mandir}/man1/blkparse.*
27fcad
%{_mandir}/man1/blkrawverify.*
27fcad
%{_mandir}/man1/bno_plot.*
27fcad
%{_mandir}/man1/btt.*
27fcad
%{_mandir}/man1/verify_blkparse.*
27fcad
%{_mandir}/man8/blkiomon.*
27fcad
%{_mandir}/man8/blktrace.*
27fcad
%{_mandir}/man8/btrace.*
27fcad
%{_mandir}/man8/btrecord.*
27fcad
%{_mandir}/man8/btreplay.*
27fcad
27fcad
%package -n iowatcher
27fcad
Summary: Utility for visualizing block layer IO patterns and performance
7a0273
Requires: blktrace sysstat theora-tools librsvg2-tools
27fcad
27fcad
%description -n iowatcher
27fcad
iowatcher generates graphs from blktrace runs to help visualize IO patterns and
27fcad
performance as SVG images or movies. It can plot multiple blktrace runs
27fcad
together, making it easy to compare the differences between different benchmark
27fcad
runs.
27fcad
27fcad
You should install the iowatcher package if you need to visualize detailed
27fcad
information about IO patterns.
27fcad
27fcad
%files -n iowatcher
27fcad
%doc README iowatcher/COPYING
27fcad
%{_bindir}/iowatcher
27fcad
%{_mandir}/man1/iowatcher.*
27fcad
27fcad
%changelog
7a0273
* Tue May 14 2019 Eric Sandeen <sandeen@redhat.com> - 1.2.0-10
7a0273
- Add librsvg2-tools dependency to iowatcher (#1700065)
7a0273
27fcad
* Wed Jun 20 2018 Tomas Orsava <torsava@redhat.com> - 1.2.0-9
27fcad
- Switch hardcoded python3 shebangs into the %%{__python3} macro
27fcad
- Add missing BuildRequires on python3-devel so that %%{__python3} macro is
27fcad
  defined
27fcad
27fcad
* Thu May 24 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-8
27fcad
- Fix CVE-2018-10689 buffer overflow (#1575121)
27fcad
27fcad
* Wed May 16 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-7
27fcad
- Make scripts python3-ready
27fcad
27fcad
* Mon May 07 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-6
27fcad
- Fix for CVE-2018-10689 (#1575120)
27fcad
27fcad
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> - 1.2.0-5
27fcad
- BuildRequires: gcc
27fcad
27fcad
* Sun Feb 25 2018 Florian Weimer <fweimer@redhat.com> - 1.2.0-4
27fcad
- Use LDFLAGS from redhat-rpm-config
27fcad
27fcad
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
27fcad
27fcad
* Fri Dec 15 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.0-2
27fcad
- Update Python 2 dependency declarations to new packaging standards
27fcad
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
27fcad
27fcad
* Mon Nov 06 2017 Eric Sandeen <sandeen@redhat.com> - 1.2.0-1
27fcad
- New upstream version
27fcad
27fcad
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
27fcad
27fcad
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
27fcad
27fcad
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
27fcad
27fcad
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
27fcad
27fcad
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
27fcad
27fcad
* Fri Sep 26 2014 Andrew Price <anprice@redhat.com> - 1.1.0-1
27fcad
- New upstream version
27fcad
- Add iowatcher subpackage
27fcad
- Remove obsolete 'clean' and 'defattr' sections
27fcad
27fcad
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-7
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
27fcad
27fcad
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-6
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
27fcad
27fcad
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
27fcad
27fcad
* Thu Mar 21 2013 Eric Sandeen <sandeen@redhat.com> - 1.0.5-4
27fcad
- Remove tex->pdf doc build, fix build & lighten up buildreqs
27fcad
27fcad
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
27fcad
27fcad
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
27fcad
27fcad
* Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> - 1.0.5-1
27fcad
- New upstream version
27fcad
27fcad
* Tue Jan 31 2012 Eric Sandeen <sandeen@redhat.com> - 1.0.4-1
27fcad
- New upstream version
27fcad
27fcad
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
27fcad
27fcad
* Fri Aug 12 2011 Eric Sandeen <sandeen@redhat.com> - 1.0.3-1
27fcad
- New upstream version
27fcad
27fcad
* Wed Mar 16 2011 Eric Sandeen <sandeen@redhat.com> - 1.0.2-1
27fcad
- New upstream version
27fcad
27fcad
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
27fcad
27fcad
* Sat Feb 13 2010 Eric Sandeen <sandeen@redhat.com> - 1.0.1-4
27fcad
- Fix linking with libpthread (#564775)
27fcad
27fcad
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
27fcad
27fcad
* Mon May 11 2009 Eric Sandeen <sandeen@redhat.com> - 1.0.1-2
27fcad
- Upstream respun the release tarball to re-include top-level dir
27fcad
- drop exclude of bno_plot.py[co], not getting built now?
27fcad
27fcad
* Mon May 11 2009 Eric Sandeen <sandeen@redhat.com> - 1.0.1-1
27fcad
- New upstream version
27fcad
27fcad
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
27fcad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
27fcad
27fcad
* Tue Feb 17 2009 Eric Sandeen <sandeen@redhat.com> - 1.0.0-2
27fcad
- Build PDF documentation after all
27fcad
27fcad
* Sun Nov 02 2008 Eric Sandeen <sandeen@redhat.com> - 1.0.0-1
27fcad
- New upstream version (now with actual versioning!)
27fcad
27fcad
* Fri Feb 08 2008 Eric Sandeen <sandeen@redhat.com> - 0.0-0.9.20080103162505git
27fcad
- gcc-4.3 rebuild
27fcad
27fcad
* Sat Jan 26 2008 Eric Sandeen <sandeen@redhat.com> - 0.0-0.8.20080103162505git
27fcad
- New upstream version
27fcad
27fcad
* Wed Oct 24 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.6.20071010202719git
27fcad
- Add libaio-devel to BuildRequires
27fcad
27fcad
* Wed Oct 24 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.5.20071010202719git
27fcad
- New upstream version
27fcad
27fcad
* Wed Aug 15 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.4.20070730162628git
27fcad
- Fix up btt/Makefile to accept rpm's CFLAGS
27fcad
27fcad
* Tue Aug 14 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.3.20070730162628git
27fcad
- Just drop the pdf build, bloats the buildroot for such a simple tool
27fcad
27fcad
* Wed Aug 01 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.2.20070730162628git
27fcad
- Add ghostscript to BuildRequires, use attr macro for man pages
27fcad
27fcad
* Wed Aug 01 2007 Eric Sandeen <sandeen@redhat.com> - 0.0-0.1.20070730162628git
27fcad
- New package, initial build.