File kjots.spec of Package kjots
#
# spec file for package kjots
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define kf6_version 5.245.0
%define qt6_version 6.5.0
%define kpim6_version 5.240.75
Name: kjots
Version: 5.1.0
Release: 0
Summary: A note taking application using Akonadi
License: GPL-2.0-only AND LGPL-2.1-or-later
URL: https://apps.kde.org/kjots/
Source0: https://download.kde.org/stable/kjots/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: cmake(KF6Bookmarks) >= %{kf6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6Parts) >= %{kf6_version}
BuildRequires: cmake(KF6TextAddonsWidgets)
BuildRequires: cmake(KF6TextCustomEditor)
BuildRequires: cmake(KF6TextEditTextToSpeech)
BuildRequires: cmake(KF6TextTemplate)
BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
BuildRequires: cmake(KPim6Akonadi) >= %{kpim6_version}
BuildRequires: cmake(KPim6AkonadiNotes) >= %{kpim6_version}
BuildRequires: cmake(KPim6KontactInterface) >= %{kpim6_version}
BuildRequires: cmake(KPim6Mime) >= %{kpim6_version}
BuildRequires: cmake(KPim6TextEdit) >= %{kpim6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version}
%description
This package contains KJOTS, a note taking application using Akonadi.
%lang_package
%prep
%autosetup -p1
%build
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
%kf6_build
%install
%kf6_install
%find_lang %{name}
%ldconfig_scriptlets
%files
%license LICENSES/*
%{_kf6_applicationsdir}/org.kde.kjots.desktop
%{_kf6_appstreamdir}/org.kde.kjots.appdata.xml
%{_kf6_bindir}/kjots
%{_kf6_configkcfgdir}/kjots.kcfg
%{_kf6_iconsdir}/hicolor/*/apps/kjots.*
%{_kf6_plugindir}/kcm_kjots.so
%{_kf6_plugindir}/kjotspart.so
%dir %{_kf6_plugindir}/pim6
%dir %{_kf6_plugindir}/pim6/kontact/
%{_kf6_plugindir}/pim6/kontact/kontact_kjotsplugin.so
%{_kf6_sharedir}/kjots/
%files lang -f kjots.lang
%changelog