File kiosktool.spec of Package kiosktool

#
# spec file for package kiosktool (Version 1.99.svn958038)
#
# 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:           kiosktool
BuildRequires:  kdebase4-workspace-devel
License:        GPL v2 or later
Group:          System/Management
Summary:        Kiosk Admin Tool
Version:        1.99.svn958038
Release:        1
# $SVNROOT/trunk/extragear/sysadmin/kiosktool
Source0:        sysadmin.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Provides:       kde4-kiosktool = 4.2.1.svn942192
Obsoletes:      kde4-kiosktool <= 4.2.1.svn942192

%description
A tool for a system administrator to create profiles for the KDE
desktop.



Authors:
--------
    Waldo Bastian <bastian@kde.org>

%prep
%setup -q -n sysadmin

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  %suse_update_desktop_file kiosktool System SystemSetup
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
openSUSE Build Service is sponsored by