From 1e2387474a449452b78520b9ad96a8b4b5e99722 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Wed, 17 Apr 2019 19:07:19 +0200 Subject: initial commit of source fetch --- .../check_rbl/check_rbl-1.4.4/check_rbl.spec | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 nagios-plugins-contrib-24.20190301~bpo9+1/check_rbl/check_rbl-1.4.4/check_rbl.spec (limited to 'nagios-plugins-contrib-24.20190301~bpo9+1/check_rbl/check_rbl-1.4.4/check_rbl.spec') diff --git a/nagios-plugins-contrib-24.20190301~bpo9+1/check_rbl/check_rbl-1.4.4/check_rbl.spec b/nagios-plugins-contrib-24.20190301~bpo9+1/check_rbl/check_rbl-1.4.4/check_rbl.spec new file mode 100644 index 0000000..281b79d --- /dev/null +++ b/nagios-plugins-contrib-24.20190301~bpo9+1/check_rbl/check_rbl-1.4.4/check_rbl.spec @@ -0,0 +1,116 @@ +%define version 1.4.4 +%define release 0 +%define sourcename check_rbl +%define packagename nagios-plugins-check-rbl +%define nagiospluginsdir %{_libdir}/nagios/plugins + +# No binaries in this package +%define debug_package %{nil} + +Summary: check_rbl is a Nagios plugin to check if an SMTP server is blacklisted +Name: %{packagename} +Obsoletes: check_rbl +Version: %{version} +Release: %{release}%{?dist} +License: GPLv3+ +Packager: Matteo Corti +Group: Applications/System +BuildRoot: %{_tmppath}/%{packagename}-%{version}-%{release}-root-%(%{__id_u} -n) +URL: https://github.com/matteocorti/check_rbl +Source: https://github.com/matteocorti/check_rbl/releases/download/v%{version}/check_rbl-%{version}.tar.gz + +# Fedora build requirement (not needed for EPEL{4,5}) +BuildRequires: perl(ExtUtils::MakeMaker) + +Requires: nagios-plugins + +%description +check_rbl is a Nagios plugin to check if an SMTP server is blacklisted + +%prep +%setup -q -n %{sourcename}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor \ + INSTALLSCRIPT=%{nagiospluginsdir} \ + INSTALLVENDORSCRIPT=%{nagiospluginsdir} +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name "*.pod" -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} %{buildroot}/* + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS Changes NEWS README TODO COPYING COPYRIGHT +%{nagiospluginsdir}/%{sourcename} +%{_mandir}/man1/%{sourcename}.1* + +%changelog +* Thu Feb 28 2019 Matteo Corti - 1.4.4-0 +- Update to 1.4.4 + +* Tue May 30 2018 Matteo Corti - 1.4.3-0 +- Update to 1.4.3 + +* Sun May 27 2018 Matteo Corti - 1.4.2-0 +- Update to 1.4.2 + +* Mon Jul 17 2017 Matteo Corti - 1.4.1-0 +- Update to 1.4.1 + +* Tue Apr 18 2017 Matteo Corti - 1.4.0-0 +- Update to 1.4.0 + +* Wed Dec 30 2015 Matteo Corti - 1.3.8-0 +- Update to 1.3.8 + +* Sun Feb 1 2015 Matteo Corti - 1.3.7-0 +- Update to 1.3.7 (using Monitoring::Plugins) + +* Fri Dec 5 2014 Matteo Corti - 1.3.6-0 +- Updated to 1.3.6 (removed dependency on Data::Dumper) + +* Sat Sep 20 2014 Matteo Corti - 1.3.5-0 +- Updated to 1.3.5 + +* Fri Sep 19 2014 Matteo Corti - 1.3.4-0 +- Updated to 1.3.4 + +* Sat Aug 9 2014 Matteo Corti - 1.3.3-0 +- updated to 1.3.3 + +* Thu Jan 30 2014 Matteo Corti - 1.3.2-0 +- Dependencies and documentation update + +* Mon Jul 11 2011 Matteo Corti - 1.3.0-0 +- Updated to 1.3.0 (whitelistings support) + +* Tue Mar 22 2011 Matteo Corti - 1.2.2-0 +- Updated to 1.2.2 (bug fix) and renamed the package + +* Mon Jul 5 2010 Matteo Corti - 1.2.1-0 +- Updated to 1.2.1 (bug fix) + +* Thu Apr 8 2010 Matteo Corti - 1.2.0-0 +- Updated to 1.2.0 and imprved the SPEC file + +* Tue Oct 27 2009 Matteo Corti - 1.1.0-0 +- Updated to 1.1.0 (parallel checks) + +* Thu Jan 22 2009 Matteo Corti - 1.0.2-0 +- --retry command line argument + +* Tue Jan 6 2009 Matteo Corti - 1.0.1-0 +- Execution time in the performance data + +* Mon Dec 29 2008 Matteo Corti - 1.0.0-0 +- Initial release + -- cgit v1.2.3