Debian Codegraph @

check_email_delivery/src/nagios-plugins-check_email_delivery.spec

raw
1 Summary: A Nagios plugin to check IMAP delivery times
2 #Name: check_email_delivery
3 Name: nagios-plugins-check_email_delivery
4 Version: 0.7.1a
5 Release: 0.2%{?dist}
6 License: GPLv2
7 Group: Applications/System
8 URL: http://buhacoff.net/software/check_email_delivery/
9 Source0: http://buhacoff.net/software/check_email_delivery/archive/check_email_delivery-%{version}.tar.gz
10 #http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1339&cf_id=30
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13 # For handling --help options
14 Requires: /usr/bin/nroff
15
16 %description
17 The Nagios email delivery plugin uses two other plugins
18 (smtp send and imap receive), also included, to send a message
19 to an email account and then check that account for the message
20 and delete it. The plugin times how long it takes for the
21 message to be delivered and the warning and critical thresholds
22 are for this elapsed time.
23
24 %prep
25 #%setup -q
26 %setup -n check_email_delivery-%{version}
27
28 # Avoid filenames with unnecessary punction in them
29 %{__mv} "./docs/check_smtp_send (Greek's conflicted copy 2011-08-24).pod" \
30 ./docs/check_smtp_send-Greeks-conflicted-copy-2011-08-24.pod
31 %{__mv} "docs/How to connect to IMAP server manually.txt" \
32 docs/How-to-connect-to-IMAP-server-manually.txt
33
34 %build
35 # No build required, just drop in place
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %{__install} -d -m0755 %{buildroot}%{_libdir}/nagios/plugins
40
41 # No instlalation procedure, install manually
42 %{__install} -m0755 -m0755 check_* %{buildroot}%{_libdir}/nagios/plugins
43 %{__install} -m0755 -m0755 imap_* %{buildroot}%{_libdir}/nagios/plugins
44
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49
50 %files
51 %defattr(-, root, root, 0755)
52 %{_libdir}/nagios/plugins/check_*
53 %{_libdir}/nagios/plugins/imap_*
54 %doc CHANGES.txt LICENSE.txt README.txt
55 %doc docs/*
56
57 %changelog
58 * Sun Feb 5 2012 Nico Kadel-Garcia <[email protected]> - 0.68-0.1
59 - Update to 0.7.1a
60 - Add nroff dependency for --help options
61
62 * Thu Nov 3 2011 Nico Kadel-Garcia <[email protected]> - 0.68-0.1
63 - Initial build.