|
|
1776df3 |
Name: latencytop
|
|
|
0d2551a |
Version: 0.5
|
|
|
001b3bc |
Release: 22%{?dist}
|
|
|
771b505 |
Summary: System latency monitor (with GUI)
|
|
|
1776df3 |
|
|
|
1776df3 |
License: GPLv2
|
|
|
1776df3 |
URL: http://www.latencytop.org/
|
|
|
1776df3 |
Source0: http://www.latencytop.org/download/%{name}-%{version}.tar.gz
|
|
|
3c86471 |
Patch0: latencytop-Makefile-fixes.patch
|
|
|
771b505 |
Patch1: latencytop-Makefile-default-to-no-gtk.patch
|
|
|
b7c27d0 |
Patch2: latencytop-remove-the-fsync-view.patch
|
|
|
498804b |
Patch3: latencytop-better-error-message.patch
|
|
|
1776df3 |
|
|
|
de0b2a1 |
BuildRequires: gcc
|
|
|
904d657 |
BuildRequires: ncurses-devel glib2-devel gtk2-devel pkgconfig
|
|
|
771b505 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
1776df3 |
|
|
|
1776df3 |
%description
|
|
|
1776df3 |
LatencyTOP is a tool for software developers (both kernel and userspace), aimed
|
|
|
1776df3 |
at identifying where in the system latency is happening, and what kind of
|
|
|
1776df3 |
operation/action is causing the latency to happen so that the code can be
|
|
|
771b505 |
changed to avoid the worst latency hiccups.
|
|
|
771b505 |
This package contains a build of LatencyTOP with GUI interface. For a build
|
|
|
771b505 |
without GUI install %{name}-tui instead.
|
|
|
771b505 |
|
|
|
771b505 |
%package tui
|
|
|
771b505 |
Summary: System latency monitor (text interface only)
|
|
|
771b505 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
771b505 |
|
|
|
771b505 |
%description tui
|
|
|
771b505 |
LatencyTOP is a tool for software developers (both kernel and userspace), aimed
|
|
|
771b505 |
at identifying where in the system latency is happening, and what kind of
|
|
|
771b505 |
operation/action is causing the latency to happen so that the code can be
|
|
|
771b505 |
changed to avoid the worst latency hiccups.
|
|
|
771b505 |
This package contains a build of LatencyTOP without GUI support (and with few
|
|
|
771b505 |
dependencies).
|
|
|
771b505 |
|
|
|
771b505 |
%package common
|
|
|
771b505 |
Summary: System latency monitor (shared files for both GUI and TUI builds)
|
|
|
771b505 |
|
|
|
771b505 |
%description common
|
|
|
771b505 |
LatencyTOP is a tool for software developers (both kernel and userspace), aimed
|
|
|
771b505 |
at identifying where in the system latency is happening, and what kind of
|
|
|
771b505 |
operation/action is causing the latency to happen so that the code can be
|
|
|
771b505 |
changed to avoid the worst latency hiccups.
|
|
|
771b505 |
This package contains files needed by both the GUI and TUI builds of LatencyTOP.
|
|
|
1776df3 |
|
|
|
1776df3 |
%prep
|
|
|
1776df3 |
%setup -q
|
|
|
0d2551a |
%patch0 -p1
|
|
|
771b505 |
%patch1 -p1
|
|
|
b7c27d0 |
%patch2 -p2
|
|
|
b7c27d0 |
%patch3 -p2
|
|
|
1776df3 |
|
|
|
1776df3 |
%build
|
|
|
1776df3 |
export CFLAGS="${CFLAGS:-%{optflags}}"
|
|
|
771b505 |
# make two builds, first without GUI, then with
|
|
|
1776df3 |
make %{?_smp_mflags}
|
|
|
771b505 |
mv latencytop latencytop-tui
|
|
|
771b505 |
make clean
|
|
|
771b505 |
make %{?_smp_mflags} HAS_GTK_GUI=1
|
|
|
1776df3 |
|
|
|
1776df3 |
%install
|
|
|
1776df3 |
rm -rf %{buildroot}
|
|
|
3c86471 |
make install DESTDIR=%{buildroot}
|
|
|
771b505 |
install -m 0755 latencytop-tui %{buildroot}%{_sbindir}/
|
|
|
a1c6501 |
ln -s latencytop.8 %{buildroot}%{_mandir}/man8/latencytop-tui.8
|
|
|
1776df3 |
|
|
|
1776df3 |
%files
|
|
|
3c86471 |
%{_sbindir}/latencytop
|
|
|
771b505 |
|
|
|
771b505 |
%files tui
|
|
|
771b505 |
%{_sbindir}/latencytop-tui
|
|
|
771b505 |
|
|
|
771b505 |
%files common
|
|
|
ab584fc |
%{_datadir}/%{name}
|
|
|
3c86471 |
%{_mandir}/man8/*
|
|
|
1776df3 |
|
|
|
1776df3 |
%changelog
|
|
|
001b3bc |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-22
|
|
|
001b3bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
001b3bc |
|
|
|
de0b2a1 |
* Tue Mar 13 2018 Michal Schmidt <mschmidt@redhat.com> - 0.5-21
|
|
|
de0b2a1 |
- BR: gcc
|
|
|
de0b2a1 |
- Drop Group tags
|
|
|
de0b2a1 |
|
|
|
1ac1419 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-20
|
|
|
1ac1419 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
1ac1419 |
|
|
|
715d798 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-19
|
|
|
715d798 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
715d798 |
|
|
|
d4eafc7 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-18
|
|
|
d4eafc7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d4eafc7 |
|
|
|
2d3ddfb |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-17
|
|
|
2d3ddfb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2d3ddfb |
|
|
|
df0236d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-16
|
|
|
df0236d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
df0236d |
|
|
|
4363fc1 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-15
|
|
|
4363fc1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4363fc1 |
|
|
|
f93b86b |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-14
|
|
|
f93b86b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f93b86b |
|
|
|
4a49926 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-13
|
|
|
4a49926 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4a49926 |
|
|
|
bcd9030 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-12
|
|
|
bcd9030 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bcd9030 |
|
|
|
c37f07c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-11
|
|
|
c37f07c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c37f07c |
|
|
|
d32aabc |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-10
|
|
|
d32aabc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d32aabc |
|
|
|
a1c6501 |
* Tue Feb 21 2012 Michal Schmidt <mschmidt@redhat.com> - 0.5-9
|
|
|
a1c6501 |
- Make the manpage accessible under the latencytop-tui name as well.
|
|
|
a1c6501 |
|
|
|
498804b |
* Sun Feb 19 2012 Michal Schmidt <mschmidt@redhat.com> - 0.5-8
|
|
|
498804b |
- Print the error message only after cleaning up curses.
|
|
|
498804b |
|
|
|
b7c27d0 |
* Thu Feb 16 2012 Michal Schmidt <mschmidt@redhat.com> - 0.5-7
|
|
|
b7c27d0 |
- Remove the broken fsync view, stop using the obsolete 'tracing_enabled'.
|
|
|
b7c27d0 |
- Better error message when run as non-root.
|
|
|
b7c27d0 |
|
|
|
771b505 |
* Thu Jan 26 2012 Michal Schmidt <mschmidt@redhat.com> - 0.5-6
|
|
|
771b505 |
- Build both with and without GUI to allow the use on systems where Gtk
|
|
|
771b505 |
dependency is undesirable. The latencytop package is still the full-blown build.
|
|
|
771b505 |
latencytop-tui is the miminal build. latencytop-common has the shared files.
|
|
|
771b505 |
|
|
|
115d76b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
|
|
|
115d76b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
115d76b |
|
|
|
55d6b9f |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
|
|
|
55d6b9f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
55d6b9f |
|
|
|
904d657 |
* Tue Feb 16 2010 Michal Schmidt <mschmidt@redhat.com> 0.5-3
|
|
|
904d657 |
- BuildRequire pkgconfig because the Makefile uses pkg-config.
|
|
|
904d657 |
|
|
|
0d10d44 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
0d10d44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
0d10d44 |
|
|
|
0d2551a |
* Thu May 14 2009 Michal Schmidt <mschmidt@redhat.com> 0.5-1
|
|
|
0d2551a |
- Upstream release 0.5, adds GTK based GUI.
|
|
|
0d2551a |
|
|
|
f492dbf |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
|
|
f492dbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f492dbf |
|
|
|
be2213b |
* Tue Oct 07 2008 Michal Schmidt <mschmidt@redhat.com> - 0.4-2
|
|
|
be2213b |
- Add an upstream patch to update the translation table.
|
|
|
be2213b |
|
|
|
3c86471 |
* Thu Apr 24 2008 Michal Schmidt <mschmidt@redhat.com> - 0.4-1
|
|
|
3c86471 |
- Upstream release 0.4.
|
|
|
3c86471 |
|
|
|
ab584fc |
* Wed Feb 20 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-5
|
|
|
ab584fc |
- Own the data directory.
|
|
|
ab584fc |
|
|
|
756e0ca |
* Tue Feb 5 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-4
|
|
|
756e0ca |
- Package the translation table too and modify latencytop.c to look for it in
|
|
|
756e0ca |
the correct directory.
|
|
|
756e0ca |
|
|
|
1776df3 |
* Mon Feb 4 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-3
|
|
|
1776df3 |
- Dropped the whitespace-changing hunk from latencytop-standard-cflags.patch.
|
|
|
1776df3 |
|
|
|
1776df3 |
* Fri Feb 1 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-2
|
|
|
1776df3 |
- From review comments - removed whitespace in latencytop-standard-cflags.patch
|
|
|
1776df3 |
|
|
|
1776df3 |
* Thu Jan 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-1
|
|
|
1776df3 |
- Initial package for Fedora.
|