-
Notifications
You must be signed in to change notification settings - Fork 6
/
nagios-plugins-eudat-b2access.spec
69 lines (58 loc) · 2.64 KB
/
nagios-plugins-eudat-b2access.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
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
%global python3_pkgversion 3.10
Name: nagios-plugins-eudat-b2access
Version: 1.0
Release: 1%{?dist}
Summary: Nagios B2ACCESS probes
License: Apache License, Version 2.0
Packager: Shiraz Memon <[email protected]>
URL: https://github.com/EUDAT-B2ACCESS/b2access-probe
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRequires: python%{python3_pkgversion}
BuildRequires: python%{python3_pkgversion}-oauthlib
BuildRequires: python%{python3_pkgversion}-requests-oauthlib
BuildRequires: python%{python3_pkgversion}-urllib3
BuildRequires: python%{python3_pkgversion}-validators
BuildRequires: python%{python3_pkgversion}-requests
%description
Nagios probes to check functionality of B2ACCESS Service
%prep
%setup -q
%define _unpackaged_files_terminate_build 0
%define probe_namespace eudat-b2access
%install
install -d %{buildroot}/%{_libexecdir}/argo-monitoring/probes/%{probe_namespace}
install -m 755 check_b2access.py %{buildroot}/%{_libexecdir}/argo-monitoring/probes/%{probe_namespace}/check_b2access.py
%files
%dir /%{_libexecdir}/argo-monitoring
%dir /%{_libexecdir}/argo-monitoring/probes/
%dir /%{_libexecdir}/argo-monitoring/probes/%{probe_namespace}
%attr(0755,root,root) /%{_libexecdir}/argo-monitoring/probes/%{probe_namespace}/check_b2access.py
%changelog
* Mon Jul 14 2024 Marvin Winkens <[email protected]> - 1.0-1
- Updated to python 3
* Tue Jun 05 2018 Shiraz Memon <[email protected]> - 0.4-1
- Adapted to Unity v2.x.x REST API
- More details in verbose mode
- Updated the documentation
* Wed Nov 23 2016 Shiraz Memon <[email protected]> - 0.3-1
- Updated namespace and license information
* Thu Sep 15 2016 Shiraz Memon <[email protected]> - 0.2-1
- Updated namespace and license information
* Thu Jul 28 2016 Shiraz Memon <[email protected]> - 0.1-1
- Initial version of the package