Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-jabber
> nagios-plugins-jabber.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-jabber.spec of Package nagios-plugins-jabber (Revision 2)
Currently displaying revision
2
,
show latest
# # spec file for package nagios-plugins-jabber (Version 1.1) # # # norootforbuild Name: nagios-plugins-jabber Summary: Check ability to login to jabber server Version: 1.1 Release: 1 Url: http://nagiosexchange.altinity.org/nagiosexchange/check_jabber_login/ License: BSD 4-Clause Group: System/Monitoring Source0: check_jabber_login.pl Source1: jabber_watcher Source2: notify_via_jabber_or_sms Source10: README.check_jabber_login.pl Source11: README.jabber_watcher BuildArch: noarch Requires: perl-Net-Jabber perl-Net-XMPP BuildRoot: %{_tmppath}/%{name}-%{version}-build %define libexecdir %_prefix/lib/nagios/plugins %description Check ability to login to jabber server. %prep %setup -T -c -n %{name} cp %{S:10} $RPM_BUILD_DIR/%{name}/ cp %{S:11} $RPM_BUILD_DIR/%{name}/ %build %install install -D -m755 %{SOURCE0} %buildroot/%libexecdir/check_jabber_login install -D -m755 %{SOURCE1} %buildroot/%{_bindir}/jabber_watcher install -D -m755 %{SOURCE2} %buildroot/%{_bindir}/notify_via_jabber_or_sms %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README* # avoid build dependecy of nagios - own the dirs %dir %_prefix/lib/nagios %dir %libexecdir %libexecdir/check_jabber_login %{_bindir}/jabber_watcher %{_bindir}/notify_via_jabber_or_sms %changelog * Wed Mar 18 2009 Carsten Schoene <cs@linux-administrator.com> - add jabber_watcher & notify script (jabber or sms) * Sun Mar 15 2009 Carsten Schoene <cs@linux-administrator.com> - initial release