X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=kf5-knotifyconfig.spec;h=cc5236441afcf210df698944aa38866bdfb774cc;hb=master;hp=bdbd8bfa2d6fa2434ac2daee088fca55ed585548;hpb=aa4845178ebdfa51d71fc3e7219dbb51bdcd47e6;p=packages%2Fkf5-knotifyconfig.git diff --git a/kf5-knotifyconfig.spec b/kf5-knotifyconfig.spec index bdbd8bf..6b55d1c 100644 --- a/kf5-knotifyconfig.spec +++ b/kf5-knotifyconfig.spec @@ -1,18 +1,18 @@ # # Conditional build: %bcond_with tests # build with tests -%define kdeframever 5.95 +%define kdeframever 5.116 %define qtver 5.15.2 %define kfname knotifyconfig Summary: Configuration dialog for desktop notifications Name: kf5-%{kfname} -Version: 5.95.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: cb813401d0ad3fe96d03db3a2883859d +# Source0-md5: 26c95d81eb03af1ccabc84a3eadd99f1 URL: http://www.kde.org/ BuildRequires: Qt5Core-devel >= %{qtver} BuildRequires: Qt5DBus-devel >= %{qtver} @@ -66,16 +66,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