File kdepim-addons.spec of Package kdepim-addons

# spec file for package kdepim-addons
# 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

Name:           kdepim-addons
Version:        16.08.3
Release:        0
Summary:        Addons for KDEPIM applications
License:        GPL-2.0
Group:          Productivity/Graphics/Other
Source0:        %{name}-%{version}.tar.xz
# It can only build on the same platforms as Qt Webengine
ExclusiveArch:  %ix86 x86_64 %arm aarch64 mips mips64
BuildRequires:  akonadi-calendar-devel
BuildRequires:  akonadi-notes-devel
BuildRequires:  akonadi-server-devel
BuildRequires:  calendarsupport-devel
BuildRequires:  eventviews-devel
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  grantleetheme-devel
BuildRequires:  incidenceeditor-devel
BuildRequires:  kcalutils-devel
BuildRequires:  kconfig-devel
BuildRequires:  kdbusaddons-devel
BuildRequires:  kdepim-apps-libs-devel
BuildRequires:  kf5-filesystem
BuildRequires:  kdeclarative-devel
BuildRequires:  ki18n-devel
BuildRequires:  ktnef-devel
BuildRequires:  kxmlgui-devel
BuildRequires:  libgravatar-devel
BuildRequires:  libkdepim-devel
BuildRequires:  libkgapi-devel
BuildRequires:  libkleo-devel
BuildRequires:  mailcommon-devel
BuildRequires:  messagelib-devel
BuildRequires:  pimcommon-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Test) >= 5.6.0
BuildRequires:  pkgconfig(Qt5Widgets) >= 5.6.0
BuildRequires:  pkgconfig(Qt5WebEngine) >= 5.6.0
BuildRequires:  pkgconfig(Qt5WebEngineWidgets) >= 5.6.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

addons for kdepim apps (as kmail addons/ kmail theme/ kaddressbook addons etc)

%setup -q

%cmake_kf5 -d build

  %kf5_makeinstall -C build
    %suse_update_desktop_file -u org.kde.akonadimailreader    Network Email

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%dir %{_libdir}/akonadi/
%dir %{_libdir}/akonadi/contact/
%dir %{_libdir}/akonadi/contact/editorpageplugins/
%dir %{_kf5_qmldir}/org/kde/plasma