# 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_soco_temp Version: 0.1 Release: 1.ndias%{?dist} Summary: Check the upsmgBatteryTemperature of SOCOMEC UPS using snmp 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 %description Check the upsmgBatteryTemperature of SOCOMEC UPS using snmp %prep %setup -q -n nagios-plugins-main %build %install install -p -m 755 -D check_soco_temp.sh %{buildroot}/%{_libdir}/nagios/plugins/check_soco_temp.sh %files %doc README.md %license LICENSE %{_libdir}/nagios/plugins/check_soco_temp.sh %changelog * Mon Jun 20 2022 Nuno Dias - 0.1-1.ndias - Version 0.1