2015-11-17 08:53:56 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package forkstat
|
|
|
|
|
#
|
2024-05-16 12:06:34 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-11-11 19:58:22 +00:00
|
|
|
# Copyright (c) 2017-2020, Martin Hauke <mardnh@gmx.de>
|
2015-11-17 08:53:56 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2019-09-04 12:46:11 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-11-17 08:53:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: forkstat
|
2024-05-16 12:06:34 +00:00
|
|
|
Version: 0.03.02
|
2015-11-17 08:53:56 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Process fork/exec/exit monitoring tool
|
2018-06-09 16:58:07 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-11-17 08:53:56 +00:00
|
|
|
Group: System/Monitoring
|
2023-01-22 21:15:54 +00:00
|
|
|
URL: https://github.com/ColinIanKing/forkstat
|
|
|
|
|
Source: https://github.com/ColinIanKing/forkstat/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2015-11-17 08:53:56 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Forkstat monitors process fork(), exec() and exit() activity. It is useful for
|
|
|
|
|
monitoring system behaviour and to track down rogue processes that are spawning
|
|
|
|
|
off processes and potentially abusing the system.
|
|
|
|
|
|
2020-02-26 23:08:17 +00:00
|
|
|
%package bash-completion
|
|
|
|
|
Summary: Bash Completion for %{name}
|
|
|
|
|
Group: System/Benchmark
|
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
Requires: bash-completion
|
2023-01-22 21:15:54 +00:00
|
|
|
Supplements: (forkstat and bash-completion)
|
2020-02-26 23:08:17 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
|
Bash completion script for %{name}.
|
|
|
|
|
|
2015-11-17 08:53:56 +00:00
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="%{optflags}"
|
2023-01-22 21:15:54 +00:00
|
|
|
%make_build
|
2015-11-17 08:53:56 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%files
|
2018-06-09 16:58:07 +00:00
|
|
|
%license COPYING
|
2015-11-17 08:53:56 +00:00
|
|
|
%{_bindir}/forkstat
|
2018-06-09 16:58:07 +00:00
|
|
|
%{_mandir}/man8/forkstat.8%{?ext_man}
|
2015-11-17 08:53:56 +00:00
|
|
|
|
2020-02-26 23:08:17 +00:00
|
|
|
%files bash-completion
|
|
|
|
|
%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
|
|
2015-11-17 08:53:56 +00:00
|
|
|
%changelog
|