2012-05-26 14:42:03 +02:00
|
|
|
Summary: network monitoring application
|
2012-05-26 23:12:46 +02:00
|
|
|
Name: icinga2
|
2012-10-16 10:27:29 +02:00
|
|
|
Version: 0.0.1
|
2012-05-26 23:12:46 +02:00
|
|
|
Release: 1%{?dist}
|
2012-05-26 14:42:03 +02:00
|
|
|
License: GPL
|
2012-05-26 23:12:46 +02:00
|
|
|
Group: Applications/System
|
2012-05-27 16:21:50 +02:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2012-05-26 14:42:03 +02:00
|
|
|
URL: http://www.icinga.org/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: gcc-c++
|
2012-05-27 16:21:50 +02:00
|
|
|
BuildRequires: boost
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: boost-test
|
2012-05-26 14:42:03 +02:00
|
|
|
|
|
|
|
%description
|
2012-05-27 16:21:50 +02:00
|
|
|
Icinga is a general-purpose network monitoring application.
|
2012-05-26 14:42:03 +02:00
|
|
|
|
|
|
|
%prep
|
2012-05-27 16:21:50 +02:00
|
|
|
%setup -q -n %{name}-%{version}
|
2012-05-26 14:42:03 +02:00
|
|
|
|
|
|
|
%build
|
2012-05-27 16:21:50 +02:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2012-05-26 14:42:03 +02:00
|
|
|
|
|
|
|
%install
|
2012-05-27 16:21:50 +02:00
|
|
|
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
2012-05-26 14:42:03 +02:00
|
|
|
|
|
|
|
%clean
|
2012-05-27 16:21:50 +02:00
|
|
|
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
2012-05-26 14:42:03 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-09-17 09:48:34 +02:00
|
|
|
%{_bindir}/icinga2
|
2012-05-27 16:21:50 +02:00
|
|
|
%{_datadir}/doc/icinga2
|
|
|
|
%{_libdir}/icinga2
|
2012-09-14 11:32:49 +02:00
|
|
|
%{_sysconfdir}/icinga2
|