%define docfiles BUGS COPYING README CHANGES TODO Name: wmtop Version: 0.84 Release: %mkrel 3 Summary: A dock application that is a mini graphical CPU monitoring utility License: GPLv2 Group: Monitoring URL: http://wmtop.sourceforge.net Source0: http://www.dockapps.org/download.php/id/81/%{name}-%{version}.tar.bz2 BuildRequires: glibc-devel BuildRequires: libxpm-devel BuildRequires: libx11-devel BuildRequires: libxext-devel %description Wmtop is another dockapp for WindowMaker, or any window manager and desktop environment that handles dock applications. It maintains a view of the 3 top CPU (or memory) consuming processes displaying the amount of CPU used as a horizontal bar. %prep %setup -q %build %make linux FLAGS="%optflags -DLINUX -DPARANOID" \ LDFLAGS="%ldflags -lX11 -lXext -lXpm" %install rm -rf %{buildroot} chmod 644 %{docfiles} install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name} install -D -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc %{docfiles} %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Mon Jan 14 2013 umeabot <umeabot> 0.84-3.mga3 + Revision: 385799 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Nov 06 2012 eatdirt <eatdirt> 0.84-2.mga3 + Revision: 315343 - Fix compilation options, rebuild for mga3 * Sun Oct 09 2011 eatdirt <eatdirt> 0.84-1.mga2 + Revision: 153533 - imported package wmtop