Summary: Small applet which displays cpu time for KDE kicker Name: kcpuload Version: 1.90 Release: 7mdk Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Monitoring Url: http://kde.quakenet.eu.org/kcpuload.shtml BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: gcc-cpp db3 readline pam popt libtermcap2 zlib1 XFree86-devel BuildRequires: XFree86-libs Mesa-common XFree86-static-libs automake autoconf BuildRequires: diffutils file m4 texinfo gettext libjpeg62-devel kdelibs-devel BuildRequires: gcc-c++ kdelibs libbinutils2 libbzip2_1 db1 freetype2 libjpeg62 BuildRequires: libmng1-devel libpng2 libqt2 libqt2-devel rpm-build %description This is a small program for the KDE Kicker (the startmenu). It will show the CPU usage in form of one or two configurable diagrams. There are settings for colors and some different styles. Note that it isn't the real system load that's shown, but the percent used of the total CPU power, which is calculated from the number of CPU ticks. To bring up the settings menu, simply rightclick on the diagram. Use a slower update interval to get a more stable and accurate diagram without flicker. If there are more than one CPU on the system, the total CPU usage from both can be shown, or you can choose to have one separate diagram for each of the CPU's. Leftclick on the diagram to bring up a small information box which will show the exact CPU usage in text form. %prep %setup -q %build CFLAGS="%optflags" CXXFLAGS="%optflags" \ ./configure --prefix=%_prefix \ --disable-rpath \ --disable-debug \ --enable-final %install make install DESTDIR=%buildroot mkdir -p $RPM_BUILD_ROOT/%{_menudir} cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/%{name} ?package(%{name}):\ needs="kde" \ section="Applications/Monitoring" \ title="Kcpuload" \ longtitle="Small applet which displays cpu time for KDE kicker" \ command="%_bindir/%{name}" \ icon=%{name}.png EOF %clean rm -rf $RPM_BUILD_ROOT %post %{update_menus} %postun %{clean_menus} %files %defattr(-,root,root) %dir %_datadir/apps/%{name}/ %dir %_datadir/apps/%{name}/docs/ %docdir %_datadir/apps/%{name}/docs/ %doc %_datadir/apps/%{name}/docs/*.html %doc %_datadir/apps/%{name}/docs/*.gif %_bindir/* %dir %_datadir/apps/%{name}/icons/ %_datadir/apps/%{name}/icons/*.xpm %_datadir/icons/hicolor/16x16/apps/*.png %_datadir/icons/hicolor/32x32/apps/*.png %_datadir/icons/hicolor/48x48/apps/*.png %_datadir/icons/locolor/16x16/apps/*.png %_datadir/icons/locolor/32x32/apps/*.png %_menudir/%{name} %_datadir/applnk/System/*.desktop %changelog * Tue Apr 10 2001 David BAUDENS <baudens@mandrakesoft.com> 1.90-7mdk - Move KDE menu entry in %%_datadir/applnk - Fix optimizations for C++ - Fix BuildRequires for non %%ix86 architectures - Rebuild against latest GCC * Wed Mar 28 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 1.90-6mdk - Add build requires * Tue Mar 13 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 1.90-5mdk - Rebuild * Tue Feb 27 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 1.90-4mdk - Rebuild * Mon Feb 26 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 1.90-3mdk - Rebuild add --enable-final --disable-debug * Fri Nov 17 2000 David BAUDENS <baudens@mandrakesoft.com> 1.90-2mdk - Rebuild with gcc-2.96 & glibc-2.2 * Mon Oct 9 2000 Vincent Saugey <vince@mandrakesoft.com> 1.90-1mdk - Firt mdk release