File superkaramba.spec of Package superkaramba
#
# spec file for package superkaramba
#
# Copyright (c) 2012 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: superkaramba
BuildRequires: gmp-devel
BuildRequires: kdebase4-workspace-devel
BuildRequires: libarchive-devel
BuildRequires: libkdepimlibs4-devel
BuildRequires: libkonq-devel
BuildRequires: libqca2-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libzip-devel
BuildRequires: net-snmp-devel
BuildRequires: oxygen-icon-theme-large
BuildRequires: pcsc-lite
BuildRequires: python-devel
BuildRequires: xz
BuildRequires: xz-devel
Version: 4.8.4
Release: 0
Summary: Superkaramba allows you to have (interactive) desktop widgets
License: GPL-2.0+
Group: Productivity/Other
Url: http://www.kde.org
Source0: %{name}-%{version}.tar.xz
Patch0: 4_7_BRANCH.diff
BuildRequires: python-cups
Provides: kde4-superkaramba = 4.3.0
Obsoletes: kde4-superkaramba < 4.3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Superkaramba allows you to have (interactive) desktop widgets shown on
your desktop.
%prep
%setup -q
%patch0
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%make_install
%suse_update_desktop_file -r superkaramba System Applet
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_kde4_applicationsdir}/superkaramba.desktop
%{_kde4_appsdir}/superkaramba/
%{_kde4_bindir}/superkaramba
%config %{_kde4_configdir}/superkaramba.knsrc
%{_kde4_datadir}/dbus-1/interfaces/org.kde.superkaramba.xml
%{_kde4_iconsdir}/hicolor/*/apps/superkaramba.*
%{_kde4_libdir}/libsuperkaramba.so*
%{_kde4_modulesdir}/plasma_package_superkaramba.so
%{_kde4_modulesdir}/plasma_scriptengine_superkaramba.so
%{_kde4_servicesdir}/plasma-package-superkaramba.desktop
%{_kde4_servicesdir}/plasma-scriptengine-superkaramba.desktop
%changelog