Name: gmemusage Version: 0.2 Release: 2%{?dist} Summary: Graphical memory usage viewer Group: Applications/System License: GPLv2+ URL: http://oss.sgi.com/projects/gmemusage Source0: ftp://oss.sgi.com/projects/gmemusage/download/gmemusage-0.2.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: %{name}-makefile.patch BuildRequires: libX11-devel #Requires: %description The gmemusage tool provides a graphical memory display of the programs running on your computer. The original version of gmemusage was provided on IRIX. %prep %setup -q %patch0 -p1 -b .makefile %build #configure CFLAGS="%{optflags}" make %{?_smp_mflags} PREFIX=%{_prefix} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc %{_bindir}/gmemusage %{_mandir}/man1/gmemusage.1.gz %changelog * Sun May 25 2008 Mohd Izhar Firdaus Ismail 0.2-2 - export CFLAGS * Sun May 18 2008 Mohd Izhar Firdaus Ismail 0.2-1 - Initial package