Репозиторий Sisyphus
Последнее обновление: 29 ноября 2022 | Пакетов: 17934 | Посещений: 25418187
en ru br
Репозитории ALT
4.1: 1.99-alt4
4.0: 1.99-alt4
3.0: 1.99-alt3
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: kcpuload

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define qtdir /usr/lib/qt3

Name: kcpuload
Version: 1.99
Release: alt3
Serial: 1

Group: Monitoring
Summary: Small applet which displays cpu time for KDE kicker

Source0: %name-%version.tar.bz2
License: GPL

# Automatically added by buildreq on Thu Apr 29 2004 (-bi)

BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2
BuildRequires: gcc-c++ kdelibs-devel libarts-devel libjpeg-devel libpng-devel
BuildRequires: libqt3-devel libstdc++-devel xml-utils zlib-devel

%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
subst "s/\-lkdeui/-lkdeui -lpthread/g" configure
subst "s/\.la/.so/g" configure


%build
export QTDIR=%qtdir
%configure \
--disable-rpath \
--disable-static \
--disable-debug \
--program-transform-name="" \
--enable-final

%make_build

%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT/%_menudir
kdedesktop2mdkmenu.pl %name "Applications/Monitoring" %buildroot/%_datadir/applnk/System/%name.desktop %buildroot/%_menudir/%name kde

%post
%update_menus

%postun
%clean_menus

%files
%_bindir/*
%_datadir/apps/%name
%_datadir/icons/*/*/*/*
%_datadir/applnk/System/*.desktop
%_menudir/%name
%doc %_docdir/HTML/en/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin