generated from EGI-Federation/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnagios-plugins-srm.spec
81 lines (63 loc) · 2.21 KB
/
nagios-plugins-srm.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
# Package needs to stay arch specific (due to nagios plugins location), but
# there's nothing to extract debuginfo from
%global debug_package %{nil}
%define nagios_plugins_dir %{_libdir}/nagios/plugins
Name: nagios-plugins-srm
Version: 0.1.0
Release: 1%{?dist}
Summary: Nagios probes to be run remotely against SRM mendpoints
License: ASL 2.0
Group: Applications/Internet
URL: https://github.com/EGI-Foundation/nagios-plugins-srm
# The source of this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
Source0: %{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: nagios
Requires: python3
Requires: openldap-clients
Requires: python3-gfal2 >= 1.12.0
Requires: python3-nap
Requires: gfal2-plugin-file
Requires: gfal2-plugin-srm
Requires: gfal2-plugin-gridftp
Requires: gfal2-plugin-xrootd
Requires: gfal2-plugin-http
%description
This package provides the nagios probes for SRM.
%prep
%setup -q -n %{name}-%{version}
%build
%install
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_libdir}/nagios/plugins/srm
cp --preserve=timestamps plugins/*.py %{buildroot}%{_libdir}/nagios/plugins/srm
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{nagios_plugins_dir}/srm
%doc LICENSE README.md
%changelog
* Mon Jun 17 2024 Andrea Manzi <[email protected]> - 0.1.0-0
- build for EL9
* Mon Jun 19 2023 Andrea Manzi <[email protected]> - 0.0.7-0
- updated default top BDII adress
* Mon Mar 13 2023 Andrea Manzi <[email protected]> - 0.0.6-0
- py3 only version
- added support for srm+https and srm+root
- use new gfal2 credentials API
* Tue Jul 28 2020 Andrea Manzi <[email protected]> - 0.0.5-0
- skip tests if dependant tests are failing
- WARNING if LsDir tests returns SRM_TOO_MANY_RESULTS
* Tue Jun 30 2020 Andrea Manzi <[email protected]> - 0.0.4-0
- set credentials via API
* Tue Jun 09 2020 Andrea Manzi <[email protected]> - 0.0.3-0
- add gfal2-plugin-gsiftp dependency
- add option to specify proxy path
* Fri May 22 2020 Andrea Manzi <[email protected]> - 0.0.2-0
- update spec
- add shebang
* Thu Apr 23 2020 Andrea Manzi <[email protected]> - 0.0.1-0
- first version