]> git.pld-linux.org Git - packages/kf5-kidletime.git/blobdiff - kf5-kidletime.spec
- updated to 5.116.0
[packages/kf5-kidletime.git] / kf5-kidletime.spec
index ea97e528ac462bd4c76e0b2c7cb311638f63011a..2becfa671444625e183dd869c0dbda1326992213 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeframever     5.99
+%define                kdeframever     5.116
 %define                qtver           5.15.2
 %define                kfname          kidletime
 
 Summary:       Reporting of idle time of user and system
 Name:          kf5-%{kfname}
-Version:       5.99.0
+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: 46a7681f2cbf7ec308be1681480eed16
+# Source0-md5: af68d70ddd874cce72360e0b50b8011c
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -20,7 +20,7 @@ BuildRequires:        Qt5Gui-devel >= %{qtver}
 BuildRequires: Qt5Test-devel >= %{qtver}
 BuildRequires: Qt5Widgets-devel >= %{qtver}
 BuildRequires: Qt5X11Extras-devel >= %{qtver}
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16
 BuildRequires: kf5-extra-cmake-modules >= %{version}
 BuildRequires: kf5-kwayland-devel >= %{version}
 BuildRequires: ninja
@@ -56,16 +56,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
 
 
This page took 0.080676 seconds and 4 git commands to generate.