Name: latencytop
Version: 0.3
Release: 3%{?dist}
Summary: System latency monitor
Group: Applications/System
License: GPLv2
URL: http://www.latencytop.org/
Source0: http://www.latencytop.org/download/%{name}-%{version}.tar.gz
Patch0: latencytop-standard-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel glib2-devel
%description
LatencyTOP is a tool for software developers (both kernel and userspace), aimed
at identifying where in the system latency is happening, and what kind of
operation/action is causing the latency to happen so that the code can be
changed to avoid the worst latency hiccups.
%prep
%setup -q
%patch -p1
%build
export CFLAGS="${CFLAGS:-%{optflags}}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
install -p -m 755 latencytop %{buildroot}/%{_bindir}/latencytop
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
#%doc
%{_bindir}/latencytop
%changelog
* Mon Feb 4 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-3
- Dropped the whitespace-changing hunk from latencytop-standard-cflags.patch.
* Fri Feb 1 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-2
- From review comments - removed whitespace in latencytop-standard-cflags.patch
* Thu Jan 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.3-1
- Initial package for Fedora.