2025-01-25 06:33:30 +00:00
|
|
|
Name: pgmon
|
2025-04-19 04:22:26 +00:00
|
|
|
Version: @@VERSION@@
|
2025-07-06 07:28:16 +00:00
|
|
|
Release: @@RELEASE@@%{?dist}
|
2025-01-25 06:33:30 +00:00
|
|
|
Summary: A bridge to sit between monitoring tools and PostgreSQL
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://www.commandprompt.com
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2025-06-03 23:25:33 +00:00
|
|
|
Requires: logrotate, python, python-psycopg2, PyYAML, python-requests, systemd
|
2025-01-25 06:33:30 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A bridge to sit between monitoring tools and PostgreSQL
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
# Do nothing since we don't need a tarball
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Do nothing since we have nothing to build
|
|
|
|
|
|
|
|
|
|
%install
|
2025-06-03 23:25:33 +00:00
|
|
|
make -C /src install-systemd DESTDIR=%{buildroot}
|
2025-01-25 06:33:30 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
/etc/logrotate.d/pgmon
|
|
|
|
|
/etc/pgmon/pgmon.yml
|
|
|
|
|
/etc/pgmon/pgmon-metrics.yml
|
|
|
|
|
/etc/pgmon/pgmon-service.conf
|
|
|
|
|
/lib/systemd/system/pgmon.service
|
|
|
|
|
/lib/systemd/system/pgmon@.service
|
2025-06-04 05:10:20 +00:00
|
|
|
/usr/bin/pgmon
|
2025-01-25 06:33:30 +00:00
|
|
|
/usr/share/man/man1/pgmon.1.gz
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
mkdir -p -m 0755 /var/log/pgmon
|
|
|
|
|
chown root:root /var/log/pgmon
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 08 2025 James Campbell <james@commandprompt.com> - 1.0-1
|
|
|
|
|
- Initial RPM release.
|