File kdetoys3.spec of Package kdetoys3
#
# spec file for package kdetoys3
#
# 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/
#
# norootforbuild
Name: kdetoys3
BuildRequires: kdebase3 kdelibs3-devel
License: GPL-2.0+
Group: System/GUI/KDE
Summary: Nice Toys for KDE
Version: 3.5.10
Release: 16
Url: http://www.kde.org
Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: kdetoys-%{version}.tar.bz2
Patch0: 3_5_BRANCH.diff
Patch1: artwork.diff
Patch2: novosibirsk-weather-station-update.patch
%description
This package currently contains programs:
* kmoon, the show-me-the-current-moon-phase-in-the-panel program
* kworldclock, the show-me-where-on-the-world-is-day program
* kodo, the show-me-how-far-I-have-moved-my-mouse-today program
* kweather, the show-me-how-the-weather-is-today program
* amor, the show-me-a-little-window-dancer program
* kteatime, the shoe-me-when-the-tea-is-good program
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -n kdetoys-%{version} -q
%patch0
%patch1
%patch2 -p1
. /etc/opt/kde3/common_options
update_admin
%build
. /etc/opt/kde3/common_options
./configure $configkde
make
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file -r kworldclock Utility Clock
%suse_update_desktop_file -r kteatime Applet
%suse_update_desktop_file -r amor Amusement
%suse_update_desktop_file -r kodo Amusement
%suse_update_desktop_file ktux Screensaver
kde_post_install
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%dir /opt/kde3/share/applnk/System/ScreenSavers
#%_mandir/*/*
/opt/kde3/share/applications/kde/*.desktop
/opt/kde3/share/apps/*
/opt/kde3/share/applnk/System/ScreenSavers/ktux.desktop
%doc %lang(en) /opt/kde3/share/doc/HTML/en/*
/opt/kde3/share/icons/*
/opt/kde3/bin/*
/opt/kde3/include/*
/opt/kde3/%_lib/*
/opt/kde3/share/services/*.desktop
%changelog