From c35f76dcc6f3d5b4a44a7bce285629e987d46581 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 9 May 2023 05:20:57 +0000 Subject: [PATCH] import kernelshark-1.2-10.el9 --- SPECS/kernelshark.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/SPECS/kernelshark.spec b/SPECS/kernelshark.spec index d7719ca..1ed7b6b 100644 --- a/SPECS/kernelshark.spec +++ b/SPECS/kernelshark.spec @@ -1,6 +1,6 @@ Name: kernelshark Version: 1.2 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 # As of 1.1, only kernelshark.cpp, kshark-record.cpp and examples are GPL-2.0. The rest of kernel-shark is LGPL-2.1. @@ -29,6 +29,7 @@ BuildRequires: libtracecmd BuildRequires: libtracecmd-devel BuildRequires: xmlto BuildRequires: make +BuildRequires: asciidoc Requires: polkit @@ -49,10 +50,10 @@ view of its data. MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl` CFLAGS="%{optflags} -D_GNU_SOURCE" LDFLAGS="%{build_ldflags} -z muldefs" BUILD_TYPE=Release \ make -p V=9999999999 MANPAGE_DOCBOOK_XSL=$MANPAGE_DOCBOOK_XSL \ - prefix=%{_prefix} libdir=%{_libdir} gui + prefix=%{_prefix} libdir=%{_libdir} gui doc_gui %install -make libdir=%{_libdir} prefix=%{_prefix} V=1 DESTDIR=%{buildroot}/ CFLAGS="%{optflags} -D_GNU_SOURCE" LDFLAGS="%{build_ldflags} -z muldefs " BUILD_TYPE=Release install_gui +make libdir=%{_libdir} prefix=%{_prefix} V=1 DESTDIR=%{buildroot}/ CFLAGS="%{optflags} -D_GNU_SOURCE" LDFLAGS="%{build_ldflags} -z muldefs " BUILD_TYPE=Release install_gui install_doc_gui find %{buildroot}%{_datadir} -type f | xargs chmod u-x,g-x,o-x find %{buildroot}%{_libdir} -type f -iname "*.so" | xargs chmod 0755 sed -i '/Version/d' %{buildroot}/%{_datadir}/applications/kernelshark.desktop @@ -74,8 +75,14 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat %{_datadir}/icons/kernelshark/* %{_datadir}/polkit-1/actions/org.freedesktop.kshark-record.policy %{_metainfodir}/%{name}.appdata.xml +%docdir %{_datadir}/%{name}/html +%{_datadir}/%{name}/html/* +%{_mandir}/man1/* %changelog +* Mon Dec 12 2022 Jerome Marchand - 1:1.2-10 +- Add html documentation and man page + * Mon Nov 22 2021 Jerome Marchand - 1:1.2-9 - Rebuild with latest json-c