File kaccounts-providers.spec of Package kaccounts-providers

#
# spec file for package kaccounts-providers
#
# 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 http://bugs.opensuse.org/
#


Name:           kaccounts-providers
Version:        16.08.2
Release:        0
Summary:        KDE Accounts Providers
License:        GPL-2.0+
Group:          System/GUI/KDE
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  extra-cmake-modules
BuildRequires:  intltool
BuildRequires:  kaccounts-integration-devel
BuildRequires:  kdeclarative-devel
BuildRequires:  kf5-filesystem
BuildRequires:  ki18n-devel
BuildRequires:  kio-devel
BuildRequires:  kpackage-devel
BuildRequires:  libaccounts-glib-devel
BuildRequires:  libaccounts-qt5-devel
BuildRequires:  libsignon-qt5-devel
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Widgets)
Requires:       signon-plugin-oauth2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
KDE Accounts Providers.


%prep
%setup -q -n %{name}-%{version}

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %makeinstall -C build

%files
%defattr(-,root,root)
%doc COPYING
%{_kf5_sysconfdir}/signon-ui/
%{_kf5_sharedir}/accounts/
%_kf5_plugindir/kaccounts/
%_datadir/kpackage/
%dir %{_kf5_appstreamdir}
%{_kf5_appstreamdir}/org.kde.kaccounts.owncloud.appdata.xml

%changelog
openSUSE Build Service is sponsored by