]>
Commit | Line | Data |
---|---|---|
061f9822 TO |
1 | Summary: Plugins for Nagios |
2 | Summary(pl): Wtyczki dla Nagiosa | |
3 | Name: nagios-plugins | |
813d0817 | 4 | Version: 1.3.1 |
061f9822 TO |
5 | Release: 0.9 |
6 | License: GPL v2 | |
7 | Group: Networking | |
8 | Source0: http://dl.sourceforge.net/nagiosplug/%{name}-%{version}.tar.gz | |
813d0817 | 9 | # Source0-md5: 0078c9c8137694181a4cdf596fdbd74f |
061f9822 | 10 | URL: http://nagiosplug.sourceforge.net/ |
cb162c98 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
061f9822 TO |
13 | BuildRequires: mysql-devel |
14 | BuildRequires: net-snmp-devel | |
15 | BuildRequires: openldap-devel | |
16 | BuildRequires: openssl-devel | |
17 | BuildRequires: postgresql-devel | |
18 | Requires: nagios | |
19 | Obsoletes: netsaint-plugins | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
cb162c98 | 23 | Plugins for Nagios. |
061f9822 TO |
24 | |
25 | %description -l pl | |
cb162c98 | 26 | Wtyczki dla Nagiosa. |
061f9822 TO |
27 | |
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | rm -f missing | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__autoheader} | |
36 | %{__automake} | |
37 | %configure \ | |
38 | --libexecdir=%{_libdir}/nagios/plugins | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
cb162c98 JB |
44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
061f9822 TO |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS ChangeLog FAQ NEWS README REQUIREMENTS SUPPORT | |
53 | %attr(755,root,root) %{_libdir}/nagios/plugins/* |