File python-kdebase4.spec of Package kdebase4-workspace
#
# spec file for package python-kdebase4 (Version 4.5.1)
#
# 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/
#
Name: python-kdebase4
BuildRequires: NetworkManager-devel bluez-devel libQtWebKit-devel libdbusmenu-qt-devel libkdepimlibs4-devel libqimageblitz-devel
BuildRequires: libknotificationitem-devel libsmbclient-devel libxklavier-devel python-kde4-devel
%if %suse_version > 1030
BuildRequires: ConsoleKit-devel libpolkit-qt-devel
%endif
BuildRequires: libusb-devel
License: GPLv2+
Group: System/GUI/KDE
Summary: Python bindings for KDE 4 desktop shell
Url: http://www.kde.org/
Version: 4.5.1
Release: 2
Source0: kdebase-workspace-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-kde4 = %{version}
%description
Python bindings for Plasma, the KDE 4 desktop shell. These bindings
allow Plasmoids written in Python
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -q -n kdebase-workspace-%version
%build
%cmake_kde4 -d build
cd plasma/generic/scriptengines/python
%make_jobs
%install
cd build/plasma/generic/scriptengines/python
%makeinstall
%kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING README
%py_sitedir/PyKDE4
%_kde_share_dir/apps/plasma_scriptengine_python
%_kde_share_dir/services/plasma-*.desktop
%changelog