# Not fully released yet. This will disappear when it is. %global gitcommit d164725ac28493d46ca88910ca7797ee247a33fc %global gitdate 20240410.063659 %global shortcommit %(c=%{gitcommit}; echo ${c:0:7}) Name: klevernotes Version: 0.1~%{gitdate}.%{shortcommit} Release: 1%{?dist} License: BSD-3-Clause AND CC-BY-SA-4.0 AND CC0-1.0 AND FSFAP AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only Summary: A convergent markdown note taking application URL: https://apps.kde.org/klevernotes/ # Source0: https://download.kde.org/stable/%%{name}/%%{name}-%%{version}.tar.xz -- Not yet, only once released Source0: https://invent.kde.org/office/%{name}/-/archive/%{gitcommit}/%{name}-%{gitcommit}.tar.gz # handled by qt6-srpm-macros, which defines %%qt6_qtwebengine_arches %{?qt6_qtwebengine_arches:ExclusiveArch: %{qt6_qtwebengine_arches}} BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires: hicolor-icon-theme BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6WebEngineWidgets) BuildRequires: cmake(Qt6WebEngineQuick) BuildRequires: cmake(KF6Kirigami2) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6KIO) %description KleverNotes is a note taking and management application for your mobile and desktop devices. It uses markdown and allow you to preview your content. Different Markdown flavors are supported thanks to its custom Markdown parser based Marked.js, which make the integration of "plugins" and new features even easier. %prep %autosetup -n %{name}-%{gitcommit} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --with-man --with-qt --all-name %check desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/org.kde.klevernotes.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %files -f %{name}.lang %license LICENSES/* %{_kf6_bindir}/klevernotes %{_kf6_datadir}/applications/org.kde.klevernotes.desktop %{_kf6_datadir}/icons/hicolor/scalable/apps/org.kde.klevernotes.svg %{_kf6_metainfodir}/org.kde.klevernotes.metainfo.xml %changelog * Sat Mar 2 2024 Steve Cossette - 0.1~20240410.063659.d164725-1 - Initial Release