File kiosktool.spec of Package kiosktool

#
# spec file for package kiosktool (Version 1.99.svn1102156)
#
# Copyright (c) 2010 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.svn1102156
Release:        0.2.53
# $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 -- -DKDE_DEFAULT_HOME=.kde4
  %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
* Thu Mar 11 2010 llunak@novell.com
- make the KDE4 version actually somewhat useful (bnc#568154)
* Thu Nov 26 2009 llunak@novell.com
- sync 11.2 KDE packages with SLE (fate#305847)
* Sat Jul 11 2009 beineri@opensuse.org
- update to 1.99.svn958038 (of previous kde4-kiosktool package)
* Fri Jun  1 2007 coolo@suse.de
- move kde_post_install
* Fri Mar  9 2007 stbinner@suse.de
- fix build (new icon location check)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Dec 20 2005 dmueller@suse.de
- fix file list
* Tue Apr 26 2005 adrian@suse.de
- update to version 1.0
* Thu Feb 17 2005 adrian@suse.de
- menu entry moved to xdg dir
* Thu Sep 16 2004 adrian@suse.de
- update to version 0.9
  * minor bugfix release
- blacklist some groups in selector
- remove information popup
* Mon Aug 23 2004 adrian@suse.de
- update to version 0.8
* Mon Jul 12 2004 adrian@suse.de
- update to version 0.7
* Wed Jul  7 2004 adrian@suse.de
- update to version 0.6
* Mon Jul  5 2004 adrian@suse.de
- update to current cvs, to fix problems on first start
* Mon Jun 14 2004 adrian@suse.de
- update to version 0.5
* Tue May 25 2004 adrian@suse.de
- update to version 0.4.1
* Thu May  6 2004 adrian@suse.de
- update to version 0.3
* Thu Apr 29 2004 adrian@suse.de
- fix build for old admin folder
* Thu Apr 29 2004 adrian@suse.de
- update to official 0.2 version
- use /etc/kde3rc instead of /etc/kderc
* Thu Mar 18 2004 adrian@suse.de
- move menu entry
* Mon Mar 15 2004 adrian@suse.de
- update to current snapshot
  * fixes a sig11 in step 4
* Mon Mar  8 2004 adrian@suse.de
- initial package of todays cvs snapshot