LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plasmoid-systemloadviewer.spec of Package plasmoid-systemloadviewer (Project home:llunak:attic)

# spec file for package plasmoid-systemloadviewer (Version 0.6)
# Copyright 2008-2009 Buschmann <buschmann23@opensuse.org>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# norootforbuild

BuildRequires:      kdebase4-workspace-devel >= 4.2.0
BuildRequires:      update-desktop-files licenses

Name:               plasmoid-systemloadviewer
Summary:            System Load Viewer Plasmoid
Version:            0.6
Release:            1
License:            GPL
Group:              System/GUI/KDE
Source0:            74891-systemloadviewer.tar.gz
Patch0:             desktop-translation.patch
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
AutoReqProv:        yes

Provides:           kde4-plasmoid-system_status = 0.5
Provides:           plasmoid-systemstatus = 0.5.1
Obsoletes:          kde4-plasmoid-system_status <= 0.5
Obsoletes:          plasmoid-systemstatus <= 0.5.1

Requires:           kdebase4-workspace licenses

Url:                http://www.kde-look.org/content/show.php/System+Load+Viewer?content=74891

System Load Viewer is a simple plasmoid meant to display cpu, ram,
and swap usage. Currently it only monitors the average cpu usage.

    Matthew Dawson

%setup -n systemloadviewer

  %cmake_kde4 -d builddir

  cd builddir
  cd ..
  MD5SUM=$(md5sum COPYING | sed 's/ .*//')
  if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
      ln -sf /usr/share/doc/licenses/md5/$MD5SUM COPYING
  %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-systemloadviewer.desktop