%define sourcename check_ssl_cert %define debug_package %{nil} Name: nagios-plugins-check_ssl_cert Version: 2.31.0 Release: 1.ndias%{?dist} Summary: A Nagios plugin to check X.509 certificates Group: Applications/System License: GPLv3+ URL: https://github.com/matteocorti/check_ssl_cert Source0: https://github.com/matteocorti/check_ssl_cert/archive/v%{version}.tar.bz2#/%{sourcename}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: make Requires: nagios-plugins, expect, perl(Date::Parse), bc %description - checks if the server is running and delivers a valid certificate - checks if the CA matches a given pattern - checks the validity %prep %setup -q -n %{sourcename}-%{version} %build %install %make_install DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/nagios/plugins MANDIR=${RPM_BUILD_ROOT}%{_mandir} %files %doc AUTHORS.md ChangeLog NEWS.md README.md VERSION %license COPYING.md COPYRIGHT.md %{_libdir}/nagios/plugins/%{sourcename} %{_mandir}/man1/%{sourcename}.1.gz %changelog * Mon Jun 13 2022 Nuno Dias - 2.31.0-1.ndias - Version 2.31.0 * Thu May 26 2022 Nuno Dias - 2.29.0-1.ndias - Version 2.29.0 * Wed Mar 6 2019 Nuno Dias - 1.83.0-1.ndias - Version 1.83.0