]> git.pld-linux.org Git - packages/ka5-kdepim-addons.git/blobdiff - ka5-kdepim-addons.spec
- updated to 23.08.0; cmake -B build
[packages/ka5-kdepim-addons.git] / ka5-kdepim-addons.spec
index bb19bae0a25760e9513f02f6f28f4df4c3dcc62a..4607e8bf8a942ad7d247ec790c6d19949d99c2a8 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
-%define                kdeappsver      23.04.3
+%define                kdeappsver      23.08.0
 %define                kframever       5.94.0
 %define                qtver           5.15.2
 %define                kaname          kdepim-addons
 Summary:       kdepim addons
 Name:          ka5-%{kaname}
-Version:       23.04.3
-Release:       2
+Version:       23.08.0
+Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 53e4dec992d1d498fedf25c6f9581ed3
+# Source0-md5: a5a9308c29cb84e5c20cf187b50dfe56
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel
@@ -25,7 +25,7 @@ BuildRequires:        Qt5Test-devel
 BuildRequires: Qt5WebChannel-devel >= 5.11.1
 BuildRequires: Qt5WebEngine-devel
 BuildRequires: Qt5Widgets-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
 BuildRequires: gettext-devel
 BuildRequires: gpgme-qt5-devel >= 1.8.0
 BuildRequires: ka5-akonadi-calendar-devel >= %{kdeappsver}
@@ -85,18 +85,16 @@ functionality.
 %setup -q -n %{kaname}-%{version}
 
 %build
-install -d build
-cd build
 %cmake \
+       -B build \
        -G Ninja \
        %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       ..
-%ninja_build
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+ctest --test-dir build
 %endif
 
 
This page took 0.142999 seconds and 4 git commands to generate.