1776df3
Name:           latencytop
0d2551a
Version:        0.5
55d6b9f
Release:        4%{?dist}
1776df3
Summary:        System latency monitor
1776df3
1776df3
Group:          Applications/System
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
1776df3
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1776df3
904d657
BuildRequires:  ncurses-devel glib2-devel gtk2-devel pkgconfig
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
1776df3
changed to avoid the worst latency hiccups. 
1776df3
1776df3
%prep
1776df3
%setup -q
0d2551a
%patch0 -p1
1776df3
756e0ca
1776df3
%build
1776df3
export CFLAGS="${CFLAGS:-%{optflags}}"
1776df3
make %{?_smp_mflags}
1776df3
1776df3
1776df3
%install
1776df3
rm -rf %{buildroot}
3c86471
make install DESTDIR=%{buildroot}
1776df3
1776df3
1776df3
%clean
1776df3
rm -rf %{buildroot}
1776df3
1776df3
1776df3
%files
1776df3
%defattr(-,root,root,-)
1776df3
#%doc 
3c86471
%{_sbindir}/latencytop
ab584fc
%{_datadir}/%{name}
3c86471
%{_mandir}/man8/*
1776df3
1776df3
1776df3
%changelog
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.