Christophe Marin 2023-12-15 22:07:39 +00:00 committed by Git OBS Bridge
parent a84747a898
commit 421fb0590b
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 15 22:07:35 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Require extra-cmake-modules at build time
-------------------------------------------------------------------
Wed Jul 17 20:42:04 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -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