-
Notifications
You must be signed in to change notification settings - Fork 1
/
nagios-plugins-wlcg-org.lhcb.spec
71 lines (57 loc) · 1.63 KB
/
nagios-plugins-wlcg-org.lhcb.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
%define site org.lhcb
%define dir %{_libexecdir}/grid-monitoring/probes/%{site}
%define dir2 /usr/lib/ncgx/x_plugins
%define debug_package %{nil}
Summary: WLCG Compliant Probes from %{site}
Name: nagios-plugins-wlcg-org.lhcb
Version: 0.3.7
Release: 1%{?dist}
License: ASL 2.0
Group: Network/Monitoring
Source0: %{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
#Requires:
AutoReqProv: no
BuildArch: noarch
BuildRequires: python >= 2.4
%description
IT/SAM nagios probes specific for the LHCb VO
%prep
%setup -q
%build
%install
export DONT_STRIP=1
%{__rm} -rf %{buildroot}
install --directory %{buildroot}%{dir}
install --directory %{buildroot}%{dir2}
%{__cp} -rpf .%dir/wnjob %{buildroot}%{dir}
%{__cp} -rpf .%dir/SRM-probe %{buildroot}%{dir}
%{__cp} -rpf .%dir/LFC-probe %{buildroot}%{dir}
%{__cp} -rpf .%dir/srmvometrics.py %{buildroot}%{dir}
%{__cp} -rpf .%dir2/lhcb_vofeed.py %{buildroot}%{dir2}
%{__cp} -rpf .%dir2/lhcb_webdav.py %{buildroot}%{dir2}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{dir}/wnjob
%{dir}/SRM-probe
%{dir}/LFC-probe
%{dir}/srmvometrics.py
%{dir}/srmvometrics.pyc
%{dir}/srmvometrics.pyo
%{dir2}/lhcb_vofeed.py
%{dir2}/lhcb_vofeed.pyc
%{dir2}/lhcb_vofeed.pyo
%{dir2}/lhcb_webdav.py
%{dir2}/lhcb_webdav.pyc
%{dir2}/lhcb_webdav.pyo
%changelog
* Thu Sep 22 2016 Marian Babik <[email protected]> - 0.3.7-1
- Added support for HTCondor-CE
- Added support for hostgroups/notifications
* Tue May 9 2016 Marian Babik <[email protected]> - 0.3.6-3
- New MJF probe
- Added ETF configuration
* Mon Jul 6 2009 C. Triantafyllidis <[email protected]> - 0.1.0-1
- Initial build