File kwalletmanager5.spec of Package kwalletmanager5

# spec file for package kwalletmanager5
# Copyright (c) 2016 SUSE LINUX 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

%define rname   kwalletmanager
Name:           kwalletmanager5
Version:        16.08.2
Release:        0
Summary:        Wallet Management Tool
License:        GPL-2.0+
Group:          System/GUI/KDE
Source0:        %{rname}-%{version}.tar.xz
BuildRequires:  kauth-devel
BuildRequires:  kcmutils-devel
BuildRequires:  kconfig-devel
BuildRequires:  kconfigwidgets-devel
BuildRequires:  kcoreaddons-devel
BuildRequires:  kdbusaddons-devel
BuildRequires:  kdelibs4support-devel
BuildRequires:  kdoctools-devel
BuildRequires:  kf5-filesystem
BuildRequires:  ki18n-devel
BuildRequires:  kservice-devel
BuildRequires:  kwallet-framework-devel
BuildRequires:  kxmlgui-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core) >= 5.2.0
BuildRequires:  pkgconfig(Qt5DBus) >= 5.2.0
BuildRequires:  pkgconfig(Qt5Gui) >= 5.2.0
BuildRequires:  pkgconfig(Qt5Widgets) >= 5.2.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %{?suse_version} <= 1320 && !0%{?is_opensuse}
Conflicts:      kwalletmanager

This application allows you to manage your KDE password wallet.

%setup -q -n %{rname}-%{version}

  %cmake_kf5 -d build

  %kf5_makeinstall -C build

echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc
echo "setBadness('polkit-unauthorized-privilege', 0)" >> $RPM_SOURCE_DIR/%name-rpmlintrc

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%doc %lang(en) %{_kf5_htmldir}/en/*/

openSUSE Build Service is sponsored by