-
Notifications
You must be signed in to change notification settings - Fork 9
/
drbd-reactor.spec
216 lines (153 loc) · 6.88 KB
/
drbd-reactor.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
%define debug_package %{nil}
Name: drbd-reactor
Version: 1.7.0
Release: 1
Summary: React to DRBD events via plugins.
%global tarball_version %(echo "%{version}" | sed -e 's/~rc/-rc/' -e 's/~alpha/-alpha/')
Group: System Environment/Daemons
License: ASL 2.0
URL: https://www.github.com/LINBIT/drbd-reactor
Source0: https://pkg.linbit.com/downloads/drbd/utils/%{name}-%{tarball_version}.tar.gz
BuildRequires: systemd
# While most pkgs I looked at have bash-completion as BuildRequires, I don't think we need it
# looks like it would only help for cmake or pkgconfig projects.
# BuildRequires: bash-completion
Requires: drbd-utils >= 9.29.0
%description
Daemon monitoring the state of DRBD resources, and executing plugins
acting on state changes.
Plugins can for example monitor resources or promote DRBD resources.
%prep
%setup -q -n %{name}-%{tarball_version}
%build
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
install -D -m644 %{_builddir}/%{name}-%{tarball_version}/example/ctl.completion.bash %{buildroot}/%{_datadir}/bash-completion/completions/drbd-reactorctl
%files
# %{_unitdir}/drbd-reactor.service
/lib/systemd/system/drbd-reactor.service
/lib/systemd/system/ocf.rs@.service
/usr/sbin/drbd-reactor
/usr/sbin/drbd-reactorctl
/usr/libexec/drbd-reactor/ocf-rs-wrapper
%{_datadir}/bash-completion/completions/drbd-reactorctl
%{_mandir}/man1/drbd-reactor.1*
%{_mandir}/man1/drbd-reactorctl.1*
%{_mandir}/man5/drbd-reactor.toml.5*
%{_mandir}/man5/drbd-reactor.umh.5*
%{_mandir}/man5/drbd-reactor.promoter.5*
%{_mandir}/man5/drbd-reactor.agentx.5*
%{_mandir}/man5/drbd-reactor.debugger.5*
%{_mandir}/man5/drbd-reactor.prometheus.5*
%config(noreplace) /etc/drbd-reactor.toml
/etc/drbd-reactor.d
%doc README.md
%doc example/drbd-reactor-reload.path
%doc example/drbd-reactor-reload.service
%doc example/drbd-reactor.toml
%doc example/on-no-quorum-io-error.sh
%doc example/LINBIT-DRBD-MIB.mib
%changelog
* Thu Dec 19 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.7.0-1
- New upstream release
* Fri Nov 22 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.6.0-1
- New upstream release
* Fri Nov 15 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.6.0~rc.1-1
- New upstream release
* Wed Oct 02 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.5.0-1
- New upstream release
* Thu Sep 19 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.5.0~rc.1-1
- New upstream release
* Wed May 22 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.4.2-1
- New upstream release
* Mon May 06 2024 Roland Kammerer <roland.kammerer@linbit.com> - 1.4.1-1
- New upstream release
* Thu Nov 16 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.4.0-1
- New upstream release
* Wed Nov 08 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.4.0~rc.1-1
- New upstream release
* Mon Oct 09 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.3.0-1
- New upstream release
* Mon Sep 25 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.3.0~rc.1-1
- New upstream release
* Mon May 08 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.2.0-1
- New upstream release
* Tue Apr 25 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.2.0~rc.1-1
- New upstream release
* Wed Mar 22 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.1.0-1
- New upstream release
* Thu Mar 16 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.1.0~rc.1-1
- New upstream release
* Tue Jan 17 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.0.0-1
- New upstream release
* Thu Jan 05 2023 Roland Kammerer <roland.kammerer@linbit.com> - 1.0.0~rc.2-1
- New upstream release
* Fri Dec 30 2022 Roland Kammerer <roland.kammerer@linbit.com> - 1.0.0~rc.1-1
- New upstream release
* Mon Dec 12 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.10.2-1
- New upstream release
* Wed Nov 23 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.10.1-1
- New upstream release
* Mon Nov 21 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.10.0-1
- New upstream release
* Wed Nov 09 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.10.0~rc.1-1
- New upstream release
* Mon Oct 03 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.9.0-1
- New upstream release
* Mon Sep 26 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.9.0~rc.3-1
- New upstream release
* Fri Sep 09 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.9.0~rc.2-1
- New upstream release
* Wed Sep 07 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.9.0~rc.1-1
- New upstream release
* Tue Jun 28 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.8.0-1
- New upstream release
* Fri Jun 10 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.8.0~rc.1-1
- New upstream release
* Thu May 19 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.7.0-1
- New upstream release
* Thu May 12 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.7.0~rc.1-1
- New upstream release
* Thu Apr 28 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.6.1-1
- New upstream release
* Mon Apr 04 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.6.0-1
- New upstream release
* Mon Jan 31 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.5.3-1
- New upstream release
* Mon Jan 17 2022 Roland Kammerer <roland.kammerer@linbit.com> - 0.5.2-1
- New upstream release
* Tue Nov 30 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.5.1-1
- New upstream release
* Fri Nov 19 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.5.0-1
- New upstream release
* Wed Nov 10 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.5.0~rc.1-1
- New upstream release
* Tue Aug 10 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.4-1
- New upstream release
* Mon Aug 02 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.3-1
- New upstream release
* Tue Jul 27 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.2-1
- New upstream release
* Wed Jul 21 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.1-1
- New upstream release
* Fri Jun 18 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.0-1
- New upstream release
* Fri Jun 11 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.0~rc.2-1
- New upstream release
* Tue Jun 01 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.4.0~rc.1-1
- New upstream release
* Mon Apr 26 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.3.0-1
- New upstream release
* Tue Apr 20 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.3.0~rc.1-1
- New upstream release
* Tue Mar 23 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.2.0-1
- New upstream release
* Tue Mar 16 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.2.0~rc.1-1
- New upstream release
* Fri Feb 26 2021 Roland Kammerer <roland.kammerer@libit.com> - 0.1.0-1
- New upstream release
* Sat Feb 20 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.1.0~rc.2-1
- New upstream release
* Wed Feb 17 2021 Roland Kammerer <roland.kammerer@linbit.com> - 0.1.0~rc.1-1
- New upstream release