[packages/ka5-kopeninghours] - updated to 23.08.0; cmake -B build
witekfl
witekfl at pld-linux.org
Thu Aug 24 18:19:33 CEST 2023
commit d9c1436902a2f5bf4943ed3380ee7621a8fa543a
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Aug 24 17:49:54 2023 +0200
- updated to 23.08.0; cmake -B build
ka5-kopeninghours.spec | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/ka5-kopeninghours.spec b/ka5-kopeninghours.spec
index d53ccb0..a3f2f35 100644
--- a/ka5-kopeninghours.spec
+++ b/ka5-kopeninghours.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 kopeninghours
Summary: A library for parsing and evaluating OSM opening hours expressions
Name: ka5-%{kaname}
-Version: 23.04.3
+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: eab47e5d6d2c6e8ce0f144cbd2a4582a
+# Source0-md5: 6621866cad618ed713843174e6f45b28
URL: https://community.kde.org/
BuildRequires: Qt5Core-devel >= 5.15.2
BuildRequires: Qt5Network-devel >= 5.15.2
BuildRequires: Qt5Qml-devel
BuildRequires: bison
BuildRequires: boost-python3-devel
-BuildRequires: cmake
+BuildRequires: cmake >= 3.20
BuildRequires: flex
BuildRequires: gettext-devel
BuildRequires: kf5-extra-cmake-modules >= 5.44
@@ -59,18 +59,16 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
sed -i "s:set(_install_dir lib:set(_install_dir %{_libdir}:g" PyKOpeningHours/CMakeLists.txt
%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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-kopeninghours.git/commitdiff/d9c1436902a2f5bf4943ed3380ee7621a8fa543a
More information about the pld-cvs-commit
mailing list