diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1de8264 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rig-1.0.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/rig.spec b/rig.spec new file mode 100644 index 0000000..09ff8a1 --- /dev/null +++ b/rig.spec @@ -0,0 +1,51 @@ +Name: rig +Summary: Monitor a system for events and trigger specific actions +Version: 1.0 +Release: 3%{?dist} +Url: https://github.com/TurboTurtle/rig +Source0: %{url}/archive/%{name}-%{version}.tar.gz +License: GPLv2 +BuildArch: noarch + +Requires: python3dist(systemd-python) +Requires: python3dist(psutil) + +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 +* Mon Oct 04 2021 Jake Hunsaker - 1.0-3 +- Rebuilt for RHEL 8.6.0 +- RHBZ#1888705 + +* 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..02fbdd8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rig-1.0.tar.gz) = f67c063779bdc603bc702cf103e91e01557c3f45ea7e7b59776b5a6a6fb60b18f2df728caeeb2979991c9e080a83e6e3e92f0778feefec2d44ac54047a237256