1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-10 04:23:44 +01:00
nagios-plugins/check_ipa/nagios-okplugin-ipa.spec

61 lines
1.7 KiB
RPMSpec
Raw Normal View History

2013-04-25 02:53:58 +02:00
%define debug_package %{nil}
%define plugin ipa
Summary: A Nagios plugin to check IPA server status
Name: nagios-okplugin-%{plugin}
Version: 0.0.4
2013-04-25 02:53:58 +02:00
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://github.com/opinkerfi/misc/tree/master/nagios-plugins/check_%{plugin}
Source0: https://github.com/opinkerfi/misc/tree/master/nagios-plugins/check_%{plugin}/releases/%{name}-%{version}.tar.gz
Requires: python-ldap
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Packager: Tomas Edwardsson <tommi@ok.is>
BuildArch: noarch
Requires: nrpe
%description
Checks IPA server status
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
install -D -p -m 0755 check_ipa_replication %{buildroot}%{_libdir}/nagios/plugins/check_ipa_replication
mkdir -p %{buildroot}%{_sysconfdir}/nrpe.d
sed "s^/usr/lib64^%{_libdir}^g" nrpe.d/check_ipa.cfg > %{buildroot}%{_sysconfdir}/nrpe.d/check_ipa.cfg
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README
2013-10-27 23:57:43 +01:00
%doc grant_anonymous_replication_view.ldif
2013-04-25 02:53:58 +02:00
%{_libdir}/nagios/plugins/*
%config(noreplace) %{_sysconfdir}/nrpe.d/check_ipa.cfg
%changelog
* Fri Apr 04 2014 Tomas Edwardsson <tommi@tommi.org> 0.0.4-1
- Renamed to markdown (tommi@tommi.org)
- Added examples and documentation (tommi@tommi.org)
- Missing colon (tommi@tommi.org)
- Added missing OK when things worked out (tommi@tommi.org)
* Thu Apr 25 2013 Tomas Edwardsson <tommi@tommi.org> 0.0.3-1
- Preliminary testing done, released
- Various errors in syntax fixed (tommi@tommi.org)
- Detection for no configured replicas (tommi@tommi.org)
* Thu Apr 25 2013 Tomas Edwardsson <tommi@tommi.org> 0.0.2-1
- Tagged new release
2013-04-25 02:53:58 +02:00
* Wed Apr 25 2013 Tomas Edwardss <tommi@opensource.is> 0.0.1-1
- Initial Packaging