File icecream-monitor.spec of Package icecream-monitor

#
# spec file for package icecream-monitor
#
# Copyright (c) 2014 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/
#


Name:           icecream-monitor
BuildRequires:  cmake
BuildRequires:  docbook2x
BuildRequires:  hicolor-icon-theme
BuildRequires:  libicecream-devel
BuildRequires:  libqt4-devel
BuildRequires:  libxslt
BuildRequires:  update-desktop-files
Summary:        Monitor Program for the icecream Compile Farm
License:        GPL-2.0+
Group:          Development/Tools/Building
Url:            https://github.com/icecc/icemon
Version:        1.0
Release:        0
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
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
  make %{_smp_mflags}

%install
  cd build
  make install DESTDIR=%{buildroot}
  %suse_update_desktop_file icemon Development Building

%clean
rm -rf ${RPM_BUILD_ROOT}

%files 
%defattr(-,root,root)
%{_bindir}/icemon
%{_datadir}/applications/icemon.desktop
%{_datadir}/icons/hicolor/*/apps/icemon.*
%{_mandir}/man1/icemon.*

%changelog
openSUSE Build Service is sponsored by