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