File kdetoys4.spec of Package kdetoys4

#
# spec file for package kdetoys4
#
# 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/
#



Name:           kdetoys4
BuildRequires:  kdebase4-workspace-devel libqimageblitz-devel
License:        GPLv2+
Group:          System/GUI/KDE
Summary:        Kdetoys Base Package
Url:            http://www.kde.org
Version:        4.6.0
Release:        1
Source0:        kdetoys-%version.tar.bz2
Patch:          4_5_BRANCH.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Suggests:       amor
Suggests:       kteatime
Suggests:       ktux

%description
This package suggests the packages, built from the kdetoys module.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n kdetoys-%version
%patch

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  %create_subdir_filelist -d amor
  %create_subdir_filelist -d ktux
  %create_subdir_filelist -d kteatime
  %create_subdir_filelist -d ktux
  cd ..
  %create_exclude_filelist
  %suse_update_desktop_file -r kteatime    Applet
  %suse_update_desktop_file amor        Amusement
  rm -rf $RPM_BUILD_ROOT/usr/share/kde4/apps/kdesktop
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT
  rm -rf filelists

%package -n amor
License:        GPLv2+
Group:          Amusements/Toys/Other
Summary:        On-Screen Creature
%kde4_runtime_requires
Provides:       kde4-amor = 4.3.0
Obsoletes:      kde4-amor < 4.3.0

%description -n amor
KDE creature for your desktop



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n amor -p /sbin/ldconfig

%postun -n amor -p /sbin/ldconfig

%files -n amor -f filelists/amor
%defattr(-,root,root)
%doc COPYING COPYING.DOC README

%package -n kteatime
License:        No license agreement found in package
Group:          Amusements/Toys/Other
Summary:        Tea Cooker
Provides:       kde4-kteatime = 4.3.0
Obsoletes:      kde4-kteatime < 4.3.0
%kde4_runtime_requires

%description -n kteatime
KDE time utility for making a fine cup of tea



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kteatime -p /sbin/ldconfig

%postun -n kteatime -p /sbin/ldconfig

%files -n kteatime -f filelists/kteatime
%defattr(-,root,root)
%doc COPYING COPYING.DOC README

%package -n ktux
License:        No license agreement found in package
Group:          Amusements/Toys/Screensavers
Summary:        Tux Screen Saver
Provides:       kde4-ktux = 4.3.0
Obsoletes:      kde4-ktux < 4.3.0
%kde4_runtime_requires

%description -n ktux
This package contains a screen saver showing Tux in space.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n ktux -p /sbin/ldconfig

%postun -n ktux -p /sbin/ldconfig

%files -n ktux -f filelists/ktux
%defattr(-,root,root)
%doc COPYING COPYING.DOC README

%files -f filelists/exclude
%defattr(-,root,root)
%doc COPYING COPYING.DOC README

%changelog
openSUSE Build Service is sponsored by