# SPEC file overview: # https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/#con_rpm-spec-file-overview # Fedora packaging guidelines: # https://docs.fedoraproject.org/en-US/packaging-guidelines/ Name: nagios-plugins-check_avail_mem Version: 0.4 Release: 1.ndias%{?dist} Summary: Nagios plugin to check avalable memory of a Linux Machine License: GPLv3 URL: https://github.com/ndias/nagios-plugins Source0: https://github.com/ndias/nagios-plugins/archive/refs/heads/nagios-plugins.tar.gz BuildArch: noarch Requires: procps-ng %description Nagios plugin to check avalable memory of a Linux Machine %prep %setup -q -n nagios-plugins-main %build %install install -p -m 755 -D check_avail_mem.sh %{buildroot}%{_libdir}/nagios/plugins/check_avail_mem.sh %files %doc README.md %license LICENSE %{_libdir}/nagios/plugins/check_avail_mem.sh %changelog * Tue Jul 09 2022 Nuno Dias - 0.4-1.ndias - Version 0.4