From 421fb0590ba2aa41a85b02075ed02001b8526475b1828fa74a737ef3e901ba86 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Fri, 15 Dec 2023 22:07:39 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kgraphviewer?expand=0&rev=16 --- kgraphviewer.changes | 5 +++++ kgraphviewer.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/kgraphviewer.changes b/kgraphviewer.changes index e262709..0212899 100644 --- a/kgraphviewer.changes +++ b/kgraphviewer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 15 22:07:35 UTC 2023 - Christophe Marin + +- Require extra-cmake-modules at build time + ------------------------------------------------------------------- Wed Jul 17 20:42:04 UTC 2019 - Christophe Giboudeaux diff --git a/kgraphviewer.spec b/kgraphviewer.spec index afbed24..13d96f1 100644 --- a/kgraphviewer.spec +++ b/kgraphviewer.spec @@ -26,6 +26,7 @@ Group: Development/Tools/Other URL: https://www.kde.org/applications/graphics/kgraphviewer/ Source: https://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: boost-devel +BuildRequires: extra-cmake-modules BuildRequires: graphviz-devel BuildRequires: kcoreaddons-devel BuildRequires: kdoctools-devel @@ -69,17 +70,17 @@ Graphs are commonly used in scientific domains and particularly in computer scie %lang_package %prep -%setup -q +%autosetup -p1 %build - %cmake_kf5 -d build - %make_jobs +%cmake_kf5 -d build +%make_jobs %install - %kf5_makeinstall -C build +%kf5_makeinstall -C build - %find_lang kgraphviewer %{name}.lang - %{kf5_find_htmldocs} +%find_lang kgraphviewer %{name}.lang +%{kf5_find_htmldocs} %post -n libkgraphviewer%{soname} -p /sbin/ldconfig %postun -n libkgraphviewer%{soname} -p /sbin/ldconfig