From f35a57a9054ded5a7f16bde90623311a3ee43576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Bl=C3=A4ttermann?= Date: Mon, 23 Jul 2012 19:54:41 +0200 Subject: [PATCH] Initial commit --- .gitignore | 1 + sources | 1 + wmcore.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 wmcore.spec diff --git a/.gitignore b/.gitignore index e69de29..464de2b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/wmcore-0.0.2.tar.gz diff --git a/sources b/sources index e69de29..701f8da 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +da16cea009f32a3152a81a3619ec90e1 wmcore-0.0.2.tar.gz diff --git a/wmcore.spec b/wmcore.spec new file mode 100644 index 0000000..de322c7 --- /dev/null +++ b/wmcore.spec @@ -0,0 +1,43 @@ +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 0.0.2-1 +- Initial package