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