Initial import (#1861440)
This commit is contained in:
parent
243783f636
commit
65904b35d3
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/rig-1.0.tar.gz
|
44
rig.spec
Normal file
44
rig.spec
Normal file
@ -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 <jhunsake@redhat.com> - 1.0-1
|
||||||
|
- Version 1.0 release
|
Loading…
Reference in New Issue
Block a user