X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=kf5-kactivities-stats.spec;h=75791136addf095899bf73312b40f1ef581ce1d8;hb=HEAD;hp=8ba9a1b7a4ca1a92927c169d15698fad5014341f;hpb=1e85db82149aa4b0e8f76a555a1d38010f22819f;p=packages%2Fkf5-kactivities-stats.git diff --git a/kf5-kactivities-stats.spec b/kf5-kactivities-stats.spec index 8ba9a1b..686b81d 100644 --- a/kf5-kactivities-stats.spec +++ b/kf5-kactivities-stats.spec @@ -3,18 +3,18 @@ %bcond_with tests # build with tests # TODO: # Conflict /usr/bin/kactivitymanagerd -%define kdeframever 5.100 +%define kdeframever 5.116 %define qtver 5.15.2 %define kfname kactivities-stats Summary: Core components for the KDE's Activities Activity Manager Name: kf5-%{kfname} -Version: 5.100.0 -Release: 2 +Version: 5.116.0 +Release: 1 License: LGPL v2.1+ Group: X11/Libraries Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz -# Source0-md5: 10bc7d44c20fb2a344c9301f9a5ba6d2 +# Source0-md5: f7245d1cf35b834b2242fcfc17ad6934 URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5DBus-devel >= %{qtver} @@ -26,7 +26,7 @@ BuildRequires: Qt5Test-devel >= %{qtver} BuildRequires: Qt5Widgets-devel >= %{qtver} BuildRequires: Qt5Xml-devel >= %{qtver} BuildRequires: boost-devel -BuildRequires: cmake >= 2.8.12 +BuildRequires: cmake >= 3.16 BuildRequires: gettext-devel BuildRequires: kf5-attica-devel >= %{version} BuildRequires: kf5-extra-cmake-modules >= %{version} @@ -87,16 +87,15 @@ Pliki nagłówkowe dla programistów używających %{kfname}. %setup -q -n %{kfname}-%{version} %build -install -d build -cd build -%cmake -G Ninja \ +%cmake -B build \ + -G Ninja \ %{!?with_tests:-DBUILD_TESTING=OFF} \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - ../ -%ninja_build + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + +%ninja_build -C build %if %{with tests} -ctest +%ninja_build -C build test %endif