From e4055979ad57c519f7a528d9eca2ed4263992a64 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 17 Nov 2020 11:16:04 -0800 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/rig#65904b35d3c161096a8230759f18f66a2f2897ab --- .gitignore | 1 + README.md | 3 +++ rig.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 49 insertions(+) create mode 100644 README.md create mode 100644 rig.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1de8264 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/rig-1.0.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..4b9aa37 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# rig + +The rig package diff --git a/rig.spec b/rig.spec new file mode 100644 index 0000000..973a84a --- /dev/null +++ b/rig.spec @@ -0,0 +1,44 @@ +Name: rig +Summary: Monitor a system for events and trigger specific actions +Version: 1.0 +Release: 1%{?dist} +Url: https://github.com/TurboTurtle/rig +Source0: %{url}/archive/%{name}-%{version}.tar.gz +License: GPLv2 +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3dist(systemd-python) +BuildRequires: python3dist(psutil) + +%description +Rig is a utility designed to watch or monitor specific system resources (e.g. +log files, journals, system activity, etc...) and then take specific action +when the trigger condition is met. Its primary aim is to assist in +troubleshooting and data collection for randomly occurring events. + +%prep +%setup -q + +%build +%py3_build + +%install +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 +install -p -m644 man/en/rig.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/ +%py3_install + +%files +%{_bindir}/rig +%{_mandir}/man1/* + +%{python3_sitelib}/rig-*.egg-info/ +%{python3_sitelib}/rigging/ + +%license LICENSE +%doc README.md + +%changelog +* Tue Jul 28 2020 Jake Hunsaker - 1.0-1 +- Version 1.0 release diff --git a/sources b/sources new file mode 100644 index 0000000..c1adb62 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rig-1.0.tar.gz) = 563849688ca07cf88ecf3e1bd500c55997cf80bb553e166a65f5f961fcc39cf42b7188ee5640983225da56604b301c86f52fa4c69ae1c69e57d5ebab0e02aa69