File icecream-monitor.spec of Package icecream-monitor

#
# spec file for package icecream-monitor
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           icecream-monitor
BuildRequires:  libicecream-devel libkde4-devel
License:        GPL-2.0+
Group:          Development/Tools/Building
Summary:        Monitor Program for the icecream Compile Farm
Version:        1.0
Release:        289
Source0:        icemon.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
icecream is the next generation distcc. This package provides a monitor
program.

%prep
%setup -q -n icemon

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  %suse_update_desktop_file icemon Development Building
  %kde_post_install

%clean
rm -rf ${RPM_BUILD_ROOT}

%files 
%defattr(-,root,root)
/usr/bin/icemon
#%doc /usr/share/doc/kde/HTML/en/icemon
/usr/share/applications/kde4/icemon.desktop
/usr/share/icons/*/*/apps/icemon.*
/usr/share/kde4/apps/icemon

%changelog
openSUSE Build Service is sponsored by