1
################################################################################
2
# File version information:
3
# $Id: check_rbl.spec 1264 2011-07-11 05:45:43Z corti $
5
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_rbl/check_rbl.spec $
6
# $Date: 2011-07-11 07:45:43 +0200 (Mon, 11 Jul 2011) $
7
################################################################################
11
%define sourcename check_rbl
12
%define packagename nagios-plugins-check-rbl
13
%define nagiospluginsdir %{_libdir}/nagios/plugins
15
# No binaries in this package
16
%define debug_package %{nil}
18
Summary: check_rbl is a Nagios plugin to check if an SMTP server is blacklisted
22
Release: %{release}%{?dist}
24
Packager: Matteo Corti <matteo.corti@id.ethz.ch>
25
Group: Applications/System
26
BuildRoot: %{_tmppath}/%{packagename}-%{version}-%{release}-root-%(%{__id_u} -n)
27
URL: https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_rbl
28
Source: http://www.id.ethz.ch/people/allid_list/corti/%{sourcename}-%{version}.tar.gz
30
# Fedora build requirement (not needed for EPEL{4,5})
31
BuildRequires: perl(ExtUtils::MakeMaker)
33
Requires: nagios-plugins
36
check_rbl is a Nagios plugin to check if an SMTP server is blacklisted
39
%setup -q -n %{sourcename}-%{version}
42
%{__perl} Makefile.PL INSTALLDIRS=vendor \
43
INSTALLSCRIPT=%{nagiospluginsdir} \
44
INSTALLVENDORSCRIPT=%{nagiospluginsdir}
49
make pure_install PERL_INSTALL_ROOT=%{buildroot}
50
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
51
find %{buildroot} -type f -name "*.pod" -exec rm -f {} \;
52
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
53
%{_fixperms} %{buildroot}/*
59
%defattr(-,root,root,-)
60
%doc AUTHORS Changes NEWS README TODO COPYING COPYRIGHT
61
%{nagiospluginsdir}/%{sourcename}
62
%{_mandir}/man1/%{sourcename}.1*
65
* Mon Jul 11 2011 Matteo Corti <matteo.corti@id.ethz.ch> - 1.3.0-0
66
- Updated to 1.3.0 (whitelistings support)
68
* Tue Mar 22 2011 Matteo Corti <matteo.corti@id.ethz.ch> - 1.2.2-0
69
- Updated to 1.2.2 (bug fix) and renamed the package
71
* Mon Jul 5 2010 Matteo Corti <matteo.corti@id.ethz.ch> - 1.2.1-0
72
- Updated to 1.2.1 (bug fix)
74
* Thu Apr 8 2010 Matteo Corti <matteo.corti@id.ethz.ch> - 1.2.0-0
75
- Updated to 1.2.0 and imprved the SPEC file
77
* Tue Oct 27 2009 Matteo Corti <matteo.corti@id.ethz.ch> - 1.1.0-0
78
- Updated to 1.1.0 (parallel checks)
80
* Thu Jan 22 2009 Matteo Corti <matteo.corti@id.ethz.ch> - 1.0.2-0
81
- --retry command line argument
83
* Tue Jan 6 2009 Matteo Corti <matteo.corti@id.ethz.ch> - 1.0.1-0
84
- Execution time in the performance data
86
* Mon Dec 29 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 1.0.0-0