Skip to content

Commit

Permalink
Add spec file to b2share
Browse files Browse the repository at this point in the history
  • Loading branch information
themiszamani committed Nov 27, 2018
1 parent 0caae13 commit 4b4ffe7
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions nagios-plugins-eudat-b2share.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Name: nagios-plugins-eudat-b2share
Version: 0.5
Release: 1%{?dist}
Summary: Nagios probe for B2SHARE
License: GPLv3+
Packager: Themis Zamani <[email protected]>

Source: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}
AutoReqProv: no

%description
Nagios probe to check functionality of B2SHARE service

%prep
%setup -q

%define _unpackaged_files_terminate_build 0

%install

install -d %{buildroot}/%{_libexecdir}/argo-monitoring/probes/eudat-b2share
install -d %{buildroot}/%{_sysconfdir}/nagios/plugins/eudat-b2share
install -m 755 check_b2share.py %{buildroot}/%{_libexecdir}/argo-monitoring/probes/eudat-b2share/check_b2share.py

%files
%dir /%{_libexecdir}/argo-monitoring
%dir /%{_libexecdir}/argo-monitoring/probes/
%dir /%{_libexecdir}/argo-monitoring/probes/eudat-b2share

%attr(0755,root,root) /%{_libexecdir}/argo-monitoring/probes//eudat-b2share/check_b2share.py

%changelog
* Tue Nov 27 2018 Themis Zamani <[email protected]> - 0.1-1
- Initial version of the package.
* Tue Nov 27 2018 Harri Hirvonsalo <[email protected]> - 0.1-1
- Initial version of the package.

0 comments on commit 4b4ffe7

Please sign in to comment.