File kwalletmanager.spec of Package kwalletmanager
#
# spec file for package kwalletmanager
#
# 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: kwalletmanager
Version: 4.8.4
Release: 0
Summary: Wallet Management Tool
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org
Source0: kwallet-%{version}.tar.xz
Patch0: 4_7_BRANCH.diff
Patch1: desktop-files.diff
BuildRequires: kdebase4-workspace-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
This application allows you to manage your KDE password wallet.
%prep
%setup -q -n kwallet-%{version}
%patch0
%patch1
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%make_install
%suse_update_desktop_file kwalletmanager Applet
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING
%_kde4_appsdir/kwalletmanager
%_kde4_bindir/kwalletmanager
%_kde4_modulesdir/*.so
%_kde4_applicationsdir/kwalletmanager*.desktop
%_kde4_htmldir/en/kwallet/
%_kde4_iconsdir/hicolor/*/*/*.png
%_kde4_servicesdir/*.desktop
%changelog