File kaccounts-integration.spec of Package kaccounts-integration
#
# spec file for package kaccounts-integration
#
# 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-integration
Version: 16.04.1
Release: 0
Summary: KDE Accounts Providers
License: GPL-2.0+
Group: System/GUI/KDE
Source: %{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: kcmutils-devel
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdeclarative-devel
BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kio-devel
BuildRequires: kwallet-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: libaccounts-qt5-devel
BuildRequires: libaccounts-glib-devel
BuildRequires: libsignon-qt5-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Small system to administer web accounts for the sites
and services across the KDE desktop, including: Google,
Facebook, Owncloud, IMAP, Jabber and others.
%package devel
Summary: KDE Accounts Providers - Development Files
Group: Development/Libraries/KDE
Requires: %{name} = %{version}
Requires: kcoreaddons-devel
Requires: libaccounts-qt5-devel
Requires: pkgconfig(Qt5Core) >= 5.2.0
%description devel
Small system to administer web accounts for the sites
and services across the KDE desktop, including: Google,
Facebook, Owncloud, IMAP, Jabber and others. Devel files.
%prep
%setup -q -n %{name}-%{version}
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING
%{_kf5_libdir}/libkaccounts.so*
%{_kf5_plugindir}/
%{_kf5_servicesdir}/
%_kf5_qmldir/
%files devel
%defattr(-,root,root)
%{_kf5_prefix}/include/KAccounts/
%{_kf5_libdir}/cmake/KAccounts/
%changelog