Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
check_ssl_cert
> check_ssl_cert.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_ssl_cert.spec of Package check_ssl_cert
%define version 2.60.0 %define release 1 %define pkgname check_ssl_cert %define _nagdir %{_prefix}/lib/nagios %define _plugindir %{_nagdir}/plugins Summary: A Nagios plugin to check X.509 certificates Name: nagios-plugins-%{pkgname} Version: %{version} Release: %{release} License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-root Source: http://www.id.ethz.ch/people/allid_list/corti/%{pkgname}-%{version}.tar.bz2 BuildArch: noarch Provides: nagios-plugins-%{pkgname} = %{version} Provides: %{pkgname} = %{version} Obsoletes: %{pkgname} < %{version} Requires: perl openssl %description Checks an X.509 certificate: - 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 %{pkgname}-%{version} %build %install %__make DESTDIR=$RPM_BUILD_ROOT%{_plugindir} MANDIR=$RPM_BUILD_ROOT%{_mandir} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS* ChangeLog NEWS* README.md INSTALL* COPYING* VERSION %dir %{_nagdir} %dir %{_plugindir} %attr(0755, root, root) %{_plugindir}/check_ssl_cert %{_mandir}/man1/check_ssl_cert.1* %changelog