43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
Name: wmcore
|
|
Version: 0.0.2
|
|
Release: 1%{?dist}
|
|
Summary: Dockapp that shows the usage of each core in the system
|
|
|
|
License: GPLv2+
|
|
URL: http://www.bitmania.de/index.php?page=35
|
|
Source0: http://www.bitmania.de/pub/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXpm-devel
|
|
|
|
%description
|
|
This is a dockapp that shows the usage of each core in the system.
|
|
The dockapp splits into two displays, the upper one showing the common usage
|
|
of the system and the lower display showing one graph per each core.
|
|
|
|
It detects the number of cores and computes the usage to be represented as a
|
|
bar graph. wmcore works with a variable number of cores, it has been tested
|
|
with 1 up to 16 (simulated) cores.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
make clean
|
|
make CFLAGS='%{optflags}' %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
install -p -m 755 %{name} %{buildroot}%{_bindir}/
|
|
|
|
%files
|
|
%doc COPYING README
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue Jul 17 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.2-1
|
|
- Initial package
|