File kjots.spec of Package kjots
#
# spec file for package kjots
#
# Copyright (c) 2017 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: kjots
Version: 5.02.40
Release: 0
Summary: A note taking application for KDE using Akonadi
License: GPL-2.0 and LGPL-2.1+
Group: System/GUI/KDE
Url: http://www.kde.org
Source0: %{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: cmake(Grantlee5)
BuildRequires: libxslt-tools
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Akonadi)
BuildRequires: cmake(KF5AkonadiNotes)
BuildRequires: cmake(KF5Bookmarks)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5KCMUtils)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5KontactInterface)
BuildRequires: cmake(KF5Mime)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5PimTextEdit)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5PrintSupport)
Requires: kdepim-runtime
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains KJOTS, a note taking application for KDE using Akonadi.
%prep
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file org.kde.kjots Utility DesktopUtility
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING*
%{_kf5_applicationsdir}/org.kde.kjots.desktop
%{_kf5_appstreamdir}/
%{_kf5_bindir}/kjots
%{_kf5_configkcfgdir}/
%{_kf5_iconsdir}/hicolor/*/apps/kjots.*
%{_kf5_iconsdir}/oxygen/*/actions/edit-delete-page.*
%{_kf5_kxmlguidir}/kjots/
%{_kf5_plugindir}/kcm_kjots.so
%{_kf5_plugindir}/kjotspart.so
%{_kf5_plugindir}/kontact_kjotsplugin.so
%{_kf5_servicesdir}/kjots_config_misc.desktop
%{_kf5_servicesdir}/kjotspart.desktop
%{_kf5_servicesdir}/kontact/
%{_kf5_sharedir}/kjots/
%{_kf5_sharedir}/kontact/
%changelog