]> git.pld-linux.org Git - packages/kp5-khotkeys.git/blobdiff - kp5-khotkeys.spec
- relup
[packages/kp5-khotkeys.git] / kp5-khotkeys.spec
index d7e2ec38736af4b509309713f5806d6551666797..dbba9aa44e20b59c6e5352bce22477becbbf4d25 100644 (file)
@@ -1,22 +1,22 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeplasmaver    5.25.0
-%define                qtver           5.9.0
+%define                kdeplasmaver    5.27.11
+%define                qtver           5.15.2
 %define                kpname          khotkeys
 
 Summary:       Hot keys handling
 Name:          kp5-%{kpname}
-Version:       5.25.0
-Release:       1
+Version:       5.27.11
+Release:       2
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 0bce864f59ba7d8f39b69a8ca612830a
+# Source0-md5: ad85753665a670ee7c58b373c8cf8bdc
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: kf5-kdelibs4support-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16.0
 BuildRequires: kf5-kcmutils-devel
 BuildRequires: kf5-kdbusaddons-devel
 BuildRequires: kf5-kdelibs4support-devel
@@ -52,14 +52,12 @@ Pliki nagłówkowe dla programistów używających %{kpname}.
 %setup -q -n %{kpname}-%{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 \
-       -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       ../
-%ninja_build
+       -DHTML_INSTALL_DIR=%{_kdedocdir}
+%ninja_build -C build
 
 %if %{with tests}
 ctest
This page took 0.951701 seconds and 4 git commands to generate.