X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=ka5-baloo-widgets.spec;h=71c8d631ceae9f00a884568682b31c91ee9cb125;hb=HEAD;hp=dfb8ad15510a3dab3b3187bc23576d58b21a473a;hpb=6414d8315fa852930b8862566cbe393edc12d9c7;p=packages%2Fka5-baloo-widgets.git diff --git a/ka5-baloo-widgets.spec b/ka5-baloo-widgets.spec index dfb8ad1..71c8d63 100644 --- a/ka5-baloo-widgets.spec +++ b/ka5-baloo-widgets.spec @@ -1,24 +1,24 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeappsver 22.12.0 +%define kdeappsver 23.08.5 %define kframever 5.94.0 %define qtver 5.15.2 %define kaname baloo-widgets Summary: Baloo widgets Name: ka5-%{kaname} -Version: 22.12.0 +Version: 23.08.5 Release: 1 License: GPL v2+/LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz -# Source0-md5: 09b45aee2d25b0340fac0fa5f886cd27 +# Source0-md5: e009be9182808f2f40ef9fb1edf6435d URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5Gui-devel >= 5.11.1 BuildRequires: Qt5Test-devel BuildRequires: Qt5Widgets-devel -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.20 BuildRequires: gettext-devel BuildRequires: kf5-baloo-devel >= %{kframever} BuildRequires: kf5-extra-cmake-modules >= %{kframever} @@ -56,18 +56,16 @@ Pliki nagłówkowe dla programistów używających %{kaname}. %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