forked from EUDAT-B2ACCESS/b2access-probe
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathargo-probe-eudat-b2access.spec
75 lines (63 loc) · 2.75 KB
/
argo-probe-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
70
71
72
73
74
75
# 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.
Name: argo-probe-eudat-b2access
Version: 0.4
Release: 2%{?dist}
Summary: Monitoring metrics for B2ACCESS
License: Apache License, Version 2.0
Packager: Shiraz Memon <[email protected]>
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}
Requires: python
Requires: python-argparse
Requires: python-lxml
Requires: python-simplejson
Requires: python-defusedxml
Requires: python-httplib2
Requires: python-requests
Requires: python2-requests-oauthlib
Requires: python2-validators
%description
Monitoring metrics 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/probes/%{probe_namespace}
install -m 755 check_b2access.py %{buildroot}/%{_libexecdir}/argo/probes/%{probe_namespace}/check_b2access.py
install -m 755 check_b2access_simple.py %{buildroot}/%{_libexecdir}/argo/probes/%{probe_namespace}/check_b2access_simple.py
%files
%dir /%{_libexecdir}/argo
%dir /%{_libexecdir}/argo/probes/
%dir /%{_libexecdir}/argo/probes/%{probe_namespace}
%attr(0755,root,root) /%{_libexecdir}/argo/probes/%{probe_namespace}/check_b2access.py
%attr(0755,root,root) /%{_libexecdir}/argo/probes/%{probe_namespace}/check_b2access_simple.py
%changelog
* Tue Mar 15 2022 Themis Zamani <[email protected]> - 0.4-2
- Update the spec file requirements
* Mon Jan 24 2022 Themis Zamani <[email protected]> - 0.4-2
- Update the spec file requirements
* 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