]> git.pld-linux.org Git - packages/kf5-baloo.git/blobdiff - kf5-baloo.spec
- updated to 5.116.0
[packages/kf5-baloo.git] / kf5-baloo.spec
index 9b1c2a67582c40d273b7a0f02fd410012fcf7bf3..bac4d944a6348f7afad81413daf46cb3b7e42746 100644 (file)
@@ -5,17 +5,17 @@
 # TODO:
 # - runtime Requires if any
 
-%define                kdeframever     5.91
-%define                qtver           5.9.0
+%define                kdeframever     5.116
+%define                qtver           5.15.2
 %define                kfname          baloo
 Summary:       A  file indexing and file search framework
 Name:          kf5-%{kfname}
-Version:       5.91.0
+Version:       5.116.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 07e81669af7cec4d3ed04fa237aef72c
+# Source0-md5: 41fd11dfe5af84d2bbd214e4e04d41e9
 Patch0:                kf5-baloo-absolute-path.patch
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
@@ -26,7 +26,7 @@ BuildRequires:        Qt5Test-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
 BuildRequires: Qt5Widgets-devel >= %{qtver}
 %endif
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.16
 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
 BuildRequires: kf5-kfilemetadata-devel >= %{version}
 BuildRequires: kf5-kidletime-devel >= %{version}
@@ -65,14 +65,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 \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ..
-%ninja_build
-
-%{?with_tests:%ninja_build test}
+%cmake -B build \
+       -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
+
+%{?with_tests:%ninja_build -C build test}
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.608653 seconds and 4 git commands to generate.