pgmon/RPM/pgmon.spec

33 lines
657 B
RPMSpec

Name: pgmon
Version: 1.0
Release: 1%{?dist}
Summary: A bridge to sit between monitoring tools and PostgreSQL
License: MIT
URL: https://www.commandprompt.com
Source0: %{name}-%{version}.tar.gz
Requires: python3, python3-psycopg2, systemd
%description
A bridge to sit between monitoring tools and PostgreSQL
%prep
%build
%install
make -C /src install DESTDIR=%{buildroot}
%files
/usr/local/bin/pgmon
/usr/share/man/man1/pgmon.1.gz
/etc/pgmon/pgmon.yml
/etc/pgmon/pgmon-metrics.yml
/lib/systemd/system/pgmon.service
/lib/systemd/system/pgmon@.service
%changelog
* Wed Jan 08 2025 James Campbell <james@commandprompt.com> - 1.0-1
- Initial RPM release.