X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=ka5-knotes.spec;fp=ka5-knotes.spec;h=98b9dfaef90c6ec274785a13a0fe797aefd5fbfb;hb=c589031243ca9253562e61cd25efd8c7387f41e0;hp=af0f39420890c8aea77be2b368202ee7aa97c0fb;hpb=cbf495ba1c6833c24039142de5f03cf7805d3871;p=packages%2Fka5-knotes.git diff --git a/ka5-knotes.spec b/ka5-knotes.spec index af0f394..98b9dfa 100644 --- a/ka5-knotes.spec +++ b/ka5-knotes.spec @@ -1,18 +1,18 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeappsver 23.04.3 +%define kdeappsver 23.08.0 %define kframever 5.94.0 %define qtver 5.15.2 %define kaname knotes Summary: knotes Name: ka5-%{kaname} -Version: 23.04.3 +Version: 23.08.0 Release: 1 License: GPL v2+/LGPL v2.1+ Group: X11/Applications/Games Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz -# Source0-md5: cd25152fc69297b10dd623303d19221f +# Source0-md5: 1c1eaf233b2deb71b32b50522fa4f7b1 URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5DBus-devel @@ -22,7 +22,7 @@ BuildRequires: Qt5PrintSupport-devel BuildRequires: Qt5Test-devel BuildRequires: Qt5Widgets-devel BuildRequires: Qt5Xml-devel -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.20 BuildRequires: gettext-devel BuildRequires: grantlee-qt5-devel >= 5.1 BuildRequires: ka5-akonadi-devel >= %{kdeappsver} @@ -83,18 +83,16 @@ tła. %setup -q -n %{kaname}-%{version} %build -install -d build -cd build %cmake \ + -B build \ -G Ninja \ %{!?with_tests:-DBUILD_TESTING=OFF} \ -DHTML_INSTALL_DIR=%{_kdedocdir} \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - .. -%ninja_build + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +%ninja_build -C build %if %{with tests} -ctest +ctest --test-dir build %endif