Author: glen Date: Thu Oct 23 11:53:16 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: latencytop.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/latencytop.spec diff -u /dev/null SPECS/latencytop.spec:1.1 --- /dev/null Thu Oct 23 13:53:16 2008 +++ SPECS/latencytop.spec Thu Oct 23 13:53:11 2008 @@ -0,0 +1,58 @@ +# $Revision$, $Date$ +Summary: LatencyTOP: measuring and fixing Linux latency +Name: latencytop +Version: 0.4 +Release: 0.1 +License: GPL v2 +Group: Applications +Source0: http://www.latencytop.org/download/%{name}-%{version}.tar.gz +# Source0-md5: ad8d107699608b024d697c941371bb37 +Patch0: %{name}-make.patch +URL: http://www.latencytop.org/ +BuildRequires: glib2-devel +BuildRequires: ncurses-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +LatencyTOP is a Linux 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 +%patch0 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -I/usr/include/ncurses" \ + LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +cp -a latencytop.8 $RPM_BUILD_ROOT%{_mandir}/man8 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_sbindir}/latencytop +%{_mandir}/man8/latencytop.8* +%{_datadir}/latencytop + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/10/23 11:53:11 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
