Add missing libraries to examples' Makefiles
[dockapps.git] / wmcpuload / contrib / wmcpuload.spec.in
blobbe825d4039fa00b162a72a24a86f5f95ce14f908
1 %define name @PACKAGE@
2 %define version @VERSION@
3 Summary: A dockapp to monitor CPU usage.
4 Name: %{name}
5 Version: %{version}
6 Release: 1
7 Source: %{name}-%{version}.tar.gz
8 Copyright: GPL
9 Group: applications
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{PACKAGE_RELEASE}
11 Packager: Francisco Vides Fernandez <pax@dedalo-ing.com>
14 %description
15 WMCPULoad is a program to monitor CPU usage. It is a dockapp that is supported
16 by X window managers such as Window Maker, AfterStep, BlackBox, and
17 Enlightenment. It dispalys the current usage, expressed as a percentile and a
18 graph, and has an LCD look-alike user interface. The back-light may be turned
19 on/off by clicking the mouse button over the application. If the CPU usage hits
20 a certain threshold, an alarm-mode will alart you by turning on back-light.
22 %prep
23 rm -rf $RPM_BUILD_ROOT
25 %setup
27 %build
28 ./configure --prefix=/usr
29 make
31 %install
32 make DESTDIR=$RPM_BUILD_ROOT install
34 %clean
35 rm -rf $RPM_BUILD_ROOT
37 %files
38 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
39 /usr/bin/wmcpuload
41 %changelog
42 * Wed Mar 13 2002 Seiichi SATO <ssato@sh.rim.or.jp>
43 - fixed %build section ('--prefix=$DESTDIR/usr' to '--prefix=/usr')
44 - fixed %install section
45 ('make install' to 'make DESTDIR=$RPM_BUILD_ROOT install')
46 - Changed spec file name to all-lower-case alphanumeric
48 * Wed Oct 03 2001 Seiichi SATO<ssato@sh.rim.or.jp>
49 - Changed description section.