forked from pgstef/check_pgbackrest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck_pgbackrest.spec
42 lines (35 loc) · 1.21 KB
/
check_pgbackrest.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%global _tag REL1_9
Name: nagios-plugins-pgbackrest
Version: 1.9
Release: 1
Summary: pgBackRest backup check plugin for Nagios
License: PostgreSQL
Group: Applications/Databases
Url: https://github.com/dalibo/check_pgbackrest
Source0: https://github.com/dalibo/check_pgbackrest/archive/%{_tag}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: nagios-plugins
Requires: perl-JSON
Requires: perl-Net-SFTP-Foreign
Requires: perl-Data-Dumper
Provides: check_pgbackrest = %{version}
%description
check_pgbackrest is designed to monitor pgBackRest backups from Nagios.
%prep
%setup -n check_pgbackrest-%{_tag}
%install
install -D -p -m 0755 check_pgbackrest %{buildroot}/%{_libdir}/nagios/plugins/check_pgbackrest
%files
%defattr(-,root,root,0755)
%{_libdir}/nagios/plugins/check_pgbackrest
%doc README LICENSE
%changelog
* Mon Mar 16 2020 Stefan Fercot <[email protected]> 1.8-1
- new major release 1.8
* Tue Jan 14 2020 Stefan Fercot <[email protected]> 1.7-1
- new major release 1.7
* Thu Nov 14 2019 Stefan Fercot <[email protected]> 1.6-1
- new major release 1.6
* Mon Mar 18 2019 Stefan Fercot <[email protected]> 1.5-1
- new major release 1.5