]> git.pld-linux.org Git - packages/nagios-alert-jabber.git/blame - nagios-alert-jabber.spec
Ver 1.3; convert to python3 and pyxmpp2 (more polishing would be nice)
[packages/nagios-alert-jabber.git] / nagios-alert-jabber.spec
CommitLineData
3144b7ee 1Summary: Program to send (Nagios) alerts via jabber
d22ed022 2Summary(pl.UTF-8): Program do wysyłania alarmów (Nagiosa) przez jabbera
3144b7ee 3Name: nagios-alert-jabber
f15f5dd3
AM
4Version: 1.3
5Release: 1
3144b7ee
ER
6License: GPL
7Group: Networking
8Source0: nagios-jabber.alert
ccf64c97 9Requires: cyrus-sasl-plain
4024051d 10Requires: nagios-common
f15f5dd3 11Requires: python3-pyxmpp2
3144b7ee
ER
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
4cc3adb3
ER
14%define _sysconfdir /etc/nagios
15
3144b7ee
ER
16%description
17nagios-jabber.alert is a program to send Nagios (or other)
18notifications over jabber protocol.
19
a3b35eb5
JR
20%description -l pl.UTF-8
21nagios-jabber.alert to program do wysyłania powiadomień Nagiosa (lub
be4c64b3
JB
22innych) po protokole jabber.
23
3144b7ee
ER
24%prep
25%setup -q -c -T
26install %{SOURCE0} .
4cc3adb3
ER
27cat <<'EOF' > jabber-notify.ini
28; jabber id and password for jabber-notify script
29[jabber_id@example.org]
30jid = jid@example.org
31password = PASSWORD
32EOF
3144b7ee
ER
33
34%install
35rm -rf $RPM_BUILD_ROOT
4cc3adb3
ER
36install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
37install nagios-jabber.alert $RPM_BUILD_ROOT%{_sbindir}/nagios-notify-jabber
38cp -a jabber-notify.ini $RPM_BUILD_ROOT%{_sysconfdir}
3144b7ee
ER
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
4024051d 45%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber-notify.ini
4cc3adb3 46%attr(755,root,root) %{_sbindir}/nagios-notify-jabber
This page took 0.076644 seconds and 5 git commands to generate.