2014-01-20 10:20:16 +01:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Summary: A common package for the okplugin suite
|
|
|
|
Name: nagios-okplugin-common
|
2014-01-20 10:27:39 +01:00
|
|
|
Version: 1.2
|
2014-01-20 10:20:16 +01:00
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: https://github.com/opinkerfi/nagios-plugins/
|
|
|
|
Source0: https://github.com/opinkerfi/nagios-plugins/archive/%{name}-%{version}-%{release}.tar.gz
|
|
|
|
Requires: nrpe
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Packager: Tomas Edwardsson <tommi@ok.is>
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Common utilities for okplugins
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2014-01-20 11:14:52 +01:00
|
|
|
mkdir -m 0770 -p %{buildroot}%{_sharedstatedir}/nagios-okplugin
|
2014-01-20 10:20:16 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2014-01-20 11:14:52 +01:00
|
|
|
%dir %attr(0770, nrpe, nrpe) %{_sharedstatedir}/nagios-okplugin
|
2014-01-20 10:20:16 +01:00
|
|
|
|
|
|
|
%changelog
|
2014-01-20 10:27:39 +01:00
|
|
|
* Mon Jan 20 2014 Tomas Edwardsson <tommi@tommi.org> 1.2-1
|
|
|
|
-
|
|
|
|
|
2014-01-20 10:20:43 +01:00
|
|
|
* Mon Jan 20 2014 Tomas Edwardsson <tommi@tommi.org> 1.1-1
|
|
|
|
- new package built with tito
|
|
|
|
|
2014-01-20 10:20:16 +01:00
|
|
|
* Mon Jan 20 2014 Tomas Edwardsson <tommi@tommi.org> 1.0-1
|
|
|
|
- Initial build
|