|
|
69081f |
Name: rig
|
|
|
69081f |
Summary: Monitor a system for events and trigger specific actions
|
|
|
69081f |
Version: 1.0
|
|
|
69081f |
Release: 3%{?dist}
|
|
|
69081f |
Url: https://github.com/TurboTurtle/rig
|
|
|
69081f |
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
|
|
69081f |
License: GPLv2
|
|
|
69081f |
BuildArch: noarch
|
|
|
69081f |
|
|
|
69081f |
Requires: python3dist(systemd-python)
|
|
|
69081f |
Requires: python3dist(psutil)
|
|
|
69081f |
|
|
|
69081f |
BuildRequires: python3-devel
|
|
|
69081f |
BuildRequires: python3-setuptools
|
|
|
69081f |
BuildRequires: python3dist(systemd-python)
|
|
|
69081f |
BuildRequires: python3dist(psutil)
|
|
|
69081f |
|
|
|
69081f |
%description
|
|
|
69081f |
Rig is a utility designed to watch or monitor specific system resources (e.g.
|
|
|
69081f |
log files, journals, system activity, etc...) and then take specific action
|
|
|
69081f |
when the trigger condition is met. Its primary aim is to assist in
|
|
|
69081f |
troubleshooting and data collection for randomly occurring events.
|
|
|
69081f |
|
|
|
69081f |
%prep
|
|
|
69081f |
%setup -q
|
|
|
69081f |
|
|
|
69081f |
%build
|
|
|
69081f |
%py3_build
|
|
|
69081f |
|
|
|
69081f |
%install
|
|
|
69081f |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
69081f |
install -p -m644 man/en/rig.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
|
|
69081f |
%py3_install
|
|
|
69081f |
|
|
|
69081f |
%files
|
|
|
69081f |
%{_bindir}/rig
|
|
|
69081f |
%{_mandir}/man1/*
|
|
|
69081f |
|
|
|
69081f |
%{python3_sitelib}/rig-*.egg-info/
|
|
|
69081f |
%{python3_sitelib}/rigging/
|
|
|
69081f |
|
|
|
69081f |
%license LICENSE
|
|
|
69081f |
%doc README.md
|
|
|
69081f |
|
|
|
69081f |
%changelog
|
|
|
69081f |
* Mon Oct 04 2021 Jake Hunsaker <jhunsake@redhat.com> - 1.0-3
|
|
|
69081f |
- Rebuilt for RHEL 8.6.0
|
|
|
69081f |
- RHBZ#1888705
|
|
|
69081f |
|
|
|
69081f |
* Tue Jul 28 2020 Jake Hunsaker <jhunsake@redhat.com> - 1.0-1
|
|
|
69081f |
- Version 1.0 release
|