[packages/ka5-mailimporter] - updated to 23.08.0; cmake -B build
witekfl
witekfl at pld-linux.org
Thu Aug 24 18:16:45 CEST 2023
commit 75404e7d9505330176d7b925c5bbe103d8a83326
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Aug 24 17:46:51 2023 +0200
- updated to 23.08.0; cmake -B build
ka5-mailimporter.spec | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/ka5-mailimporter.spec b/ka5-mailimporter.spec
index 9e36790..5e2d786 100644
--- a/ka5-mailimporter.spec
+++ b/ka5-mailimporter.spec
@@ -1,25 +1,25 @@
#
# 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 mailimporter
Summary: mailimporter
Name: ka5-%{kaname}
-Version: 23.04.3
+Version: 23.08.0
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Applications
Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: e7c76a8bb4fc271991b34c3d5e9367bf
+# Source0-md5: 67f3873235edd3a747dd55ae6f0de13e
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= 5.11.1
BuildRequires: Qt5Test-devel
BuildRequires: Qt5Widgets-devel
BuildRequires: Qt5Xml-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
BuildRequires: gettext-devel
BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
BuildRequires: ka5-akonadi-mime-devel >= %{kdeappsver}
@@ -61,17 +61,15 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
%setup -q -n %{kaname}-%{version}
%build
-install -d build
-cd build
-%cmake -G Ninja \
+%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
@@ -105,8 +103,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/qt5/mkspecs/modules/qt_MailImporterAkonadi.pri
%{_includedir}/KPim5/MailImporter
%{_includedir}/KPim5/MailImporterAkonadi
-%{_libdir}/cmake/KF5MailImporter
-%{_libdir}/cmake/KF5MailImporterAkonadi
%{_libdir}/cmake/KPim5MailImporter
%{_libdir}/cmake/KPim5MailImporterAkonadi
%{_libdir}/libKPim5MailImporter.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-mailimporter.git/commitdiff/75404e7d9505330176d7b925c5bbe103d8a83326
More information about the pld-cvs-commit
mailing list