Compare commits
2 Commits
imports/c9
...
c9-beta
Author | SHA1 | Date | |
---|---|---|---|
|
ecfe9ec7a6 | ||
|
7c379f09bd |
@ -1,6 +1,6 @@
|
||||
Name: kernelshark
|
||||
Version: 1.2
|
||||
Release: 8%{?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,17 @@ 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 <jmarchan@redhat.com> - 1:1.2-10
|
||||
- Add html documentation and man page
|
||||
|
||||
* Mon Nov 22 2021 Jerome Marchand <jmarchan@redhat.com> - 1:1.2-9
|
||||
- Rebuild with latest json-c
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user