-
Notifications
You must be signed in to change notification settings - Fork 55
/
resource-agents-paf.spec
106 lines (78 loc) · 3.23 KB
/
resource-agents-paf.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
%global _tag 2.3.0
%global _ocfroot %{_exec_prefix}/lib/ocf
Name: resource-agents-paf
Version: 2.3.0
Release: 1
Summary: PostgreSQL resource agent for Pacemaker
License: PostgreSQL
Group: Applications/Databases
Url: http://clusterlabs.github.io/PAF/
Source0: https://github.com/ClusterLabs/PAF/archive/v%{_tag}.tar.gz
BuildArch: noarch
BuildRequires: resource-agents perl perl-Module-Build
Requires: perl, resource-agents, pacemaker >= 1.1.13, corosync >= 2.0.0
%description
PostgreSQL resource agent for Pacemaker
# do not build -debuginfo package
%define debug_package %{nil}
%prep
%setup -q -n PAF-%{_tag}
%build
perl Build.PL --install_path bindoc=%{_mandir}/man1 --install_path libdoc=%{_mandir}/man3
perl Build
%install
./Build install --destdir "%{buildroot}"
find "%{buildroot}" -type f -name .packlist -delete
%files
%defattr(-,root,root,0755)
%doc README.md
%doc CHANGELOG.md
%license LICENSE
%{_mandir}/man3/*.3*
%{_mandir}/man7/*.7*
%attr(755, -, -) %{_ocfroot}/resource.d/heartbeat/pgsqlms
%attr(644, -, -) %{_ocfroot}/lib/heartbeat/OCF_ReturnCodes.pm
%attr(644, -, -) %{_ocfroot}/lib/heartbeat/OCF_Directories.pm
%attr(644, -, -) %{_ocfroot}/lib/heartbeat/OCF_Functions.pm
%{_datadir}/resource-agents/ocft/configs/pgsqlms
%changelog
* Mon Mar 09 2020 Jehan-Guillaume de Rorthais <[email protected]> - 2.3.0-1
- 2.3.0 major release
* Tue Feb 11 2020 Jehan-Guillaume de Rorthais <[email protected]> - 2.3~rc2-1
- 2.3_rc2 release candidate
* Thu Nov 28 2019 Jehan-Guillaume de Rorthais <[email protected]> - 2.3~rc1-1
- 2.3_rc1 release candidate
* Thu Jan 31 2019 Jehan-Guillaume de Rorthais <[email protected]> - 2.2.1-1
- 2.2.1 minor release
* Tue Jan 22 2019 Jehan-Guillaume de Rorthais <[email protected]> - 2.2.1rc1-1
- 2.2.1_rc1 release candidate
* Tue Sep 12 2017 Jehan-Guillaume de Rorthais <[email protected]> - 2.2.0-1
- 2.2.0 major release
* Tue Aug 29 2017 Jehan-Guillaume de Rorthais <[email protected]> - 2.2rc1-1
- 2.2_rc1 release candidate
* Mon Jun 26 2017 Jehan-Guillaume de Rorthais <[email protected]> - 2.2beta1-2
- add dependencies on Pacemaker and Corosync versions
* Mon Jun 26 2017 Jehan-Guillaume de Rorthais <[email protected]> - 2.2beta1-1
- 2.2_beta1 beta release
* Fri Dec 23 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.1.0-1
- 2.1.0 major release
* Sat Dec 17 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.1rc2-1
- 2.1_rc2 release candidate
* Sun Dec 11 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.1rc1-1
- 2.1_rc1 release candidate
* Sun Dec 04 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.1beta1-1
- 2.1_beta1 beta release
* Fri Sep 16 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.0.0-1
- 2.0.0 major release
* Wed Aug 03 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.0rc1-1
- 2.0_rc1 first release candidate
* Fri Jul 1 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.0beta2-1
- 2.0_beta2 beta release
* Wed Jun 15 2016 Jehan-Guillaume de Rorthais <[email protected]> - 2.0beta1-1
- 2.0_beta1 beta release
* Wed Apr 27 2016 Jehan-Guillaume de Rorthais <[email protected]> - 1.0.1-1
- 1.0.1 minor release
* Wed Mar 02 2016 Jehan-Guillaume de Rorthais <[email protected]> 1.0.0-1
- Official 1.0.0 release
* Tue Mar 01 2016 Jehan-Guillaume de Rorthais <[email protected]> 0.99.0-1
- Initial version