Name: pgbak Version: 0.0.1 Release: %autorelease Summary: A robust WAL archiver for PostgreSQL License: LGPL-3.0-or-later URL: https://git.venev.name/hristo/pgbak/about/ Source0: pgbak-%{version}.tar.xz BuildRequires: make BuildRequires: gcc %description pgbak is a robust WAL archiver for PostgreSQL. It automates compression as well as the creation of full snapshots. %prep %autosetup %build %make_build %install install -Dm755 -t "$RPM_BUILD_ROOT"%{_bindir} pgbak install -Dm755 etc/systemd-pgbak.conf "$RPM_BUILD_ROOT"%{_unitdir}/postgresql.service.d/10-pgbak.conf %files %{_bindir}/pgbak %{_unitdir}/postgresql.service.d/10-pgbak.conf %license LICENSE LICENSE.GPL3 %doc README.md