File icecream-monitor.spec of Package icecream-monitor
#
# spec file for package icecream-monitor (Version 1.0)
#
# Copyright (c) 2009 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 v2 or later
Group: Development/Tools/Building
Summary: Monitor Program for the icecream Compile Farm
Version: 1.0
Release: 278
Source0: icemon.tar.bz2
Patch: icemon.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
icecream is the next generation distcc. This package provides a monitor
program.
Authors:
--------
Stephan Kulow <coolo@suse.de>
Michael Matz <matz@suse.de>
Cornelius Schumacher <cschum@suse.de>
Lubos Lunak <llunak@suse.cz>
Frerich Raabe <raabe@kde.org>
%prep
%setup -q -n %name
%patch
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%suse_update_desktop_file icemon Development Building
%kde_post_install
# no-one needs this
rm $RPM_BUILD_ROOT/usr/share/kde4/apps/cmake/modules/FindIcecream.cmake
%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