Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > 16729af39d5eb69406cc78899d87635f > files > 2

latencytop-0.5-1mdv2010.0.src.rpm


%define name	latencytop
%define version	0.5
%define rel	1

Summary:	Visualizer of system latencies
Name:		%name
Version:	%version
Release:	%mkrel %rel
License:	GPLv2
Group:		Development/Other
URL:		http://latencytop.org/
Source:		http://latencytop.org/download/latencytop-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-root
BuildRequires:	libncursesw-devel
BuildRequires:	glib2-devel
BuildRequires:  gtk2-devel

%description
LatencyTOP is a Linux tool for software developers (both kernel and
userspace), aimed at identifying where system latency occurs, and
what kind of operation/action is causing the latency to happen. By
identifying this, developers can then change the code to avoid the
worst latency hiccups.

%prep
%setup -q

%build
export CFLAGS="%{optflags} -I%{_includedir}/ncursesw"
%make

%install
rm -rf %{buildroot}
install -d -m755 %{buildroot}%{_sbindir}
%makeinstall_std
install -d -m755 %{buildroot}%{_mandir}/man8
install -m644 latencytop.8 %{buildroot}%{_mandir}/man8/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_sbindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man8/latencytop.8*



%changelog
* Tue May 12 2009 Frederic Crozat <fcrozat@mandriva.com> 0.5-1mdv2010.0
+ Revision: 374915
- Release 0.5
- Fix buildrequires to add gtk2-devel

* Sat Apr 26 2008 Anssi Hannula <anssi@mandriva.org> 0.4-1mdv2009.0
+ Revision: 197564
- new version
- adapt for improved makefile
- add latencytop.block and man page

* Wed Apr 16 2008 Anssi Hannula <anssi@mandriva.org> 0.3-1mdv2009.0
+ Revision: 195007
- initial Mandriva release