mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 02:13:44 +01:00
Added nagios-okplugin-common
This commit is contained in:
parent
3606e03170
commit
b375ae66ee
41
nagios-okplugin-common/nagios-okplugin-common.spec
Normal file
41
nagios-okplugin-common/nagios-okplugin-common.spec
Normal file
@ -0,0 +1,41 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Summary: A common package for the okplugin suite
|
||||
Name: nagios-okplugin-common
|
||||
Version: 1.0
|
||||
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}
|
||||
mkdir -m 0770 -p %{buildroot}%{_sharedstatedir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/nagios/plugins/*
|
||||
%dir %attr(0770, nrpe, nrpe) %{_sharedstatedir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Jan 20 2014 Tomas Edwardsson <tommi@tommi.org> 1.0-1
|
||||
- Initial build
|
Loading…
Reference in New Issue
Block a user