diff options
author | Hristo Venev <hristo@venev.name> | 2024-04-14 17:38:19 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2024-04-14 17:54:56 +0300 |
commit | f6bf84ac789c430ef71123c35a91d70d8162e9b9 (patch) | |
tree | e6f5076174f8889b951798e8d76fb6d0bfec40a5 /dist/fedora | |
parent | f3d0c748b2c259a1f19669cff67600f1a2beb256 (diff) |
Diffstat (limited to 'dist/fedora')
-rw-r--r-- | dist/fedora/pgbak.spec | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dist/fedora/pgbak.spec b/dist/fedora/pgbak.spec new file mode 100644 index 0000000..823e9a9 --- /dev/null +++ b/dist/fedora/pgbak.spec @@ -0,0 +1,33 @@ +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 |